1
bjuti
Static page title on frontpage
  • 2009/7/17 18:30

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Hi Xoopsers,

I need a static title for front page, eg. "MySite", but when you click on news article to be like "MySite - [Article title]"

I use news module for front page.

Tnx all

2
culex
Re: Static page title on frontpage
  • 2009/7/17 19:44

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


I use news 1.63 for frontpage and my static is already "News from Culex.dk : Onair released in downloads" etc etc...

Maybe I am not sure what it is you want..

<{$xoops_sitename}> : <{$story.news_title}>

instead of

<{$story.topic_title}> : <{$story.news_title}> ??
Programming is like sex:
One mistake and you have to support it for the rest of your life.

3
bjuti
Re: Static page title on frontpage
  • 2009/7/18 10:38

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Nope.. What i ment is this:

My company is called eg. "United Lions Ltd." and domain is eg. "www.unitedlions.com".

When you go to the url, the title of the page must be: United Lions Ltd.

Not "United Lions Ltd: Our company at top 10" [latest news article]. But when you click on article on the page called: "Our company at top 10" you go to the page, and then title must be "United Lions Ltd: Our company at top 10".

What I want to say is something like this:
On the top page the title should be <{$xoops_sitename}>, and on any other page, news, articles, gallery etc... should be: <{$xoops_sitename}> : <{$story.news_title}> etc.

When i search my site on Google, everytime it's a different title for the maindomain, dependend on the latest news article, and I don't want that. :)

4
DonCurioso
Re: Static page title on frontpage

Hi,

create a static page using html.

You can see an example here.

After it, you can click over any link&go into your xoops.

Regards
HispaXoops | Xoops EspaƱa

That's the way i like it! | Nada mejor que una Alhambra bien helada con aceitunas...

5
culex
Re: Static page title on frontpage
  • 2009/7/18 15:33

  • culex

  • Module Developer

  • Posts: 711

  • Since: 2004/9/23


ah ok I see. Maybe the static html page is not such a bad idea.

Or use a module to present the main page like this..

https://xoops.org/modules/news/article.php?storyid=3307
Programming is like sex:
One mistake and you have to support it for the rest of your life.

6
bjuti
Re: Static page title on frontpage
  • 2009/7/18 22:08

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Well... it's a news portal.. it will be lame to make independant 'entering page'... :) Is there any other way? :)

Login

Who's Online

263 user(s) are online (95 user(s) are browsing Support Forums)


Members: 0


Guests: 263


more...

Donat-O-Meter

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

Latest GitHub Commits