different layouts on one page

Discuss everything related to ApPHP TreeMenu. Any questions related to the ApPHP TreeMenu developing or using should be posted to this forum.

Moderators: alexandrleonenko, Milton

raton007
Newbie
Newbie
Posts: 1
Joined: May 20th, '11, 22:14

different layouts on one page

Postby raton007 » May 21st, '11, 07:57

Hello
I was able to manage more then one tree on a page by using the SetId($number); statement.
But it is ignoring the layout parameter (default, xp etc)
So is it true that I can use only one layout per page???

.....loop start
$treeMenu = new TreeMenu();
$treeMenu->SetId($number);
..... Statement for the layout
..... the tree ul li /li /ul
$treeMenu->ShowTree();
.... loop end

Kind regards Tommy

Milton
Senior
Senior
Posts: 31
Joined: Jan 14th, '10, 14:17

Re: different layouts on one page

Postby Milton » May 21st, '11, 14:59

Yes, unfortunately, it's true because CSS files for different styles contradict each other. We'll try to fix that in the future versions.

Stefan6874
Newbie
Newbie
Posts: 1
Joined: Nov 23rd, '13, 08:14

Re: different layouts on one page

Postby Stefan6874 » Nov 23rd, '13, 08:18

Thanks for update.


Return to “ApPHP TreeMenu”