menu question
menu question
is it possible to generate a menu only for one section of the site?
for example, let's say i have an About section, that contains a few sub-sections. when i go to the About section, i want to see only the sub-sections it contains, not the entire menu (on the left/right side)
i hope i was clear enough...
weirdo
for example, let's say i have an About section, that contains a few sub-sections. when i go to the About section, i want to see only the sub-sections it contains, not the entire menu (on the left/right side)
i hope i was clear enough...
weirdo
A template within a template?
Could you clarify this for me? Creating a new template? Then where do you use it? Is this something I have missed? Can you use different templates for different categories?
I don't see that
I have Site Structure and there's an index, but nothing that lets me edit the site structure
Appreciate your assistance!
Thank you for that information, that's very helpful and gets me closer to what I need.
What I want to do is have a list of the articles inside a category displaying in the content area of the page. I can't seem to figure out what code would make this happen. I just get a white strip of empty space where the content goes, and that's where I need to display a list of the articles so visitors can click on them.
What I want to do is have a list of the articles inside a category displaying in the content area of the page. I can't seem to figure out what code would make this happen. I just get a white strip of empty space where the content goes, and that's where I need to display a list of the articles so visitors can click on them.
-
- Posts: 69
- Joined: Fri 2. Jul 2004, 01:46
- Contact:
Yes it is insanely complicated. Here's how to do what you want:
In the left column of the admin area, click: 'templates"
You will see your template list.
Click on the [+] 'add template' button. this will create a new blank template. In the 'main' area make sure you put a {CONTENT} replacement tag. Add any other HTML or CSS elements you want to include on your page. Click the 'save template' button at the bottom.
In the left column of the admin area, click: 'site structure"
You will see your category list.
Click on the 'edit' button way to the right of the category name.
More than halfway down the page for your category, you will see a menu with the title: 'template'. Choose the template you just created from the list. Click the 'send category data' button at the bottom.
That's it. If you now preview your category page, you should see a list of articles for just that category.
EDIT: I should have added that you will want to put in whatever menu code you are using in the new template. I have found the phpwcms menus ({NAV_TABLE_COLUMN}, etc.) to be limited and have used my own html menus.
In the left column of the admin area, click: 'templates"
You will see your template list.
Click on the [+] 'add template' button. this will create a new blank template. In the 'main' area make sure you put a {CONTENT} replacement tag. Add any other HTML or CSS elements you want to include on your page. Click the 'save template' button at the bottom.
In the left column of the admin area, click: 'site structure"
You will see your category list.
Click on the 'edit' button way to the right of the category name.
More than halfway down the page for your category, you will see a menu with the title: 'template'. Choose the template you just created from the list. Click the 'send category data' button at the bottom.
That's it. If you now preview your category page, you should see a list of articles for just that category.
EDIT: I should have added that you will want to put in whatever menu code you are using in the new template. I have found the phpwcms menus ({NAV_TABLE_COLUMN}, etc.) to be limited and have used my own html menus.
That's closer!
I'm still having problems making this happen, and I guess what I need is some nuts and bolts instructions on this script. My client has 1500 pages of documents grouped into ten different categories that he wants me to post in such a way that he can edit them easily. Each document has a corresponding audio (MP3) file to listen to. Unfortunately, I don't have enough information about the functions that happen within this script to make it do that for me. I've spent three days working with this and I think I'm closer to what I need (although I do dislike the navbar setup a bit), but I'm frustrated that I can't connect all the dots to make the content display as needed.
If I create a blank template with just {CONTENT} in the main box, I end up with a blank white page when I go to that category. It seems that the navbar function works great, but I can't get it to talk to the content (main) window.
If I create a blank template with just {CONTENT} in the main box, I end up with a blank white page when I go to that category. It seems that the navbar function works great, but I can't get it to talk to the content (main) window.
-
- Posts: 69
- Joined: Fri 2. Jul 2004, 01:46
- Contact:
Still working on this...
Yes, I created a new template with nothing except {CONTENT} in the main window, and named it Studies. Then I went to the category and changed the template to the one I just created (Studies). There are articles and subcategories inside this one category, mind you. Anyway, the blank template gave me a blank page until I created an article and put it in that category.
Okay, so that much I now have under my belt. But I have a subcategory where I would like the content to be the list of articles in that subcategory. How can I make that happen?
And thanks for taking the time to help me, I do appreciate it. I checked out your website, too, VERY classy!
Okay, so that much I now have under my belt. But I have a subcategory where I would like the content to be the list of articles in that subcategory. How can I make that happen?
And thanks for taking the time to help me, I do appreciate it. I checked out your website, too, VERY classy!
-
- Posts: 69
- Joined: Fri 2. Jul 2004, 01:46
- Contact:
The page for your category will automatically display a list of all the articles in that category (add some more articles to see this).
-and-
To make a list of articles in a specific category display on a page other than the category page, you use the 'Article List" Content Part. Content parts are like little modules that allow you to format how your articles display--they are not intuitive but they are very powerful. When you create articles there is a drop down menu with the words "add content part" to the right of it. Article List is in there. Just add one to any article to add an article list from any category.
-and-
To make a list of articles in a specific category display on a page other than the category page, you use the 'Article List" Content Part. Content parts are like little modules that allow you to format how your articles display--they are not intuitive but they are very powerful. When you create articles there is a drop down menu with the words "add content part" to the right of it. Article List is in there. Just add one to any article to add an article list from any category.