1
jimkarvo
hack wordbook module
  • 2007/3/2 21:07

  • jimkarvo

  • Not too shy to talk

  • Posts: 169

  • Since: 2005/9/19


Hello,


how I can have definition name to a site title?

-JimKarvo
whttp://www.pc4allgr.com - Greek community for PCs

PC4ALL Admins' Team!

2
tcnet
Re: hack wordbook module
  • 2007/3/3 0:18

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


For Wordbook 1.16 I edited the end of entry.php with:

after this line:
$xoopsTpl -> assign 'counter'sprintf(_MD_WB_COUNT$thisterm['counter']) );

add this line:
// Title Hack
$xoopsTpl->assign('xoops_pagetitle'$myts->makeTboxData4Show($xoopsModule->getVar('name')).' - '.$glossaryterm );
//end title hack


The entry page title will display as Wordbook - Term.

3
jimkarvo
Re: hack wordbook module
  • 2007/3/3 17:22

  • jimkarvo

  • Not too shy to talk

  • Posts: 169

  • Since: 2005/9/19


Really Thanks, tcnet!

That hack works with woadbook 1.15 as 1.16.

I tested it

-JK
whttp://www.pc4allgr.com - Greek community for PCs

PC4ALL Admins' Team!

4
irmtfan
Re: hack wordbook module
  • 2007/3/4 4:38

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


works well in my test site
thank you

Login

Who's Online

318 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 318


more...

Donat-O-Meter

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

Latest GitHub Commits