PEAK XOOPS - Change title per TinyD page in englishin japanese

Change title per TinyD page

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2004/9/5 22:38
Chi  ÆóÅùʼ   Posts: 1
Hi everybody,

A Tinypage has a title (menu), but it does not show in browser window. How can I achieve this. I'm not PHP programmer.

I looked on the Xoops site and there are some references on other modules, but I would like to have it exactly for TinyD (that's what I use). Love to hear it, thanks in advance.

Chi
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2004/9/20 18:43
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi Chi.

It's very easy.
All you have to do is to insert a line like this:

line 166 of include/display.inc.php
$xoopsTpl->assign( 'mod_url' , XOOPS_URL."/modules/$mydirname" ) ;
$xoopsTpl->assign( 'title' , $myts->makeTboxData4Show( $title ) ) ;
$xoopsTpl->assign( 'xoops_pagetitle' , $myts->makeTboxData4Show( $title ) ) ;
$xoopsTpl->assign( 'content' , $content ) ;
$xoopsTpl->assign( 'nocomments' , $nocomments ) ;
Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!