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.
4
votes
Views generating JSON output
There is now a Drupal 7 version of Views Datasource. …
3
votes
1
answer
1k
views
Overriding theme_item_list() not working
I have the following code in the theme template.php file:
function MYTHEME_item_list(&$variables) {
// my custom stuff done to theme_item_list
return $output;
}
And also this:
function MYTHEM …
1
vote
5
answers
2k
views
Add number of items as a class to menus
I would like to add a class to menu that shows how many items are in that particular level. I.E.
<ul class="menu count-5">
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>
Wh …
3
votes
2
answers
2k
views
Use GET instead of POST for AJAX call
I was wondering if anyone had any tips for use a GET call with ajax forms instead of POST?
One of our ajax calls is returning some JSON that we want to be cached in the browser. If we can switch th …
0
votes
Get path of Page Manager page
current_path() will return the path of the panel page.
The problem I was having was that we are using panels layouts for 404 pages as well. I had a missing file in the theme layer that was genera …
8
votes
1
answer
8k
views
What is the URL to set the admin theme?
The URL to change the admin theme isn't the same in Drupal 7 compared to 6. What is the new URL? …
12
votes
3
answers
17k
views
Page template suggestions are not working
I've created a theme and have my template files in this structure
/templates/page/page.tpl.php
/templates/page/page--node-type.tpl.php
I've created a custom page template but for some reason it's …
1
vote
2
answers
799
views
Get path of Page Manager page
Basically I have created a page and it shows up fine.
When I do a arg or current_path on that page it shows as a 404 path, not the one defined in the page.
current_path() => error-404
$_GET[q] => …
1
vote
Accepted
Entity template file/suggestion not working
I figure this out and it was relatively simple. I added a preprocess function to template.php for entities and added the template file back in to theme_hook_suggestions array.
function theme_prepro …
2
votes
1
answer
820
views
Drupal aggregate css crashes IE7
If I turn on aggregate css in my performance config and then load my site in IE7, the browser crashes. Any ideas why that might be?
Thanks,
Paul
0
votes
1
answer
68
views
Duplicate / Triplicate inline javascript
On some pages of my site when inline javascript has been added to page it get added multiple times.
I've looked through my base theme (Zen) and my default theme (custom) for anything that may be me …
0
votes
Accepted
Duplicate / Triplicate inline javascript
The problem ended up being the module Panelizer. I was using the Default view and should have been using the Full Page Override view.
2
votes
1
answer
3k
views
Entity template file/suggestion not working
I've created a entity template file but it's not working. I've looked at the theme registry and I can see the template file is in there but it's not getting applied for some reason.
Thank for you h …
4
votes
1
answer
2k
views
Views template files not working
I have two template files for a view but only one of them is getting picked up. If I look under the Theme dialog for the view I can see that my two theme files are bolded.
The Display Output temp …
1
vote
0
answers
213
views
Custom panels page not showing page title
I have some custom panels pages I have created and have added the Page Title pane to page content.
However, the Page Title pane is only rendering when the page is in a menu and we're on the url in …