Page 1 of 1
www.gnuelps.de
Posted: Sun 20. Feb 2005, 19:59
by Rainer G
Here my first phpWCMS-project:
http://www.gnuelps.de/index.php
Any sugestions?
I'm testing many things and i must say, phpWCMS is a wonderfull cms.
oh - seriously cool
Posted: Thu 24. Feb 2005, 04:40
by artmyth
wow I like that transition!
Im on slow dial up the site loads FAST - I like the effect you have used to transition pages, it is very easy on the eyes.
The gallery is slick
A bit more work on the css to integrate evrything into a common look and this is going to be a top showcase site IMHO
hoping compliments will get me some help in integrating a gallery script ;0)
nice look
Posted: Thu 24. Feb 2005, 08:40
by sabum
Hi,
Your site looks very pleasant. Some links evokes small movements of all page to the left or right. Maybe it's a matter of Firefox I'm using...
However efect is great and what's most important navigation is very simple.
I'm rookie in this topic so I'd like to ask you a question?
How did you make one menu in header and second in left column?
Regards,
Jack
Posted: Thu 24. Feb 2005, 09:01
by Rainer G
The header menu is very simple. It's a replacement-tag from phpWCMS:
{BREADCRUMB}
Code: Select all
<div style="text-align:center; padding:3px 0px 3px 0px; margin:0;" class="breadcrumb">{BREADCRUMB}</div>
The left runs also with an replacement-tag from phpWCMS, but with own code (and help from here) to calculate the right submenu.
Look here:
http://www.phpwcms.de/forum/viewtopic.php?t=5760
Re: nice look
Posted: Thu 24. Feb 2005, 09:56
by Rainer G
sabum wrote:
...
Your site looks very pleasant. Some links evokes small movements of all page to the left or right. Maybe it's a matter of Firefox I'm using...
...
I see what you mean. I will see to optimize this for firefox (opera, mozilla,...)
Re: nice look
Posted: Sat 26. Feb 2005, 02:03
by Rainer G
Rainer G wrote:sabum wrote:
...
Your site looks very pleasant. Some links evokes small movements of all page to the left or right. Maybe it's a matter of Firefox I'm using...
...
I see what you mean. I will see to optimize this for firefox (opera, mozilla,...)
The effect comes from the scrollbars. Many sides are small and have no scrollbars, the other have the scrollbar.
Posted: Sun 27. Feb 2005, 18:11
by ThomasL
Hi, ich frag dann mal auf Deutsch
wie hast du die 2. Navigationsebene relalisiert? stehe nämlich vor dem Problem, diese nur in der entsprechenden Oberkategarie anzuzeigen.
Bisher wird sie überall angezeit
thx,
Thomas
Posted: Sun 27. Feb 2005, 20:50
by Rainer G
Ok, dann antworte ich auch mal in Deutsch
Diesen Code z. B. in die linke Hälfte bugsieren:
Code: Select all
<?php
$id = $GLOBALS['content']['cat_id'];
$parent_id=$GLOBALS['content']['struct'][$id]['acat_struct'];
While ($parent_id<>0){
$id=$parent_id;
$parent_id=$GLOBALS['content']['struct'][$id]['acat_struct'];
}
if ($id > 0) {
echo '{NAV_TABLE_COLUMN:'.$id.'}';
}
?>
Es wird solange die Schleife durchlaufen, bis die parent_id beim Hauptmenü angelangt ist, die davor gemerkte id ist dann die gesuchte.
Die IF-Abfrage verhindert, dass aus dem Grundmenü heraus das linke Menü angezeigt wird. In den anderen Fällen werden nur die entsprechenden Submenüs angezeigt.
Posted: Thu 3. Mar 2005, 22:41
by ThomasL
juhuuu, danke schön.
pulk ich das direkt in die template-vorlage?
sorry wenn ich so blöde fragen stell - bin noch ein phpwcms-dau
Posted: Thu 3. Mar 2005, 23:29
by Rainer G
Ja genau in den gewünschten Bereich des Templates.
oder als externe PHP-Datei mittels:
{PHP:./deinpfad/nav.php}
So kannst du das in mehreren Templates benutzen, brauchst es aber nur einmal ändern (dann allerdings mit einem externen Editor).
Posted: Thu 3. Mar 2005, 23:46
by ThomasL
aaahhh, wie geil.
hab tausend dank !!!