Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use it for questions about rendering or modifying the HTML markup produced by a module/theme.
2
votes
6
answers
4k
views
how to rename password label on user edit page in Drupal?
I would like to change labels only on user edit page. String overrides module would not work because it would rename all labels (user register and user edit). I tried the following:
function theme_pr …
5
votes
1
answer
12k
views
How do I overwrite node title for specific content type?
I'm trying to add a chapter tag (§) in front of a title for content type 'ABC' in a Drupal 7 site.
I tried the following:
function mytheme_preprocess_node(&$variables) {
if ($variables['view_mode' …
1
vote
1
answer
822
views
how to style navigation sub-menu?
I need to display dash (-) in front of each sub-menu element. For example, the output should be
<ul class="menu clearfix">
<li class="first leaf"><a title="" href="/">Home</a></li>
<li class="ex …