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 |
In Drupal, a self-contained collection of content and functionality that is displayed in theme regions is called block.
0
votes
1
answer
67
views
Having trouble rendering a block
I've defined a block that returns a string of HTML as follows:
function product_block_view($delta = '')
{
switch ($delta) {
case 'groups_images':
$block['subject'] = t('Category Images in …
1
vote
1
answer
49
views
How do I pre-configure a block's settings in my module in Drupal 7?
I'm building up a custom module which contains a few blocks. These blocks will always only appear either on the front page or on every other page, mutually exclusive. … I'd like to be able to pre-configure these blocks on install, but I'm not sure how to go about it. …