drupal-theming
Drupal 7 theming: region error
this is in my theme.info file of my Drupal theme: regions[conf_modules] = Configurator: modules I\'m using multiple templates for different node types. In one of them I\'d like this region/block to[详细]
2023-03-04 22:22 分类:问答Programmatic Views in Drupal 7
I\'m trying to create two views. View-1 is a list of nodes. View-2 is an image gallery associated with each node.[详细]
2023-02-25 14:58 分类:问答How to pass arguments between views in Drupal-7
I consistently find myself up against the following use case, and have yet to grok the proper workflow / solution:[详细]
2023-02-25 03:31 分类:问答Drupal: sidebar only shown on build/block page
I added a sidebar to my admin theme in Drupal. The sidebar is shown correctly on the /admin/build/block/list/* pages but not in the other pages.[详细]
2023-02-24 00:03 分类:问答Why doesn't user_load return any values for a user's roles?
So I have this code in a template: $thisuser = user_load(array(\'uid\' => \'11812\')); which, as far as I understand it, should return a user object for the user with the uid of 11812. And that[详细]
2023-02-22 20:51 分类:问答Drupal - Add class to menu of number of items it contains?
How can I add a class to a menu of the number of items it contains? My site has a menu that will always have either 7 or 8 items, as one will be regularly be enabled and disabled. I want to style the[详细]
2023-02-21 20:03 分类:问答Drupal - code works in page.tpl.php but wont work in a block
The following code works fine in my page.tpl.php but I cant get it to work in a block: <?php if (function_exists(\'twitter_pull_render\')) { print twitter_pull_render(\'@ahmednuaman\', $title = NU[详细]
2023-02-21 19:47 分类:问答Print path to base in template override
I am doing a template override with my template.php, and I need to print the path to the base of my site.[详细]
2023-02-20 06:36 分类:问答Drupal Views Argument block Theming
I created a View Argument and saved it as a block. I wanted to theme the Row style output and hence created a \"views-view-fields--product-content-box2--block-1.tpl.php\" and input my div tags with my[详细]
2023-02-18 21:36 分类:问答Drupal 7: using CCK field in html.tpl.php for custom page title for each entry
I need to give a custom meta title to each page. I found a module http://drupal.org/project/page_title but I cant give particular title to entry with that.[详细]
2023-02-18 12:55 分类:问答