question about FAQ 71

Documentation is as important as the rest of the code, so if something is unclear, missing or just plain wrong, please tell it.
Nucleus Guru
Nucleus Guru
Posts: 7430
Joined: Wed Feb 22, 2006 6:19 pm
Location: Massachusetts

question about FAQ 71

Postby ftruscot » Mon May 22, 2006 3:45 pm

This is the "How do I change the number of items displayed on my main page?" FAQ. It uses a form of the <%blog%> skinvar that is not in the documentation, and gives me a blank page.

It describes the <%blog%> skinvar as

Code: Select all

The "1" is the blogid, the "default/index" is the template used and the "20" is the number of items to display. Just change the "20" to the number of items you want displayed.

<%blog%> doesn't take a blogid parameter, does it? This is almost the <%otherblog%> skinvar, except blogid should be the blog shortname. I wanted to point someone to the FAQ, but it might confuse newbies.
User avatar
Nucleus Guru
Nucleus Guru
Posts: 2827
Joined: Sun Sep 19, 2004 2:34 am
Location: Australia

Postby Leng » Sun May 28, 2006 10:08 am

Hrmm...this was one of the earlier FAQs I wrote so it's possible I may have messed up the syntax or confused blog with otherblog. In any case, I have amended the FAQ now:
Image | To-Do List
Questions? See the FAQ, read the docs, or browse our plugins!!

Return to “Documentation”