11
JMorris
Re: How to change description?
  • 2005/10/29 23:16

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Aha! Finally got it!

Insert the following into theme.html
<{if $SCRIPT_NAME=='/modules/news/index.php'}>
<
title><{$xoops_sitename}> - [color=DD0000]Your Slogan Here[/color]title>
<{else}>
<
title><{$xoops_sitename}> - <{$xoops_pagetitle}>title>
<{/if}>


Hope this helps.

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

12
wonder
Re: How to change description?
  • 2005/10/30 12:25

  • wonder

  • Not too shy to talk

  • Posts: 144

  • Since: 2005/5/22


Perfect!

5 stars!

Thankyou very much!

13
davidl2
Re: How to change description?
  • 2005/10/30 13:25

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Is it possible to use the same technique to replace images etc on specific pages?

ie:

<{if $SCRIPT_NAME=='/modules/magazine/index.php'}>

<{/if}>

But being able to specfify it down to a particular section etc?

14
JMorris
Re: How to change description?
  • 2005/10/30 14:24

  • JMorris

  • XOOPS is my life!

  • Posts: 2722

  • Since: 2004/4/11


Per page, yes. Just change the variables as needed.

For instance...
<{if $SCRIPT_NAME=='/modules/news/index.php'}>

<{/if}>

<{if $SCRIPT_NAME=='/modules/news/archive.php'}>

<{/if}>

<{if $SCRIPT_NAME=='/modules/news/submit.php'}>

<{/if}>

If yo're meaning per section as in...
<{if $SCRIPT_NAME=='/modules/newbb/reply.php?forum=20...'}>

I don't think that would work. I'm not sure how something like that would be accomplished. I was kinda curious about it myself.

Best Regards,

James
Insanity can be defined as "doing the same thing over and over and expecting different results."

Stupidity is not a crime. Therefore, you are free to go.

Login

Who's Online

454 user(s) are online (352 user(s) are browsing Support Forums)


Members: 0


Guests: 454


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