1
xx1182
[PROBLEM]Gameportal xoops 2.4.4
  • 2010/4/27 15:55

  • xx1182

  • Just popping in

  • Posts: 3

  • Since: 2010/4/26


Hi! i have recently installed xoops on my website.
And now i have a problem.
This is my Website i want that slider to not appear on all my pages, i've installed different modules, like cbb and when i go to it, the slider is still up there.
If anyone ask, yes i've checked the blocks.

2
Anonymous
Re: [PROBLEM]Gameportal xoops 2.4.4
  • 2010/4/27 18:35

  • Anonymous

  • Posts: 0

  • Since:


Edit theme.html and replace:

<{include file="$theme_name/slider.html"}>

with:

<{if $smarty.server.PHP_SELF=='/xoops/index.php'}>
<{include file="$theme_name/slider.html"}>
<{/if}>

For users have xoops at root folder use:

<{if $smarty.server.PHP_SELF=='/index.php'}>
<{include file="$theme_name/slider.html"}>
<{/if}>




3
xx1182
Re: [PROBLEM]Gameportal xoops 2.4.4
  • 2010/4/27 20:52

  • xx1182

  • Just popping in

  • Posts: 3

  • Since: 2010/4/26


Can you explain me this command?
And why it changes?
<{if $smarty.server.PHP_SELF=='/xoops/index.php'}>

4
ghia
Re: [PROBLEM]Gameportal xoops 2.4.4
  • 2010/4/27 23:32

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The tested variable is similar to the URL you see in the browser.

Login

Who's Online

176 user(s) are online (101 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

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

Latest GitHub Commits