CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 dynamic and static menus - target page problem PHP

Print topic Send  topic

Author Message
Tomasz Golebiowski
Posted: 03/04/2002, 11:22 AM

On 'index' page I have static menu which links to, i.e. 3 different pages
(different look - different html template). Let's call them for example: 1:
'Company info', 2: 'News' and 3: 'Offer'.
Each of this pages have tree menu with input parameter, which I transfer from
'index' page menu. So after click, Tree menu on each page opens with proper
subcategory already opened (i.e.: Home > Company info). Pages 1 and 2 are the
last level pages (there're no deeper subcategories), so I defined in tree menu
properties 'index' page as a 'tree page'. Now link 'Home' leads to 'index' page,
and this is what I need.
Problem appears on 'Offer' page, which has some 2nd level subcategories taken
from db table. Menu looks like:

Home > Offer
Subcategory 1
Subcategory 2
Subcategory 3

and after click on sub:

Home > Offer > Subcategory 1

If I define 'tree page' as 'index' page, then 'Home' links to 'index' (that's
OK), but 'Offer' also links to 'index' (that's damn far away from OK). I would
like 'Offer' to link to the current page. Is it possible?
Maybe it would be easier to modify tree menu manually replacing link to 'Home'
with '<a href' (which won't be changed - 'home' always links to 'index' page),
and then change default tree page to 'Offer'?

Maybe there's another way to get dynamic menus (db driven) in CC?

I'll be grateful for help..

(PHP)



   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.