1
Chappy
morphogenesis and globalnav.html
  • 2007/6/3 6:44

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


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! ...

2
kris_fr
Re: morphogenesis and globalnav.html
  • 2007/6/3 7:35

  • kris_fr

  • Theme Designer

  • Posts: 1009

  • Since: 2005/12/31


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 ++

3
Chappy
Re: morphogenesis and globalnav.html
  • 2007/6/5 0:30

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


Thanks!

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

4
davidl2
Re: morphogenesis and globalnav.html
  • 2007/6/5 0:32

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


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

5
Hroethbert
Re: morphogenesis and globalnav.html
  • 2007/7/24 5:41

  • Hroethbert

  • Just popping in

  • Posts: 1

  • Since: 2007/4/19


Thats funny.

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

Login

Who's Online

142 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 142


more...

Donat-O-Meter

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

Latest GitHub Commits