PDA

View Full Version : CMS Questions


Ziki
11-27-2011, 11:57 AM
Hey guys,

I never really used the CMS before and I am building a new site and so was looking through all the features and was wondering:

1. When opening the CMS, I have the list of the articles published in the middle. Is it possible to enable pagination or do I have to code it? I mean to be able to access even older articles that were published.

2. When using CMS sections, do the articles I post in separate sections also show up on the main CMS page? Like I post something in section 1 and 2 and the articles both show up on the homepage.

Thanks guys!

Lynne
11-27-2011, 04:15 PM
1. Edit the section > Pagination Links > Yes

2. They will if you have "Content From" set to "Include Sub-Sections"

Ziki
11-27-2011, 08:27 PM
Splendid Lynne, thank you very much, I will try it :)

--------------- Added 1322429645 at 1322429645 ---------------

Uh, I can't seem to find the option to enable pagination? :S

Lynne
11-27-2011, 08:40 PM
Go to your Home page > click the section edit pencil and it should be there.

Ziki
11-28-2011, 04:23 AM
Go to your Home page > click the section edit pencil and it should be there.

Ah, I was looking at the admincp, thank you Lynne!

Ziki
12-07-2011, 07:22 AM
Another thing I can't figure out. I have set up so that the sections show up in navbar. When in certain section, how do you configure it so that the sub-sections show up in the navbar as a submenu of that section? Thanks

Lynne
12-07-2011, 06:06 PM
There is no option to have dropdowns in the CMS submenu.

Ziki
01-22-2012, 04:07 PM
Hm, does anybody know of a way to achieve the dropdowns? I have tried editing the packages/vbcms/navbar.php with no luck...

Lynne
01-22-2012, 06:39 PM
Have you tried just editing the template vbcms_navbar_link ?

Ziki
01-22-2012, 06:44 PM
Yeah, well I can add it manually. I just wanted something that would check if the category that is being added has a child and if yes, change into a dropdown. The code I had, didn't work but unfortunately I deleted it. I knew I added it into the function of the file described above and used the function getChildNodes but that threw out an error (something to do with $this cannot be used there).

But I guess I'll have to do it manually :p