Fork me on GitHub

Subset of articles on main page  Bottom

  • 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.
  • when you say 'top' articles, do you mean most recent? If so, you could probably accomplish this with a simple template override.
  • 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
  • Yes that is what I was looking for. Thanks.
  • 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?
  • 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
  • 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
  • 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 icon_wink you might consider the next time opening a new one.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • 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.
  • 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

This list is based on users active over the last 60 minutes.