How to show content on category links in navigation?

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

How to show content on category links in navigation?

Post by Jérôme »

Hello folks,

my site structure is the following:

Products
-- Notes
---- Product 1
---- Product 2
-- Web
---- Product 1
---- Product 2

When I click on "Products", "Notes" or "Web", the menu is folded out (as it should be), but in the main part of the page there is nothing to see.

How can I define content for those cases?

Thank you very much for your help in advance

- Jérôme
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

can you post a link to this site for us to see please.
I think this may be a simple misunderstanding as to how phpwcms works.
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

The link is: http://www.bit-informatik.de/cms/index.php

When clicking on "Produkte", 2 Subcategories are folded out, but I'd like to have some new content on the body-part, too.

Do I have to insert an article and to connect it somehow?
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

*lol* :mrgreen: That was it. I just had to write it down to get the clue.

I just had to add an article to the "empty" category.
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

:lol: :lol: :lol: :oops:
hidiho
Posts: 38
Joined: Wed 3. Dec 2003, 23:44

Post by hidiho »

Jerome,

If you ever come to the conclusion that an article for the cetegory header, say Notes, has no meaning, then consider the following:

create an article in e.g. Notes, leave all fields empty except:
place a redirect [in the redirect field] to the first page under Notes which contains actual content.

Then clicking on the Category Notes will unfold the subitems and make the system jump to the first item under Notes.

Sometimes those "category" pages are pretty useless, it's more a way of organizing your content...

Kind regards

Hidiho
Jérôme
Posts: 481
Joined: Tue 16. Mar 2004, 10:33
Location: Cologne, Germany
Contact:

Post by Jérôme »

Thank you for your hint, Hidiho. It is planned the every Category get's some content for display, so I think we will have no need of redirects in this cases.

But I created such a redirect vor the Pseude-Category "Home" with which I get back to the Homepage.
argos
Posts: 135
Joined: Mon 15. Mar 2004, 20:02

Post by argos »

hidiho wrote:If you ever come to the conclusion that an article for the cetegory header, say Notes, has no meaning, then consider the following:

create an article in e.g. Notes, leave all fields empty except:
place a redirect [in the redirect field] to the first page under Notes which contains actual content.

Then clicking on the Category Notes will unfold the subitems and make the system jump to the first item under Notes.
That's exactly what I want, but it doesn't work for me... I guess I don't understand it correctly, or something is wrong with my installation. When you go to http://www.argosmedia.nl and click on "Websites", you'll see a blank page. I want to redirect to the category below: "Ontwerp" instead. I followed your instructions, but to no avail...
Regards,
Jurgen Nijhuis
http://www.argosmedia.nl
hidiho
Posts: 38
Joined: Wed 3. Dec 2003, 23:44

Post by hidiho »

Argos,

it's easy (couldn't check your site - wont load).

Say this is your structure:

Services
- item 1
- item 2

You want that clicking on Services will make the article for item 1 to show up. How? Create an article under Services. Leave every field empty, but use the field redirect as follows:
Image

and where you see id=2 you shlould replace it with id= id of the submenu item (move mouse over in the backend over the structure tree to see it's id)


remember; the easiest use is to redirect to the id of a menu entry, always put _top behind it, otherwise you'll get errors...
regards :lol:

hidiho
argos
Posts: 135
Joined: Mon 15. Mar 2004, 20:02

Post by argos »

hidiho wrote:remember; the easiest use is to redirect to the id of a menu entry, always put _top behind it, otherwise you'll get errors...
Damn hosting server was down, so you didn't see my site, and I could not try your suggestion. Now it's back again. And... heeha! It works! Very cool. I thought I had to use the alias function, but that doesn't seem to work, or I don't understand it. However, your method works fine. Thanks alot hidiho, I appreciate your help!

Kind regards,
Jurgen
Regards,
Jurgen Nijhuis
http://www.argosmedia.nl
hidiho
Posts: 38
Joined: Wed 3. Dec 2003, 23:44

Post by hidiho »

Hi Argos

No problem :D
But ehhh, you really should try another hoster, this one is extremely slow, page loading takes over 15 seconds....

regards

hidiho
argos
Posts: 135
Joined: Mon 15. Mar 2004, 20:02

Post by argos »

hidiho wrote:Hi Argos

No problem :D
But ehhh, you really should try another hoster, this one is extremely slow, page loading takes over 15 seconds....

regards

hidiho
Yeah, I notice that sometimes too. Most of the times the speed is quite allright though...
Regards,
Jurgen Nijhuis
http://www.argosmedia.nl
Post Reply