xoops forums

Chappy

Friend of XOOPS
Posted on: 2007/6/3 6:44
Chappy
Chappy (Show more)
Friend of XOOPS
Posts: 456
Since: 2002/12/14
#1

morphogenesis and globalnav.html

Hi, Kris (or anyone else playing with Morphogenesis):

I'm having fun playing around (trying to understand) all you've done with morphogenesis. I was adjusting the globalnav.html. It appears the link titles come from the smarty construct. But, smarty's names for the modules don not appear to be taken from the database. For instance, I change a globalnav.html line from Quote:
<li><a href="<{xoAppUrl modules/xcgal/}>" accesskey="" title="<{$smarty.const.THEME_MODULE3_DESC}>"><{$smarty.const.THEME_MODULE3}></a></li>
to Quote:
<li><a href="<{xoAppUrl modules/wordpress/}>" accesskey="" title="<{$smarty.const.THEME_MODULE2a_DESC}>"><{$smarty.const.THEME_MODULE3}></a></li>
.

The globalnav menu still shows Gallery even after having made this change. It should show Blogs, for that is the display title I have given that module in my XOOPS installation. I cleared out the cache (xoops and my browser). It's still there.

Where does Smarty keep these titles or come up with them from? How can I change the link title?

Thanks in advance!
MMM...It tastes like chicken! ...

kris_fr

Theme Designer
Posted on: 2007/6/3 7:35
kris_fr
kris_fr (Show more)
Theme Designer
Posts: 1009
Since: 2005/12/31
#2

Re: morphogenesis and globalnav.html

Hello,

The define are stated in the files theme.php in the file root/language/english/theme.php or/and root/language/french/theme.php etc…

If you wish it you can also create your clean define, by adhering to the model of naming
define("THEME_MODULExx",     "module name");
define("THEME_MODULExx_DESC",    "module description");

also

define
("THEME_LINKxx",     "link name");
define("THEME_LINKSxx_DESC",    "link description");


A ++

Chappy

Friend of XOOPS
Posted on: 2007/6/5 0:30
Chappy
Chappy (Show more)
Friend of XOOPS
Posts: 456
Since: 2002/12/14
#3

Re: morphogenesis and globalnav.html

Thanks!

That did the trick!
MMM...It tastes like chicken! ...

davidl2

XOOPS is my life!
Posted on: 2007/6/5 0:32
davidl2
davidl2 (Show more)
XOOPS is my life!
Posts: 4843
Since: 2003/5/26
#4

Re: morphogenesis and globalnav.html

If some of the English ones are not correct - please shout at me - not Kris

Hroethbert

Just popping in
Posted on: 2007/7/24 5:41
Hroethbert
Hroethbert (Show more)
Just popping in
Posts: 1
Since: 2007/4/19
#5

Re: morphogenesis and globalnav.html

Thats funny.

I have been stuck on the same problem for days now, however my install does not have a theme.php file???