SimplePortal
Customization => Custom Coding => Topic started by: Snoopix on January 17, 2014, 01:41:56 AM
-
Hi guys, i want show a certain categories but i don't know how do it
if disable "Publish on Portal" on "edit category" options, then i can't add topics as article using this category and display this category on a block...
maybe the question has already been solved, but not found, sorry =/
-
This requires customization.
I have customized the portal page to not show the articles.
Then I added a couple of article blocks.
I used a customized article block -- one which can show just one category of article.
I think that, in the future, I would hope to see
1) The portal page be like any one of the simpleportal pages, not forcing articles into the central section of the page.
2) An article block which permits making a selection of one, several, or all categories of articles.
I will be excited to find out what will be developed in the next version of Simple Portal.
-
If you want to be able to add articles to categories that are not published on portal, this change should do it:
Sources/PortalArticles.php
$context['list_categories'] = getCategoryInfo(null, true);
$context['list_categories'] = getCategoryInfo(null, false);
And I think I've added the option to choose a particular category to display for articles block in the recent versions.
-
Silly, silly me. I need to get with the updates, and stop using my out-of-date custom block!
Thanks, [SiNan].