I get this message "You can safely remove the modulestylesheet plugin from your theme."
through experimentation, I have deduced that the call is coming from my pnForum centerblock on the main page. I've read the other posts in the forum about this issue and could hack the code of pnForum if required, but I am looking for a more elegant solution (template override doesn't work because there are no calls in the template I am using). So - anyone have any better ideas?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- 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
- mdee created topic »How to implement returnpage ?« 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
modulestylesheet plugin in pnForum centerblock issue
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
Either hack the code or do a SVN pull of Dizkus from Cozi.
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
Is the SVN of Dizkus ready for primetime? if it is, why do they not release it? -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
Usable and ready for release are not the same thing Craig. :)
--
Home Page | Find on Facebook | Follow on Twitter
-
- Rank: Registered User
- Registered: May 19, 2002
- Last visit: Oct 21, 2009
- Posts: 15
craigh,
to hack the code you only have to edit the file /modules/Dizkus/pntemplates/dizkus_centerblock_displayN.htm which are using and delete the line including the modulestylesheet tag. -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
rufo - I thought of that (see ref to template override above). But here is the code of the template you mention. Do you see something I don't? I don't see a call to a stylesheet.
Code
<!--[* $Id: pnforum_centerblock_display2.html 503 2006-03-11 13:56:52Z landseer $ *]-->
<!--[ readlastposts forum_id=$forum_id maxposts=$maxposts ]-->
<!--[ if $lastpostcount >
0 ]-->
<table width="100%" border="0" cellpadding="3" cellspacing="1">
<tr>
<td colspan="4" bgcolor="<!--[ $bgcolor2 ]-->">
<strong><!--[ $lastpostcount ]--> <!--[ pnml name='_PNFORUM_CB_RECENTPOSTS' ]--></strong>
</td>
</tr>
<!--[ foreach item=lastpost from=$lastposts ]-->
<tr>
<td bgcolor="<!--[ $bgcolor1 ]-->">
<a href="<!--[ pnmodurl modname=pnForum type=user func=viewforum forum=$lastpost.forum_id ]-->"><!--[ $lastpost.forum_name ]--></a>
</td>
<td bgcolor="<!--[ $bgcolor1 ]-->">
<a href="<!--[ $lastpost.last_post_url_anchor ]-->"><!--[ $lastpost.topic_title ]--></a>
</td>
<td bgcolor="<!--[ $bgcolor1 ]-->">
<!--[ $lastpost.posted_time ]--><br />
</td>
<td bgcolor="<!--[ $bgcolor1 ]-->">
<!--[ $lastpost.poster_name|profilelink ]-->
</td>
</tr>
<!--[ /foreach ]-->
</table>
<!--[ /if ]-->
<br /><br /> -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
I had to hack center.php
Code
function pnForum_centerblock_display($row)
{
[...]
if(pnModGetName() <> 'pnForum') {
// add the pnForum stylesheet file to the addtional_header array
//pnf_add_stylesheet_header(); <-- Commented out this line
} -
- Rank: Registered User
- Registered: Sep 08, 2009
- Last visit: Sep 11, 2009
- Posts: 5
Rufo, Craigh,
I have downloaded Zikula 1.1.2 and cannot find the file you mention: /modules/Dizkus/pntemplates/dizkus_centerblock_displayN.htm
How can I get rid off that message?
Thanks -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
since my original post was in February, I'm thinking it was before I upgraded to Dizkus. I would assume that it is fixed in the latest version of Zikula and Dizkus.
Your issue may not be related to Dizkus - you may have other old modules installed. what else do you have? have you UNinstalled pnForum? -
- Rank: Registered User
- Registered: Sep 08, 2009
- Last visit: Sep 11, 2009
- Posts: 5
Craigh,
I have installed the latest stabled version: 1.1.2. The message appeared when I installed the Funky_corporate Zikula theme from http://www.zikulathemes.com/gallery/Funky_corporate/
How do know if I have installed pnForum and how do I uninstall it?
Cheers,
Marco -
- Rank: Developer
- Registered: Dec 31, 1969
- Last visit: Jun 01, 2010
- Posts: 6859
Older themes have that code in them, best thing to do, get the theme from the extensions database here, all the ZIkulaThemes.com themes are in there, and edited to remove that code.
The Funky Corporate Theme that shoudl work fine can be found here.
--
Home Page | Find on Facebook | Follow on Twitter
- Moderated by:
- Support
