I have literally spent the whole day trying to change the name of my blog. I have tried:
blog title module
advanced blog module
string ovveride module
page title module
I managed to change Home>Blogs>jemp's blog to Home>Updates>jemp's blog but using string override but I cannot change jemp's blog to different text (the site is used for emergency updates so the name blog is too casual).
Can someone please just type the strings needed for me to copy and paste into the string override's original and replacement windows - it appears that I am too dumb to copy them from the /modules/blog/blog.pages.inc file (I have tried dozens of times with no success).
I know that this topic has been discussed in many forums but none of the suggestions made have worked for me.
Thanks
Comments
Isn't it Possible to just go
Isn't it Possible to just go to admin > site information > site name ?
not changing site name
I don't want to change the name of the site - I just don't want the blog to be called example's blog (where example is the user name).
drupal_set_title($title);
Hi Jemp, I'm not sure I completely follow but if you are looking to change the title of a node you can use the drupal_set_title($title); command. The drupal_get_title() command allows you to retrieve the title incase you wanted to perform some sort of string manipulation. The best place to use this would probably be in the 'view' op of the nodeapi hook. This function is not only relevant to blogs either so you may want to check the node type as well before making changes to the title.
I hope that helps,
Tim
nervous about changing internal commands
From the extensive research I did today during my frustrating hours trying to solve this annoying problem - I learned that at the end of almost every forum question there is someone warning newbies not to touch the main Drupal code...
I need a stable solution that won't collapse when I update Drupal versions etc. and I am still so amateur at this that it would take me years to find where I stuffed up the code.
I am sure that there is a neat way to do this with the override module - I just need to know the "magic words"
Danielle