drupal-templates
How does hook_theme() work?
I am having a hard time understanding what hook_theme() does. My understanding is that it has something to do with making it possible to override templates.[详细]
2023-04-12 07:44 分类:问答drupal7 change format of comment's $created
I have been trying for some time now to reformat the date that appears below the avatar when a comment is made to a blog post.[详细]
2023-04-05 00:38 分类:问答Drupal6: How to programmatically style a block?
In Drupal6, I basically have a block (a hierarchical menu structure) that turns out like this in HTML:[详细]
2023-03-16 18:03 分类:问答drupal 6 multitab with ajax content
I just want to show multitab on each node page. and want to pass node id to each tab. each tab should load content either via ajax if noscript it should load via url[详细]
2023-03-13 03:44 分类:问答Drupal show block data in a template region
i have a dynamic block data (from database) for one of my modules and it is displayed in 开发者_运维百科the right sidebar.[详细]
2023-03-10 09:57 分类:问答drupal_set_message() not working in node.tpl.php template on Drupal 7
My pro开发者_JAVA百科blem is with <?php drupal_set_message(\'Hello World\'); ?> in node.tpl.php[详细]
2023-03-08 23:53 分类:问答Drupal 7 comment.tpl.php overwrite for specific node type is not working
I\'ve created a comment--track.tpl.php file in order to theme the comments of my \"track\" type node but I can\'t get Drupal to use it. It keeps using my themename/comment.tpl.php file. I made sure to[详细]
2023-02-18 10:43 分类:问答Drupal 7 Theming individual pages
I\'m starting a Drupal 7 site and have noticed that almost every page will require a separate layout.[详细]
2023-02-07 01:13 分类:问答Changing order of fields in Drupal's content type
I am using Drigg on Drupal 6.17. Drigg has a content type called as \"Scoop\". I try to change the labels and order of fields. Normally, this is done in Content Management > Content Types > Mana[详细]
2023-01-05 11:37 分类:问答How do you separate the template of a blog block in Drupal?
In Drupal, I created a block using views. This block contains the latest blog entries. I\'ve placed this on a specifi开发者_运维问答c page to display it as an archive. Now, as for the blog itself (for[详细]
2022-12-29 18:02 分类:问答