I want to have different teasers for different categories.
For example let's say I have 2 categories - type and colour. A subject (article) has always keywords from both these categories. What I want is to display it's teaser differently depending whether it is shown in type category listing or colour category listing. I do not mean here different colour or something like that but I want to hide some parts of teasers completely and to display the shown parts in different order.
I am using category and cck modules so both type and colour categories are also nodes and different content types. All content types have their own templates - i.e. node-content_colour.tpl.php, node-content_type.tpl.php and node-content_article.tpl.php.
First I tried to use a global variable which is set in the colour and and type templates ($_SESSION['xxx']="yyy") and checked in the article template teaser section (if ($_SESSION['tyyp'] == "yyy") etc). Then I tried to set the variable in the page template (using $node->type as variable content) but both solutions have the same problem. It seems that node teasers are loaded before the variable is changed in the category template. So the teasers are always loaded using the variable value set by the previous category.
Is there a solution to overcome this problem or any other way to achieve my goal?
I can of course hide
Hello
My problem is a bit hard, I appreciate any help or idea.
Well, I have a CSS menu with tabs, this menu work great with one exception. To dispalay this CSS menu I put the menu html code in /themes/mytheme/page.tpl.php.
Each tab has a name : "Home", "About", "News", etc... and one tab called "Process" is selected. If someone select a tab, the tab redirect the user to specific page.
FYI, if anybody is interested in a 12 month BrowserCam Premium account, I have an action at Fundable that needs 24 more folks at $40/pop. Quick plug: BrowserCam is an awesome, albeit expensive, tool for viewing your web designs in multiple browser/platform configurations. The Premium account also allows you a 60 minute VNC session into the platform of your choice to actually use the browser.
I've been looking in the /theme-selection on this site. Several themes report that they are 'fixed-width'. However, i think a website should be flexible in the width. I found some, but maybe you know another one ... please report it here, tnx :-)