Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
on the first page of a user's blog, I would like to style the blog title (i.e. "Snoopy's blog") differently from all other page titles and keep the titles of the blog postings in the same style as all other page titles. I'm modding a theme based on Friends Electric.
The CSS is no problem per se, however the blog title uses the same .main-title class as all other page titles and I can't find a way to isolate it, or put a class/ID on it. The node.tpl.php seems to engage further down the post, so I'm uncertain if that could be hacked.
I have default content filter settings "Input format" = "Filtered HTML" and want to keep it this way (security), but from other hand I need to activate JavaScript onClick event to use Google Analytics JavaScript code.
Filtered HTML strips out all tags with exception of those mentioned in the site settings. Again, those default are good.
Does anybody knows the way to use onClick event to trigger JavaScript AND keep "Input format" = "Filtered HTML" in a way
This is really a set of notes for myself, so I can document what I'm trying to do and hopefully be able to reproduce it in the future.
I have two sites right now - a Wordpress blog at /, and in /more, a Drupal site. I'm working on a new theme for both that includes content from each on the other, with some interesting ways to switch between them.
is there anyway to change the layouts on different pages. for example on the home page show 2 columns each 50% wide and on another 2 columns on only 20%.
I'm working on integrating Drupal with an existing site right now, and I can't seem to get it to stop printing body !DOCTYPE and all that. I've completely erased any mention of them from the sources files, so where are they hiding?
Would be grateful to anyone who can point out what I'm missing in the code below. Basically, this works just fine in Firefox / Mozilla but the rollover image just will not appear in IE 6 or 7. Can anyone see why? (I'm pulling my hair out here!)