Loading...
 
Skip to main content

Features / Usability


Split article listing into two columns in a wiki page (homepage)

Hi Gary (and all the other tiki gods)!

I was trying a code suggestion of yours (found in the themes forum area) to get a two column article listing for a homepage.

===========
quoteyou wrote;
"""""
Personally, I use the Split plugin for two columns. You could certainly do something like;

Copy to clipboard
{SPLIT()} {ARTICLES(start=>44,max=>1)}{ARTICLES} --- {ARTICLES(start=>2,max=>1)}{ARTICLES} {SPLIT}

"""""
/quote
===========
I just did a cut/paste of the above on ahomepage. Sure enough, I got two columns, but they both displayed the SAME articles. Like this:


Tiki 30 LTS Is Here

Alain CISIRIKA -
🎉We are happy to announce the release of Tiki 30 LTS.

Another Tiki release is always more than a new version number. It is the result of months of coding, testing, fixing, reviewing, translating, documenting, and discussing, with contributions from people across the Tiki community. Tiki 30 continues that tradition while bringing the platform forward in several important areas.


As an LTS (Long-Term Support) release, Tiki 30 provides a stable foundation for organizations looking for a Tiki version to deploy and maintain for the coming years.

Modernization under the hood

A lot of work in Tiki 30 happens behind the scenes. Dependencies and development tools have been updated, older components have been replaced, and compatibility with newer versions of PHP and other technologies has been improved. This work may not always be visible, but it is important for keeping a platform that has been evolving for more than 20 years healthy and maintainable



I didn't see the "start" parm documented anywhere, but I was guessing that it was sort of an "offset" or something.

I'd like to have two columns, but show the first 5 (or so) articles on the left of the wiki page, then continue with articles 6 thru (say) 10 on the right column of the split wiki page.

Am I making any sense? Can you or anyone assist with a hint?

(btw/ what is the purpose and syntax of the "start" parameter?)

Regards, -sd


FYI... This is the actual code I am using... (~no joy)

Copy to clipboard
{SPLIT()} {ARTICLES(start=1,max=5)}{ARTICLES} --- {ARTICLES(start=6,max=10)}{ARTICLES} {SPLIT}


TIA, -sd


As far as I can tell, there's a bug in the plugin and the start parameter isn't having any effect. Probably a bug report should be submitted at http://dev.tikiwiki.orgQuestion .

-- Gary


THanks Gary. Bug in which plug? Split or Articles? Articles, correct? I've never done a bug report here, but I'll have a go at it now... Thanks again.