This topic is locked
[SOLVED]

 Modifying Tree-Menu in "creation" template?

6/11/2011 2:03:55 PM
PHPRunner General questions
M
mickna author

Hi there,
I read some postings about tree menu. The top entry is also underlined and "click able" like a link. However, the menu does not expand (only with the little "+" sign). A normal user will think he can collapse/expand the menu clicking on this top entry.
I think Ann pointed out in a previous thread, that it is not possible to change this.
If I look at the generated PHP code of the site there are these lines for the menu:



<ul>

<li id="li1" view="topitem" >

<span>

<img alt="*" src="include/img/plus.gif" class="pmimg" border=0>

</span>

<a id="itemlink1" title="TOPLEVEL" class='tablelinkssearch' >DODO</a>

<ul id="ul1">

<li id="li2" parent="ul1" >

<img alt="*" src='include/img/arrow_search.gif' border=0>

<a id="itemlink2" title="Collections" href="xxx_list.php" class='tablelinkssearch' >xxx</a>

</li>

<li id="li3" parent="ul1" >

<img alt="*" src='include/img/arrow_search.gif' border=0>

<a id="itemlink3" title="Console Games" href="yyy_list.php" class='tablelinkssearch' >yyy</a>

[...]

</ul>


If we were able to change:



<span>

<img alt="*" src="include/img/plus.gif" class="pmimg" border=0>

</span>

<a id="itemlink1" title="TOPLEVEL" class='tablelinkssearch' >DODO</a>


into:



<span>

<img alt="*" src="include/img/plus.gif" class="pmimg" border=0>

<a id="itemlink1" title="TOPLEVEL" class='tablelinkssearch' >DODO</a>

</span>


The menu will also collapse/expand by clicking at TOPLEVEL
Unfortunately I can not figure out, where this structure is generated to include <a id"item.....> inside the <span></span> tag.

Does anybody know, where the file is (which generates the html for the menu) and which lines are generating this structure?
Thanks,

mickna