![]() |
controlling static page appearance
Hello,
Is it possible to have static pages appear in the help menu and one of the other menus? Thanks, tbm |
Re: controlling static page appearance
Quote:
You can use the solution snippet for the division into blocs. block 1 (all static page with value 'order by' <=100) PHP Code:
block 2 (all static page with value 'order by' >100) PHP Code:
|
Re: controlling static page appearance
Hi Yurij,
That makes sense, and is exactly what I'm after. Which PHP code do I apply it too though? Thanks, Mark. |
Re: controlling static page appearance
You do not need to change "PHP" code. Just add these blocks to the template and add the static pages (for "orderby" <100 and "orderby"> 100) |
Re: controlling static page appearance
Hi Yuri,
I added this code to the pages_menu.tpl, see bellow: Code:
{* $Id: pages_menu.tpl,v 1.5 2005/11/17 06:55:36 max Exp $ *} does that look right? it doesn't seem to be working. do i not need to refer to the menu modules that i need the static pages to appear in? |
Re: controlling static page appearance
Quote:
Ok... try added next code to the "help.tpl" (used it just for examples): PHP Code:
PS. And add a some pages with the "order by" more than 100. PS2. If there are more questions, ask me ;) |
Re: controlling static page appearance
Ok, that worked! it created 2 new menu blocks and put the correct menu items in each!
now, if i want to add certain static pages to the manufacturers menu and other static pages to the help can i do this using the same idea? for example, if i wanted to add the < 100 static menu items to the help menu, could i do this: PHP Code:
|
Re: controlling static page appearance
Quote:
Yes, you can (Use composite conditions), example for "120 >= orderby > 100": PHP Code:
|
Re: controlling static page appearance
that worked! thanks yurij!
now, can i apply the same principle to the product or manufacturer menus? having a look at their relevant .tpl files, it's not as obvious where to put the code. |
Re: controlling static page appearance
Quote:
You can split into as many blocks - how much you need. Left manufacturer menu block - "skin1\modules\Manufacturers\menu_manufacturers.tp l ". |
All times are GMT -8. The time now is 02:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.