I would like to know if there is a module or a way to list a few lines of each of the top 10 articles on the main page.
Go to www.strictlybowhunting.com. You will see I have the first few lines of the top X number of articles. It is hard to explain. I haven't seen anything in Zikula that can do it so far but I am new to the technology.
Appreciate the help.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Subset of articles on main page
-
- Rank: Registered User
- Registered: Feb 12, 2010
- Last visit: Feb 15, 2010
- Posts: 38
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
when you say 'top' articles, do you mean most recent? If so, you could probably accomplish this with a simple template override. -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Do you mean the featured article block? That can be done with the News 251 module. You can add a weight property to some articles and in a storiesext block select sorting based upon weight and let the hometext show for a number of words.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Registered User
- Registered: Feb 12, 2010
- Last visit: Feb 15, 2010
- Posts: 38
-
- Rank: Registered User
- Registered: Feb 12, 2010
- Last visit: Feb 15, 2010
- Posts: 38
I loaded it and it seemed to load funny. I had errors all over my screen. I did initialize and it appears to be installed correctly. When I went to create a block I did not see a storeisext block option.
Any ideas? -
- Rank: Developer
- Registered: Feb 23, 2005
- Last visit: May 09, 2010
- Posts: 399
Hi Jen, What version of Zikula are you using?
Is it 0.7.6.2? If thats correct its vital you upgrade now. I've read the other threads you got on these forum and nothing is going to work unless you do upgrade. Also no one is going to be able to give you support on a version that is that many years old.
See your version information here:
http://www.strictlyb…re&filetype=credits
edited by: denisrf, datetimebrief -
- Rank: Registered User
- Registered: Feb 12, 2010
- Last visit: Feb 15, 2010
- Posts: 38
Well I am finally getting around to doing the upgrade from PN to Zikula. Right now I got the latest version running with the right module to get this featured article working. Unfortunately it is giving me some headaches. Can someone do a screen print of how a block would be configured for a featured article so I can move past this issue?
Thanks...
Jen -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Hi,
You can use the weight attribute of an article to get that sorted above the other articles that are sorted by date.
You can set a weight above 0 for an article and select sorting of the articles based upon weight in the admin settings of News.
Within the storiesext block you can also select to sort based upon weight and the article that has a weight attribute above 0 will rise above the others with lower weight. When editing an article you can "unfold" the extra setting of an article below the text and there you can also set the weight.
BTW the topic is quite old
you might consider the next time opening a new one.
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Registered User
- Registered: Feb 12, 2010
- Last visit: Feb 15, 2010
- Posts: 38
Yes I saw the wt attribute. What I am looking for is where I can take a featured article and put it in its own block. In the past that could be done by using the module Featured article. What I ended up with is Featured article - forum - list of x amount of article in that order on the page. -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
You can make a storiesext block based upon the weight sorting and only display one article with a weight > 0. That article is then featured and will be shown in that block.
--
campertoday.nl, Module development, Dutch Zikula Community
- Moderated by:
- Support
