Verschieden Designs für die Navigation

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
webinfopoint
Posts: 10
Joined: Wed 26. Jan 2005, 10:23

Verschieden Designs für die Navigation

Post by webinfopoint »

Design der Navigation ändere ich unter: include/inc_conf/conf.template_default.inc.php,

da ich aber zwei Vorlagen in verschiedenen Farben erstellt habe, will ich jetzt auch zwei verschiedene Designs der Navigation erstellen.

Hat jemand eine Idee?

Gruß aus Kroatien,
Martin.

PS: Ich weiß, aber mein ENgliscg will nicht! :oops:
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

Yeah, if somebody has any idea, I am interested as well :D


----------------------------------
translation of the above request:
----------------------------------

The design of the navigation can be customized here: include/inc_conf/conf.template_default.inc.php,

However, as I have two different coloured templates, I also would like to be able to have two different navigation designs

Has anyone an idea?

Greetings from Croatia,
Martin.
hendrik
Posts: 66
Joined: Thu 9. Dec 2004, 21:18
Location: Berlin
Contact:

Post by hendrik »

I think, the only way is via css (cascading style sheets).
Es geht, glaube ich, nur mit css.
I would deactivate "js over effects" in conf.template_default.inc.php and have in the first template something like
Ich würde "js over effects" in conf.template_default.inc.php deaktivieren und im ersten template etwas schreiben wie

<div class="navigation_1">{NAV_TABLE_COLUMN}<div>

and in the second template
und in der zweiten vorlage

<div class="navigation_2">{NAV_TABLE_COLUMN}<div>.


After you have defined classes in conf.template_default.inc.php,
for instance:
Nachdem man in der conf.template_default.inc.php Klassen definiert hat, zum Beispiel:


$template_default["nav_table_struct"]["cell_class"]= "nav_table";


you can assign colors, borders and so on with css, like:
kann man mit css Farben, Ränder usw. zuordnen, wie z.B.


.navigation_1 .nav_table {background-color:....}

and for the second navigation:
und für die zweite Navigation:

.navigation_2 .nav_table {background-color:....}

...means some work however
...ist mit etwas Arbeit verbunden
:wink:
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

Thanks, good thinking. I shall try whenever I have a moment.
webinfopoint
Posts: 10
Joined: Wed 26. Jan 2005, 10:23

Danke für die Antworten und für die Übersetzung

Post by webinfopoint »

Thanks for answering and for the translation.

In croatian: Hvala na brzom odgovoru i prijevodu.

Regards from Croatia,
Martin

http://www.webinfopoint.net
Post Reply