I am using the garland theme and would like to insert a javascript before the </body> tag on almost every page on my drupal website. What I have done is opened up the page.tpl.php for garland and inserted my script, but I only want it to display if user 1 is not logged in. Why? Because I don't want the script to pull data from the admin pages to mess up the stats.
I want to know how to change the size of the font and resize the theme, so that it doesn't occupy the entire browser screen (I want the website to be centered in the browser). Is there a quick way to edit the existing theme files to change these parameters ?
Gloscon - (formerly BPO Canada - http://www.bpocanada.com) is a fast growing Drupal and Ruby on Rails Services firm.
Our Staffing Division has got many requirements with Clients in New York, NJ, Toronto area for good Drupal Developers for 6 months+ contracts.
If you have good experience working on top notch Drupal Sites, please send your resume to careers _at_ bpocanada _dot_ com for immediate consideration. Please keep subject as "DRUPAL EAST COAST"
When a form is called node_page_edit() it appears not to use theme_module_form() that is registered using module_theme() (hook_form). The functions all work correctly if the form is called by drupal_get_form(), but it is ignored when called from node_page_edit().
Is this behavior intentional? Is the only way to add additional formatting to edit forms to use #prefix and #suffix attributes on form items?
hi, i got problem with pathauto module
when i create the categories it's always show message error like this
* warning: array_merge_recursive() [function.array-merge-recursive]: recursion detected in /home/.rheilly/***/---.com/includes/module.inc on line 473.
* warning: mb_ereg_replace() expects parameter 3 to be string, array given in /home/.rheilly/f***/---.com/modules/pathauto/pathauto.inc on line 165.
Every time I try to make the advanced action Display a Message to the User... available, the message I enter gets deleted as soon as I hit the Save button and a message pops up saying: Message field is required. Am I doing something wrong? Any help would be appreciated!