« Return to Thread: blojsom 3 plugins (show-me-more,pager,bookmarlet,param2ctx)

Re: blojsom 3 plugins (show-me-more, pager, bookmarlet, param2ctx)

by David Czarnecki :: Rate this Message:

Reply to Author | View in Thread

Dan-

I didn't carry over the bookmarklet plugin to blojsom 3 ... Yet.

The 2 mbledug plugins are 3rd party plugins. The author may or may not
choose to update them for blojsom 3.

However, the pager plugin is sort of taken care of with blojsom's
SkipEntriesFilter. For example,
<http://your.site.com/blojsom/blog/default/skip/2/> (alternatively,
<http://your.site.com/blojsom/blog/default/?pg_num=2>. That'll take you to
the next page of 15 entries ... And so on.

Just need to write a plugin to say output the number of pages available and
output the current page. I created an issue for myself,
<http://jira.blojsom.com/jira/browse/BLOJSOM-157>.

Show me more needs a migration to blojsom 3.

Date tool plugin is available in the add-on bundle. So, you could use the
following (note the correct plugin class name):

<bean id="date-tool"
        class=" org.blojsom.plugin.tools.DateToolPlugin"
          init-method="init"
           destroy-method="destroy"/>


On 10/5/06 4:59 PM, "Dan Harth" <danharth@...> wrote:

>
> I notice in the new spring/hiberate implementation that many properties files
> have been convert to XML in many cases. Particularlly the blojsom-plugin.xml
> ,and it does not have any reference to the following plugins
> 1) bookmarlet
> 2) pager
> 3) param2ctx
> 4) show-me-more (set)
> 5) date-tool
> I was wondering if this plugin functionality still is available for the
> above plugins with blojsom 3? I see a database table called Plugin which
> seems to set-up the specific plugins per blog (blogId).
> Yet, in the case of page and show-me-more theses plugins have additional
> property files specific to the plugin
> (ie... pager.properties & showmemore.properties)
>
> If functionality still exists for about mentioned plugins? do we still use
> the two above *.properties files as opposed to a database table?
>
> Will simply adding the following to  blojsom-plugin.xml  then setup the
> plugins to work and evenually can be added to a specific blog?
>
> <bean id="bookmarklet"
>        class="org.blojsom.plugin.admin.BookmarkletPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="pager"
>        class="com.mbledug.blojsom.plugin.pager.FilterPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="param2ctx"
>        class="com.mbledug.blojsom.plugin.param2ctx.Param2CtxPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="show-me-more"
>        class="org.blojsom.plugin.showmore.ShowMeMorePlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="show-me-more-admin"
>        class="org.blojsom.plugin.showmore.admin.ShowMeMoreAdminPlugin"
>          init-method="init"
>           destroy-method="destroy"/>
>
> <bean id="date-tool"
>        class="org.apache.velocity.tools.generic.DateTool "
>          init-method="init"
>           destroy-method="destroy"/>
>
>
> Thank You
>
> Dan

--
David Czarnecki

http://www.blojsom.com/blog/ | http://blojsom.sf.net



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-developers mailing list
Blojsom-developers@...
https://lists.sourceforge.net/lists/listinfo/blojsom-developers

 « Return to Thread: blojsom 3 plugins (show-me-more,pager,bookmarlet,param2ctx)