incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Gao (JIRA)" <j...@apache.org>
Subject [jira] Created: (JSPWIKI-237) WeblogEntryPlugin 'title' parameter not working
Date Wed, 09 Apr 2008 04:03:24 GMT
WeblogEntryPlugin 'title' parameter not working
-----------------------------------------------

                 Key: JSPWIKI-237
                 URL: https://issues.apache.org/jira/browse/JSPWIKI-237
             Project: JSPWiki
          Issue Type: Bug
          Components: Plugins
    Affects Versions: 2.6.2
         Environment: Build: JSPWiki v2.7.0-svn-6  
            Reporter: David Gao
            Priority: Minor


Hi,

The 'title' paramter is not working for blog plugin. The functionning paramter is 'entrytext'
. The parameter 'entrytext' is  defined in file _WeblogEntryPlugin.java_ instead.
{quote}
public static final String PARAM_ENTRYTEXT = "entrytext";
{quote}


Solution:
Change the setting in file _src/webdocs/applets/WiWi-INF/extensions/core-plugins.xml_

updated snip:
====================================
			<NAME>Weblog (Blog)</NAME>
			<CODE>
!Main Blog
[{WeblogEntryPlugin entrytext='New Entry'}]
------
!Entries of the last 30 days
[{INSERT WeblogPlugin page='Main' days=30}]
	        </CODE>
		</ITEM>
====================================

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message