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 |
Version tags should be used for questions that apply to a version only, not to merely say what version a site is using.
7
votes
5
answers
24k
views
Render custom block by block name
I have created a custom block in the Drupal CMS. Say it is called "test_block". Is there a way to render this block in a template file using the name of the block?
Thanks,
1
vote
2
answers
2k
views
Contextual filter by author id
I have a Drupal 7 view which shows a certain type of content. Say it has a url mysite.com/article. …
0
votes
0
answers
62
views
Customize CMS menu
I have created a menu from the Drupal CMS (admin > structure > menu). Now I want to change the title of the same programatically. Is it possible, if so how?
I have tried hook_menu_alter, hook_menu_li …
0
votes
3
answers
921
views
Disable admin menu for specific page
Is there a way to disable the top admin menu (not default toolbar), for a particular page? I am not looking for a JS or CSS workaround, but a proper solution such that the rendering of the admin menu …
0
votes
1
answer
83
views
Views single field themeing with custom variables
How do I pass a variable from a preprocess hook to a template file for a single field, that is view files starting with
views-view-field--
I want to know what are the preprocess functions that …
0
votes
Are there any hooks for the event when an user navigates the verification URL?
Not sure if you are using the User Verification module. If yes, then you can try the hook they provide
hook_user_verify_verified
Hope this helps...
0
votes
1
answer
276
views
Drupal automatic TFA
I want to setup the Two-factor Authentication (TFA) configuration automatically for each user that signs up in my site. Is that possible?
Because from what I have tried till now, all the users for wh …
0
votes
Accepted
Disable admin menu for specific page
OK, thanks for your replies everyone. But for this specific problem, admin_menu_suppress actually works perfectly. Idiot that I am, previously, I was calling this function from my page tpl. Hence, the …
0
votes
1
answer
234
views
How to show comments for an unpublished node
Is this normal in Drupal 7? If so, how can I make those comments visible for the node author?
Hope I can explain my problem, thanks... …
0
votes
Contextual filter by author id
Well thanks MPD, your answer provided the solution. I am just re-iterating the same here in case anyone else needs
What I did was
create a view with two separate pages, one having the url mysite.c …
1
vote
How to include block using machine name?
I dont think there are any machine names associated with a block. At least didnt saw it in the database. And by the way, why will you want to use the machine name when you already have an unique ident …
0
votes
0
answers
25
views
Child associated nodes not coming
OK, so here's my problem
I am using Simple Hierarchical Select module.
I have a taxonomy structure like this
Parent
-Child 1
-Child 2
... And I have contents linked to these terms like this
Conten …