1
wibni
edit template to show only at specific URL
  • 2008/11/19 8:57

  • wibni

  • Just popping in

  • Posts: 4

  • Since: 2006/8/11


Hi,

I'd like to edit a pical template to only show in the center block of my website if the URL is: http://mydomain/modules/content/index.php?id=37.

I'm using the XOOPS content module.
With blocks unfortunately I can only select a whole module to either show a block or hide it.
All my site content is in that content module, but only the entry with ID=37 should show the pical template.

Any suggestions on how to do that?

<{IF url == http://mydomain/modules/content/index.php?id=37}>
show content...

2
wibni
Re: edit template to show only at specific URL
  • 2008/11/19 13:32

  • wibni

  • Just popping in

  • Posts: 4

  • Since: 2006/8/11


How to get the code below in my template?
I don't know how to format it with XOOPS tags and plain php it doesn't seem to compile....

$where= basename($_SERVER['PHP_SELF']);
If ($where == "info.php")
echo "true";

Login

Who's Online

231 user(s) are online (179 user(s) are browsing Support Forums)


Members: 0


Guests: 231


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