1
vinci
news title in header
  • 2003/10/31 12:33

  • vinci

  • Just popping in

  • Posts: 12

  • Since: 2003/7/19


I made at least some progress with hacking my theme to display the tiotle of a news article in the <TITLE> tag.

i used: <{$xoops_pagename}> But that displays also

<a>category</a> in the title, which makes it look ugly. Also xoopsConfig['slogan'] seems to be the same (or is this just a cache?)

My goal is to have a good control of what is int the title. This gives pages a higher ranking on search engines.

My site (in german):
http://www.alternativ.net/news

Somebody has a solution? ( Icould filter HTML-Tags iout of hte string, but isnd't there a variable name only with the article title?)

2
hsalazar
Re: news title in header
  • 2003/12/15 3:32

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


vinci:

This topic has already been solved by ackbarr a while ago. Look through the answers in this thread and you'll see a way to use the right variable:

Item-Specific Page Titles in News, WF-Section

I hope you can use this to suit your specific needs.

Cheers.

Login

Who's Online

219 user(s) are online (130 user(s) are browsing Support Forums)


Members: 0


Guests: 219


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits