68 Classifieds Forums

68 Classifieds Forums (http://www.68classifieds.com/forums/)
-   Modules / Plugins / Modifications (http://www.68classifieds.com/forums/modules-plugins-modifications/)
-   -   V4.1.x Javascript tree menu (http://www.68classifieds.com/forums/modules-plugins-modifications/8285-javascript-tree-menu.html)

magicosta 08-18-2009 05:59 AM

Javascript tree menu
 
Hello everybody,

I would like to use the plugin "function.categories_js.php" to set up a jascript tree menu for my categories in the left side of my pages.

So I followed the instructions writen in the head of the plugin and I pasted the following code in layout.tpl but nothing happen!!

<link rel="StyleSheet" href="javascript/dtree/dtree.css" type="text/css" />
<script type="text/javascript" src="javascript/dtree/dtree.js"></script>
<script type="text/javascript">
<!--
{literal}
d = new dTree('d');
d.add(0,-1,'My example tree');
{/literal}

{categories_js}
{foreach from=$jscat item=entry}
{$entry.name}
{/foreach}
{literal}
document.write(d);
{/literal}
//-->
</script>


Anybody knows how I should do to make that plugin working?

Thank you for your help.

(def.template v4.1.5 developper)

damiun 08-18-2009 08:25 AM

Hi,

I dont have any experience with the mod but make sure:
- you've activated the mod
- the link to the files are correct (try to copy paste it beneath the original and use direct url (test them first)
- and you are using the tpl file of the template yu have set as your default. :))

Dominick
Do you maybe have a link, it can be helpful.

magicosta 08-18-2009 09:13 AM

Thank you for trying to help,

The plugin is not a module and so you don't have to activate it.

I am developping now in internal with xampp so i haen't any link to provide sorry.

I still looking for my solution

Thanks again

Eric Barnes 08-18-2009 12:01 PM

That plugin is kind of old now so I am not 100% sure it will run as is. However to check please download the dtree script files from here: Destroydrop � Javascripts � Tree then run it again.

magicosta 08-18-2009 04:57 PM

Thank you Eric.

I was trying to make this plugin working but...I am not successfull!

I went to the link you provided and downloaded the dtree.zip.

I put dtree.css, dtree.js and the images file call img in one main file called dtree and I have copyed that one in javascript directory.

The categories are displayed but nothing else and the links are not working.

Any idea?


All times are GMT -4. The time now is 07:21 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22