11
sabahan
Re: Any Smarty way to check we are in front page of a site?
  • 2007/11/20 5:07

  • sabahan

  • Quite a regular

  • Posts: 317

  • Since: 2006/3/4 5


I can't make guest_ & zyspec way to work in my site

any other idea ?

Quote:

Drupal has a global variable named $is_front. I think we should copy that.


agree

12
ianez
Re: Any Smarty way to check we are in front page of a site?
  • 2007/11/21 15:06

  • ianez

  • Not too shy to talk

  • Posts: 188

  • Since: 2006/1/26


I don't understand why all this code for front page test..
wouldn't be much easier to use
<{if $xoops_requesturi == "/index.php"}>
your custom code
<{/if}>

?

cheers
Ian

13
marcionline
Re: Any Smarty way to check we are in front page of a site?


Login

Who's Online

377 user(s) are online (293 user(s) are browsing Support Forums)


Members: 0


Guests: 377


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