Removing page title from actual page? Topic is solved

General project discussion. NOT for help questions.
Post Reply
btvbill

Removing page title from actual page?

Post by btvbill »

I know how to customize the page title within the template using the {title} tag but how do I have it not show up on the page itself? I want to use my own titles for each page to make them Google friendly but I want something different in the actual page content itself. For instance, I'd like to have my title appear in the top browser bar as "Imported Cars: Peugeot, Audi, Saabs and More" but not have that within my page where I would have a title like "What's So Great About Audi?"
Thanks.
jelle

Re: Removing page title from actual page?

Post by jelle »

I certainly hope that google deals properly with these underhand tactics.
But you probably can get what you want by using a second content block and put that between the tags. You can add a parameter in the {smarty tag} to make cmsms not load the editor for one line. Someone else will _hopelfully_ fill in that little detail for you, or search it for yourself.
btvbill

Re: Removing page title from actual page?

Post by btvbill »

jelle wrote: I certainly hope that google deals properly with these underhand tactics.
Obviously you don't much much about search engine optimization. This is NOT an "underhanded tactic".

I am trying to correlate the page content keywords with keyword content within the page, which is totally acceptable by Google and any other search engines. I would suggest that you do your homework and check out some of the legitimate search engine optimization websites before posting accusatory replies.

Just because I want something different in my tag other than what appears in my page or other tags doesn't mean anything "underhanded". In 11 years of web development I have never seen the tag as the default title within the page content, except for within some CMS apps, which is the exception, certainly NOT the rule.

Thanks for the constructive part of your reply though.
jelle

Re: Removing page title from actual page?

Post by jelle »

@Patricia: True, that is much simpler. The problem might arise when the user wishes to put the headers in the template.  In such a case the extra content block may come in handy.
btvbill

Re: Removing page title from actual page?

Post by btvbill »

Patricia wrote: so go to your template, add the {title}, and remove it down teh template, should be something like {title}

then when you add or edit a page, enter the title you want What's So Great About Audi?
Thanks Patricia. Actually, that's what I've got set up now. It just makes it look like two titles within the page. One below the other. I guess the easier way to post this question is how do I remove what the {title} tage is generating within the page content itself? It's ok to display in the title bar, I just don't want it to appear lower, within the page itself.
jelle

Re: Removing page title from actual page?

Post by jelle »

@btvbill: Yes you are right, having a different title tag is nothing out of the ordinary. Overloading the title with every possible keyword in your domain is just not very usefull for the user, and that is why I frown upon it.  But no hard feelings, no need to feel attacked. I'm sorry if you did.
jelle

Re: Removing page title from actual page?

Post by jelle »

The title tag just generates some string that you set while editing a page. Your template may include it multiple times, or it may include a html_blob (or whatever the new name is) that includes the {title} too.
Just have a look at your html and figure out where the extra {title} comes from.
btvbill

Re: Removing page title from actual page?

Post by btvbill »

jelle wrote: @btvbill: Yes you are right, having a different title tag is nothing out of the ordinary. Overloading the title with every possible keyword in your domain is just not very usefull for the user, and that is why I frown upon it.  But no hard feelings, no need to feel attacked. I'm sorry if you did.
Probably my fault for not making my intent clearer. No offense taken and I really appreciate your kind reply. I don't want to overload my title (I think that does more harm than good). I just want to make sure my title and content are consistent but also have the flexibility to put what I want (or don't want) to appear within the content area itself.
btvbill

Re: Removing page title from actual page?

Post by btvbill »

A-ha...I found it! Thanks to both of you...I just missed it in the template when I first looked.
Post Reply

Return to “General Discussion”