Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Hi all,
I am trying to increase the width of main content area and decrease the width of blocks on one page.
Is that possible?
I can design the blocks for that page, which can fit in with smaller width. But I am not able to figure out a way to change the layout itself for that one page.
I can see how to tweak function theme_menu_local_tasks() to control how the primary (view, edit, outline) tabs appear when you are viewing a particular node. I'd like to push an edit and outline link into the title of each node, so that a pager page might come out looking like:
Title of Some Node(e, o)
Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text. Read More ...
Title of Some Other Node(e, o)
Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text. Read More ...
Title of Another Node(e, o)
Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text.Teaser text teaser text teaser text. Read More ...
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.