Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Goto page: [-1] 1 - 2 - 3

Bottom
Displaying news from selected few topics?
  • Posted: 13.03.2008, 16:49
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    464
    Uhm what block are you talking about. There is in the NOC:
    1) Extended Story Title block in the storiesext NOC (storiesext). A block that displays story titles with a lot more options. If you want this block to display in more places you will have to set the block positions correctly. I will update the downloadable version in the NOC, since I have made some improvements.
    2) Content plugin with the options of 1) in the News value addons entry in the NOC (news noc)
    3) Feature story block in the making in the storiesext NOC.


    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 01.09.2008, 02:31
     
    ToonDawg
    rank:
    Softmore Softmore
    registered:
     April 2006
    Status:
    offline
    last visit:
    08.09.08
    Posts:
    73
    Hi Erik - I am using extended blocks in Zikula 1.02, and news stories, regardless of status (pending, rejected, published, or archived), are showing up. "Publish on news front page" is an option that is automatically checked when the news is submitted, and that is how I have my extended blocks set up. Obviously I don't want rejected or pending articles showing up. Help? icon_confused



    edited by: ToonDawg, Sep 01, 2008 - 02:32 AM
  • Posted: 01.09.2008, 10:06
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    464
    Hey, you used the v2 for Zikula 1.0.2 right ? Just checking to be sure what where talking about.
    I dont think I took into account the status you are talking about. And neither does the regular Core News block which I used as basis for the block icon_wink
    Pending articles are also showing up ? I didn't expect that, mmhh that's not good. I think I will have to add the options to choose what to display or just skip pending, rejected and archived.
    You might want to file a ticket in Cozi with the storiesext block and the Core project so that it is not lost.

    I will come back on the issue. Give me some time icon_wink



    edited by: espaan, Sep 01, 2008 - 11:07 AM

    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 02.09.2008, 03:46
     
    ToonDawg
    rank:
    Softmore Softmore
    registered:
     April 2006
    Status:
    offline
    last visit:
    08.09.08
    Posts:
    73
    I'm using storiesext2p0.zip. I think that is the latest?

    Here's the ticket: http://code.zikula.org/storiesext/ticket/3

    Let me know if you need more information. FWIW, the rejected & pending stories aren't showing up on my news module, so I doublechecked to make sure there wasn't something going on with my News install.

    I am having a problem with users' submitted news going straight to Rejected status, but I assume that isn't related. But just in case it is, I thought I'd mention it. icon_wink

    http://community.zikula.org/index.php?module=Forum&func=viewtopic&topic=53885&highlight=
  • Posted: 02.09.2008, 11:10
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    464
    Working on it. The default stories block that comes with the News module also displays pending articles, mmhh. That is not good I will file a ticket for that one as well. Checking out the code, the status field is not checked when obtaining the articles, whereas the status field is checked with the normal news module index list. So that is why you only see published articles there.

    I will add the status field to the storiesext block. Then you can just select the ones you want listed.

    Damn, I get the same thing with submitted going directly into rejected, when testing icon_confused Added info to the forum topic. There is an error in the code icon_frown



    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 06.09.2008, 22:02
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    464
    Hey, I added the status (published as the default of course) selection to the storiesext block. Check out http://code.zikula.org/storiesext for the download of version2.1
    The default stories block is solved in the core project and will be in zikula1.0.3 when that comes out. See bug 228/229 in the core project.

    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl
  • Posted: 09.09.2008, 00:48
     
    ToonDawg
    rank:
    Softmore Softmore
    registered:
     April 2006
    Status:
    offline
    last visit:
    08.09.08
    Posts:
    73
    Thanks, works great!

    Another question - can the comments count come from EZComments, or do they only pull from the one that comes with the standard Zikula install?
  • Posted: 09.09.2008, 10:10
     
    espaan
    rank:
    Helper Helper
    registered:
     August 2003
    Status:
    offline
    last visit:
    19.11.08
    Posts:
    464
    The comment count in Zikula is only from EZComments, since that is the comment module for Zikula. But I think there is/was a small bug in this part with selecting the correct newsitem. I didn't test the code with EZComments myself yet. So that's why I didn't see the error.
    I updated the SVN code and added the package to the download section of storiesext. Version 2.2 should work ok with EZComments. Can you check and report if it doesn't work?

    --
    http://www.erikspaan.nl
    http://www.avwijchen.nl

    Involved in: BlankTheme, StoriesExt, Menu templates, SmugView and zikula.nl

Goto page: [-1] 1 - 2 - 3

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula