Skip to main content
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
Results tagged with
Search options not deleted user 46499

Use it for questions about rendering or modifying the HTML markup produced by a module/theme.

0 votes
1 answer
777 views

How do I print the output of a field as a link on node.tpl.php?

How do I print the output of a field as a link on node.tpl.php? I'm able to print the raw output of a field using this: <?php $display = array('label' => 'hidden'); $view = field_view_field('node', $ …
Gregory Schultz's user avatar
1 vote
0 answers
85 views

views load all posts but show limited number per page?

I want to use the load more module on a view. The problem I'm having is that I'm using a mp3 player that generates a player based on the number of posts on a page. Example: my page has 10 nodes so 10 …
Gregory Schultz's user avatar
0 votes
3 answers
2k views

Display a block on front page only

How do I only show a block on the front page. I have on only listed pages under block settings and it won't disappear on the second page. I've also added $is_front drupal_is_front_page around the …
Gregory Schultz's user avatar
0 votes
3 answers
1k views

How to add an 'if' statement for a content type in a custom views-view.tpl.php?

Is it possible to add an 'if' statement for a content type in a custom views-view.tpl.php? This is just so I can add text to show if the post in the view is either an 'episode' or an 'announcement'. …
Gregory Schultz's user avatar
0 votes

How to add an 'if' statement for a content type in a custom views-view.tpl.php?

I figured it out. An if statement doesn't work on [node_type] unless it has something to look at. Give it something to compare it will make it work. Also make sure your using row output on themes temp …
Gregory Schultz's user avatar