need to do str_replace in article contents:
Lets say i create a simple text node with body text "Lorem REPLACE_THIS ipsum"
I'd like to use some logic and replace REPLACE_THIS with some html. Reason i need to do so is that i want to use geoip and display different markup depending on the country.
I'm going to do simple
$whatShouldIPutInHere = str_replace('REPLACE_THIS', $myMagicHtmlCode, $whatShouldIPutInHere);
I must be blind or something cos i cant figure out how to move the 'main menu' block out of the header and into a different region. Under /admin/structure/block the header region is empty and the main-menu is set as disabled. I can add teh main-menu block to a specific region - but this then gives me 2 main-menus as I cant figure out how to remove it from the header.
I've been using Drupal 5 (at someone who I now forget's suggestion) for a sort-of "address book" for a group of people who perform in some of the area Renaissance Faires, as a way for everyone to keep in touch during the off season & so on (& Guild management uses the contact information as well). Because of all the things Drupal can do, I realize that this might be "killing ants with a sledgehammer," but there it is. :-)
I was wondering why my contact page isn't showing up once I click out of my admin mode.
I have created the contact form and assigned it as a tab in my main menu at the top of the page. It appears and works fine when I'm in 'admin' mode but as soon as I log out, it vanishes.
I was wondering if anyone else had this problem and if so, perhaps they could suggest a solution.
Thank you in advance for any help or advice. It will be gratefully received!
I'm reading through a Drupal book and looking at the Drupal documentation online. I've mostly been trying to get a detailed understanding of the differences between D6 and D7. I can not find any place on the Drupal website that outlines this. In my early reading of my Drupal 7 book, I came across a detail that's completely omitted from Drupal documentation site. My question is: is the Drupal documentation the ignored step child of the Drupal project? I personally can't update it myself because I don't know enough about Drupal to do so.