1
richardb96
Custom Block (HTML) meta title??
  • 2008/5/21 11:40

  • richardb96

  • Just popping in

  • Posts: 78

  • Since: 2008/4/29


Hi Guys,

how would I change the title of my Custom Block (HTML)page.
At present it just shows the Site Name

TIA

2
trabis
Re: Custom Block (HTML) meta title??
  • 2008/5/21 13:10

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Never used this inside a block but you can test this,

<{php}>
global $xoopsTpl;
$xoopsTpl->assign('xoops_pagetitle', 'your title');
<{/php}>

probably this will NOT work cause I doubt smarty will render an html block eheh, maybe you should consider in using a php block

3
richardb96
Re: Custom Block (HTML) meta title??
  • 2008/5/21 15:08

  • richardb96

  • Just popping in

  • Posts: 78

  • Since: 2008/4/29


Quote:
Never used this inside a block but you can test this,


Where do I place this tag?

4
trabis
Re: Custom Block (HTML) meta title??
  • 2008/5/21 17:42

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Anywhere.

Login

Who's Online

343 user(s) are online (253 user(s) are browsing Support Forums)


Members: 1


Guests: 342


Mamba,

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