1
spacejoee
Working on ODP module for xoops
  • 2004/9/11 10:31

  • spacejoee

  • Not too shy to talk

  • Posts: 106

  • Since: 2004/7/25


Hi everybody !
I m working on a new module :
Open directory projet for xoops.
actualy it s working fine, but i need some help to make it "perfect"

what i need is :

- in the theme.html file; include a fonction that change the encoding from iso to utf-08 when you enter to the module .
(for exemple, all the site is ISO, but only the ODP module is UTF-08)

- include in <title> the name of the directory the user is browsing.


any help is welcom.
thank you.

2
Mithrandir
Re: Working on ODP module for xoops

the encoding would be the
le="color: #000000"><?php <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />

line? If that's the case, you should be able to do this:

in your module's php file(s):
le="color: #000000"><?php // After inclusion of root/header.php // Modify charset $xoopsTpl->assign('xoops_charset', 'UTF-08'); //or how it should be written //Set page title - site name is displayed before this, so do not include $xoopsTpl->assign('xoops_pagetitle', $xoopsModule->getVar('name')." - ".$directory_user_is_browsing);

Login

Donat-O-Meter

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

Latest GitHub Commits