limit list
Posted: 31 May 2010, 12:00
hey there,
first of all, i'm using the latest version of component and this tree module. and it is working fine.
today i customized this tree module, to only show the category with id=1 and all categories with parent_id=1.
for this i modified the sql statement by adding this line:
in mod_phocagallery_tree.php
after uploading and refreshing the site, the moduleposition was empty.
the javascript looks like generated well:
the sql-query is working fine, i tested in phpmyadmin as well.
i don't use the dtree js in any other module etc.
i hope someone can help me.
i tried to turn off joomla's search friendlie urls, but it doesn't changed anything.
thx, mike
first of all, i'm using the latest version of component and this tree module. and it is working fine.
today i customized this tree module, to only show the category with id=1 and all categories with parent_id=1.
for this i modified the sql statement by adding this line:
Code: Select all
' AND cc.id = 1 OR cc.parent_id = 1'
after uploading and refreshing the site, the moduleposition was empty.
the javascript looks like generated well:
Code: Select all
<script type="text/javascript">
<!--
dtree_4c0386cd7f8ed = new dTree2548('dtree_4c0386cd7f8ed', '/modules/mod_phocagallery_tree/assets/');
dtree_4c0386cd7f8ed.add(1,0,'images','/index.php/de/galerie/category/1-images');
dtree_4c0386cd7f8ed.add(2,1,'avatars','/index.php/de/galerie/category/2-avatars');
document.write(dtree_4c0386cd7f8ed);
dtree_4c0386cd7f8ed.openTo(1,'true');
//-->
</script>
i don't use the dtree js in any other module etc.
i hope someone can help me.
i tried to turn off joomla's search friendlie urls, but it doesn't changed anything.
thx, mike