Fork me on GitHub

Quick Question About Dizkus Block  Bottom

Go to page 1 - 2 [+1]:

  • Hello all, and Happy Easter.

    I just had a quick questions about creating a block to display the latest posts in my discussion forum.
    I went into Blocks and created a new one using "Dizkus forums/Dizkus recent posts" and went into the settings for the block. The template being used is "dizkus_centerblock_display.html" and the parameters I put in was "maxposts=2,forum_id=1".
    Unfortunately, in the block on the home page it says "No Posts" even though there have been a couple of new posts in the past little while. The "Go To Forum" link also points to the main Dizkus forum, rather than to the forum that I set up. I would like to change that as well.
    Any suggestions would be appreciated.

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • I changed the parameters back to the default of "maxposts=5" and it's still not showing up... any suggestions?

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • Have you tried clearing your cache?
  • Hi Michael, I hope you had a great Easter.
    I cleared the site cache and my browser cache (secretly hoping that it wasn't something that simple) and it's still not working.
    I have installed Feeds 2.5 to my site in hopes that it would resolve the issue but that didn't happen.

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • Anyone? Feeds isn't the solution. I tried adding cat_id=1 and forum_id=1 to the Parameters for the block and it still didn't work. Any suggestions?

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • Nobody?

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • Have you updated to the latest Zikula (1.2.7) and Dizkus (3.1) versions?

    Or are there any old Dizkus plugins/templates around?

    I tried adding and editing the center block over at the demo and it just did what it was supposed to do - show the last 2,3 or 5 postings from the selected forums.



    Edited by Roadrunner on May 23, 2011 - 12:21 AM.

    --
    Cheers, Sascha

    Philivision, Inc. - User of Zikula since 2002...
  • Hello Sascha,

    I am indeed using Zikula 1.2.7 and Dizkus 3.1. I tried deleting the block and adding a new one and it's doing the same thing. I tried it in the center column as opposed to the left and it's doing the same thing.
    You said that you edited the center block (presumably dizkus_centerblock_display.html) and I was wondering what changes you made. I also tried the different files for layout (dizkus_centerblock_display.html, dizkus_centerblock_display2.html and dizkus_centerblock_display3.html) also with no success.

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • Quote

    Or are there any old Dizkus plugins/templates around?

    you should check your theme and the config directory for overrides that might be in use.
  • Hi Craig,

    It doesn't look like there are any overrides. I checked the page configuration for the "master.ini" file and everything was set to "Default Module" with that as the only option.

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • *Bump* Anyone?

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • I'm using the latest topic block on the site in my signature and it works as expected. I just check the block configuration and all I have for parameters is
    maxposts=15

    I've got the template dizkus_centerblock_display.html over-ridden in my theme, here it is.

    dizkus_centerblock_display.html

    Note to forum admins: had to link to this because every time I use the quote or code buttons to quote template contents I get a JSON error and the page crashes my browser.



    Edited by damon on Jul 05, 2011 - 09:41 PM.

    --
    Damon
    Catamaran Sailing at TheBeachcats.com
  • I removed the "forum_id=1" parameter and cleared the cache and still have the same problem. What do I change in "dizkus_centerblock_display.html" to override the theme?

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other
  • Just place your custom dizkus_centerblock_display.html into the directory

    /themes/YourTheme/templates/modules/Dizkus

    while you are clearing your cache make sure you are also deleting compiled templates in theme settings and also the rendering system.

    /index.php?module=pnrender&type=admin

    Just for kicks you could check the boxes in theme setup
    x Check for updated version of templates
    x Force templates re-compilation

    and in pnRender settings
    x Compile check
    x Force compilation

    and turn off all caching.

    --
    Damon
    Catamaran Sailing at TheBeachcats.com
  • I tried that and it still didn't work. I'm not going to worry about it too much for now, it's not urgent. I think I'm just going to wait until I upgrade to 1.3.0. Thanks for your help everyone.

    --
    Christopher Pelletier
    NorthumberlandView.ca
    A View Like No Other

Go to page 1 - 2 [+1]:

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