Loading...
 
Skip to main content

Features / Usability


Catagory selection problems

Hello!

I was wondering if someone could point me in the right direction with the following problems.


What i would like to create is a main page on wich I display the latest article from each catagorie.

In my test case the main catagorie(page) is called Lifestyle, wich contains the catagories Gadgets and Lifestyle, with both containing some articles and reviews.

The site i am trying to refurbish is shown here: http://www.studenten.net/content/maintype.asp?mte_id=0Question


Any help is welcome!

thanks
Thomas


You could make Articles Topics (and/or Tiki Categories) such as "Lifestyle" and "Gadgets," and then use the Articles wiki plugin several times on the page to display the most-recent news article in each Topic.

(There seems to be some redundancy in Tiki regarding Article Topics and Tiki Categories. "Topic" is the way Tiki's CMS articles are categorized but is used only for articles, and the Articles plugin can use topic as a parameter. Each article can also be categorized (in a Tiki Category), which is useful when the user wants to see all items (articles, wiki pages, galleries, etc.) of a similar content type (i.e., in the same Category). Category can also be used as a plugin parameter to limit the articles displayed.)

There are different options for organizing and displaying the content at the bottom of the page, and the pages linked from there. I imagine divs can be made and populated with images and text manually to duplicate the function and appearance of your existing page. This would mean this section would have to be updated by hand, though.

The listings on http://www.studenten.net/content/category.asp?mte_id=0&cge_id=291Question look a lot like a Tiki articles page. Again you can use the Articles plugin on a wiki page to display only the topic/category and number of articles that you want on this page.

You can make new article types that don't display dates, article size, author, etc., so the appearance can be much like your current page. Then http://www.studenten.net/content/artikel.asp?mte_id=0&cge_id=291&akl_id=4090Question would be a Tiki article, again maybe with the type modified to eliminate unwanted information.

I hope this helps. Post again with more details if I'm misunderstanding something.

-- Gary - themes.tw.oQuestion



Hello Gary,


thanks, your explanation looks very good, now for me to find out how all those things work 😊

I have created the Tiki Categories "Lifestyle" and "Gadgets But and now I am struggeling how to use the Articles wiki plugin several times on the page, let alone how to display the most-recent news article in each Topic.

But, when i was on IRC yesterday, sylvieg gave me the tip of mod-last_articles.php, still I have still no clue on how to intergrate..

If you have any more hints I am very interesseted. Now i am going to check http://dev.tikiwiki.org/tiki-index.php?page=Hello+WorldQuestion 😊

Grz,
Thomas

My suggestions use only wiki pages, so no template or php files need to be touched. In a wiki page, you can use the Articles plugin, like this:

Copy to clipboard
{ARTICLES(max=>1,categId=>1)}{ARTICLES} {ARTICLES(max=>1,categId=>2)}{ARTICLES} {ARTICLES(max=>1,categId=>3)}{ARTICLES}

On your Admin Article Types page (/tiki-article_types.php) you can make a simpler article type to get rid of extra information, to make the items display like your current page.

This is the basics of using the Articles plugin in a wiki page, so it can be done without any file editing.

-- Gary



Gary, it seems to work very nice!

Now I have one more question:

How to create the left menu with links, should I use a template which I have to include?
And how do you suggest that I recreate the style ( although there is a new style allready developed) See the attachement