I'm new to Drupal, and the Drupal website is currently down, ahh!
I need to know how to add a region to a custom node template. I've tried adding the following function to template.php in the my_theme directory:
function my_theme_preprocess_node(&$vars, $hook) {
$vars['usersummary'] = theme('blocks', 'usersummary');
}
And then p...
Sorry, if question is too obvious — does Drupal 6 index nodes with custom content types, not only story, page, etc.?
...
How to rename drupal's admin directory as I already have a directory named "admin"?
...
Hello
I have quite a strange problem using quicktabs. I used the framework theme to develop a custom look for my site. I used quicktabs in the center content area to create a tabbed look for placing links within the body. Everything is working fine. However, when I view the site in IE8 at a resolution if 1024*768, I have trouble with...
Hi All,
I am looking for expert advice on how to best serve multiple sites with one Drupal instance (using Pressflow 6.x). Let's consider the company needing this is called "ABC Group of Companies" and it has 3 sister concerns. So, altogether there will be four sites:
www.abcgroup.com
www.company-a.com
www.company-b.com
www.company-c....
I'm looking for a snipppet of PHP I can drop into a .tpl (Drupal 6.1.9) that will list the sibling nodes of the current node. Hopefully that's enough information, but here's the nuts and bolts:
By "nodes" I mean that I've got everything in the "Primary Links" menu. I'm only interested in the hierarchy defined there.
By "node" I als...
Hey there, I'm using drupal and a pgsql database, but after long searches I still can't figure out how to put a CURRENT_TIMESTAMP or now() into the database when inserting a row into a table. Putting now() on the default value of a column won't work, because drupal won't accept it on the database schema, so that's out of question.
The c...
Hi All,
I have used page break and created 4 sub pages in Drupal. Now the problem is every page has a next page button which is a submit button. I just want the the submit button only on the last page. Is there any option in Drupal using which I can do this.
thanks in advance
...
The "total_rows" property of my view returns the total rows (22), but not the number of items I have set the view to display (5) (through the Web UI Block->Basic Settings).
How can I get this in a proper way without relying on (the possibly soon to be deprecated "result" property?
for now Im using
$totalRows = min($view->total_rows, c...
I am using Drupal in my website but there are some folders outside drupal. I want to exclude those folders from rewrite rules.
I already tried :
RewriteCond %{REQUEST_URI} !^/admin/ in .htaccess
Options +MultiViews in apache config
...
I am using flowplayer module (for drupal) as dependency for my webtv module.
I need to implement a flowplayer js-plugin embed that helps to generate embed code.
I am loading js-plugin module (flowplayer.embed-3.0.3.js) that actually extends the $f object.
There is no issue while js-plugin module is loaded. Finally when $f.getEmbedCode(...
When I try to save or delete the view this message appears ... when deleting the error is in function delete(), when saving the error is in function validate().
I'm trying to get answer for 2 days already, browsing the drupal forum etc.
I cannot get the solution.
I'M STUCK! I cannot continue my work! IT'S HELL!
People THANK YOU!
EDI...
One of our sites has around 10,000 nodes. In each node, there is a simple cck text/integer field. This integer changes daily, so they need to be updated every day. The integer ranges from 1 to 20000000. The cck field is across all content types, so it has its own table in the database. We don't use revisions. I chose to have it rea...
I'm pretty new to Drupal, but I guess I know how things work. I separated the Advanced Search Form from the search page and made a block from it (that was part 1). Woohoo. Part 2 is the pager-from-nowhere in the search results. Drupal search results are paged by tens and I can't seem to find a way to change it.
Not a decent way that is....
In my installation the users login with Shibboleth [1], but the rule [2] I've set up to be executed on "User has logged in" event, isn't executed.
On the other hand, when I login as administrator through the normal Drupal way, the rule is executed.
Does this mean that the external login event isn't handled at all?
Is there a way to ov...
Is there a trick, addon or patch that allows me to find out what modules altered a specfic form?
A list of all hook_form_alters is not too hard to achieve. But I want to list only those that actually changed my form.
Modules can alter a form trough a generic modulename_form_alter() and modulename_form_FORMID_alter() it would be nice i...
I can upload a video to my drupal instance, but when I try to view the video I don't have rights to do so. I discovered that the IIS_IUSR doesn't have Read & Execute rights on the video even though the IIS_IUSR does on the containing directory.
IIS_IUSR has Read & Execute, List folder contents, and Read rights to the directory where fil...
I am happy with the standard Page and Story content types.
Still I need more control over the access control.
I would like to write my own access control.
I like the concept of the hook_access() for controlling access to the content types you build your self.
Do I have a hook_access() available when I am using my content type?
...
Hi,
I have a site created in Drupal 6 and am having problems with a particular page.
The page uses a specific content type (type_a). This has it's own page template (page-type_a.tpl.php) This all works fine.
I've then added a view onto that page using views_embed_view(). This view has pagination.
The first page looks great (URL = /my...
Why when I click on lightbox thumbnail IE opens image in new window, but Mozilla and Chrome open image using lightbox effect?
there code
<a href="/sites/default/files/photo-7-5e02f57b1cd470c.jpg" rel="Lightbox[album][]" class="lightbox-processed"><img src="/sites/default/files/photo-7-5e02f57b1cd470c.jpg" width="130" height="100" style...