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
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- craigh responded to »Using PageUtil::addVar() to load script code« 03:29 PM
- 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
Quick Question About Dizkus Block
-
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
-
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
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 -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
-
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
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 -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
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 -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
-
- Rank: Developer
- Registered: Aug 15, 2002
- Last visit: May 21, 2010
- Posts: 149
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... -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
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 -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1967
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. -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
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 -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
-
- Rank: Softmore
- Registered: Dec 31, 1969
- Last visit: May 25, 2010
- Posts: 326
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 -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
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 -
- Rank: Softmore
- Registered: Dec 31, 1969
- Last visit: May 25, 2010
- Posts: 326
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 -
- Rank: Softmore
- Registered: Jul 10, 2006
- Last visit: May 21, 2010
- Posts: 315
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
- Moderated by:
- Support
