Posted on: 04/22/09 07:41am
By: beewee
Im trying to make this possible:
On the main page, and the topic pages, I´ve put the title of the featured article title in H1 tags (featuredstorytext.thtml), and the title of the other stories in H2 tags (storytext.thtml). That works fine, and Google likes it that way.
But that also means that on separate article pages, article.thtml will use the storytext.thtml template with H2 tags. But I want to use H1 tags there, so the featuredstory.thtml template.
But how??
Re: Next step to improve SEO Geeklog
Posted on: 04/22/09 10:38am
By: beewee
Well, perhaps this will help me, will have a look at it..
http://www.geeklog.net/forum/viewtopic.php?showtopic=79281[*1]
EDIT:
Oh, how easy, in lib-story.php, line 76, change this:
$storytpl = 'storytext.thtml';
to this:
$storytpl = 'featuredstorytext.thtml';
Wouldn´t this be nice as a normal feature?
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 03:48am
By: 1000ideen
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 04:03am
By: beewee
This was already possible with the old Chameleon plugin, if I´m correct?
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 04:07am
By: 1000ideen
I think I hardly ever tried other layouts because I make them myself. So I don`t know but it is a good hint.
Anyway, your idea would be good to add the the FR I mentioned above.
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 04:15am
By: beewee
There are many easy ways to achieve a different look for stories in each topic:
1) use the topic ID to generate an topic-related ID or class for a stories/div´s in the center column and use css to style them the way you like it
2) the same way for article pages, just use the topic ID again (
http://www.geeklog.net/forum/viewtopic.php?showtopic=86601[*3] ) and css
3) I don´t know if it´s possible to use the topic ID in header.thtml, but that gives enormous possibilities...
I haven´t had time to take a look at userblogs, but that´s something I do need for one of my next projects..
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 04:22am
By: 1000ideen
Thanks, but CSS is not sufficient. I want a more radical change of the thtml too. If you have an FAQ or help topic you want another appearance than in topic blogs etc.
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 04:29am
By: beewee
Is it not a bit strange to use newsstories for these things? We have a nice FAQ plugin, static pages,
Nextide[*4] , etc, or just make a plugin for what you need..
And how about this?
In lib-story.php, line 76, change this:
$storytpl = 'storytext.thtml';
to this:
$storytpl = 'tid-storytext.thtml';
I´m no developer, just a crazy idea....that needs some php I guess...
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 06:01am
By: 1000ideen
Well, it has been discussed in many threads which I listed in the FR.
The main point were user blogs to look different from each other. There is more freedom of change when you change the thtml and not only the CSS.
My additional idea was to have even more "sections" E.g. take a cooking blog: cookA, cookB and another topic with vegetarian_recipes.
Re: Next step to improve SEO Geeklog
Posted on: 04/23/09 07:02am
By: beewee
The old Chameleon plugin might do the trick for you, unless you need custom fields. This site is using that plugin:
http://www.gijsbertsbv.nl/[*5]
Re: Next step to improve SEO Geeklog
Posted on: 04/24/09 04:58pm
By: Dirk
Just tossing in a note: You can define your own template variables in lib-custom.php. The function there is also called for the article templates.
bye, Dirk