Page 1 of 1

Text in Header....

Posted: Wed May 03, 2006 6:36 pm
by TKS
I've switched templates from MT-Trendy to Gila Two and noticed something odd about the switch.

When I switched, the text "For" appeared above my header on Gila Two. I have no idea where this is being parsed from or where it could be. Could someone point me in the right direction?


See it at http://linux-blog.org/

Thanks for your help.

Re: Text in Header....

Posted: Wed May 03, 2006 6:49 pm
by garvinhicking
Hi!

This seems to either come from the index.tpl template of your new template, or from a plugin.

At the place where "For" appears, plugins can hook into the "frontend_header" hook. Like, HTML Page Nuggets or other event plugins can show up there. Plus, mis-edited plugins might also hook their output there.

HTH,
Garvin

Posted: Wed May 03, 2006 7:00 pm
by TKS
I haven't added any new plugins...save the static page plugin. I tried to uninstall this plugin and continue. No dice on removing that 'For'


Why would that text parse on 'gila two' but not on 'mt-trendy'? Also, I removed every single plugin that I would think had its hooks in the header...nothing is working.

I checked index.tpl and found nothing there that might cause things. Any other areas I can check?

Posted: Wed May 03, 2006 7:40 pm
by garvinhicking
If you switch back from gila_two to mt-trende, does the problem disappear?

You might want to edit your index.tpl template file and remove the '{serendipity_hookPlugin hook="frontend_header"}' call temporary, see if this gets rid of the "Fro".

Regards,
Garvin

Posted: Wed May 03, 2006 8:08 pm
by TKS
Got it...


The letter F was on the left side of it and the 'or' was on the right side. It looked like this in the code:

Code: Select all

F{serendipity_hookPlugin hook="frontend_header"}or
Removed it and I think I'm good.

Also, because of this, I have made up my mind to become a theme creator. I've been using s9y since just before .7.1 and I've fought with adapting themes ever since. I think the best way to understand and limit my time spent on customizing them is to make my own themes. Don't be surprised to see many questions flowing from me on themes after today :)

Posted: Wed May 03, 2006 9:09 pm
by garvinhicking
Hi!

Well, that's great news! Hope you'll have fun with theming. :)

How did those "F" and "or" characters get inserted?!?

Regards,
Garvin

Posted: Wed May 03, 2006 9:53 pm
by TKS
The F must have stood for 'fatfinger' cuz that's what I must have done.

I remember drag dropping text into notepad2 and messing up a bit so I must have grabbed part of the word "Forum" when I copy and pasted it.

Anyway, Themes away :P

Posted: Wed May 03, 2006 10:03 pm
by carl_galloway
Good luck with your new template, quite a few of us would be pretty keen to see your work in progress and are available to offer help if you need it.