Header modification of Ace - Orange

PHP-Nuke France - CE -> Thèmes

Auteur: Virgin_Steel MessagePosté le: 29.03.2005, 12:35:20    Sujet du message: Header modification of Ace - Orange

Ok i know it's very naive to post this,but i'll try!
I want a simple menu in the header,instead of this image...
How could i use multilanguage,and just to add one section.
What i mean is to have simple text without the javascript menu, with 7 sections!
Code:
HOME | FEEDBACK | FORUMS | WEB LINKS | ACCOUNT | SEARCH | FEEDBACK |

And to be multilanguaged!
That's all!
Thank you!Any help will be apprecied...
And that's THE GREATEST THEME I'VE EVER SEEN!!!

Auteur: JeanClaudeLocalisation: GAP MessagePosté le: 29.03.2005, 12:49:42    Sujet du message:

Hello, just replace the images menu in the table by TEXT menu called definitions in your HTML/languages/YOUR_LANGUAGE ...

an simple example:

your writte in your script -> "._MYDEF."
go in HTML/languages/YOUR_LANGUAGE
Edit en create:
Code:
define("_MYDEF","This is an example");


Where you have writte "._MYDEF.", you have now: This is an example


Note: YOUR_LANGUAGE = the language you use on your website

Note2: In Ace themes, the menu is defined by a $ in header.html and writted in theme.php in themeheader() function.

If you want to modified/changed, just delete the $and replace it by your code. (you have to delete the $ in your theme.php file too, it s not important but better

Auteur: Virgin_Steel MessagePosté le: 29.03.2005, 13:22:23    Sujet du message:

10x For the quick reply.I thing i got it:)
i just add definitions like
$welc = _WELCOMETO; <- theme.php
$welc <- header.html
"_WELCOMTO" <- HTML/languages/MY_LANGUAGE
and it works...
I only hope that i'll keep the size of tables,td,tr...cause i can mass up everything with the text:)



PHP-Nuke France - CE -> Thèmes

Toutes les heures sont au format GMT + 2 Heures

Page 1 sur 1


>> Fermer cette Page <<