Loading...
 
Skip to main content

Features / Usability


You are viewing a reply to modules in blogs

Re: modules in blogs

Thanks Rick.
I think you've put me on the right track.
But I want to have:
in blog #1 visible modules: last_blog_posts, blog_last_comments,
in blog #2 visible modules: menu1, featured_links , youtube, pool1
........
All modules must be visible for anonymous user.
If I use section parameter I can´t set independent blog.

There is any solution?

Yes, but you'll need to:

  1. create a single custom module
  2. add some Smarty syntax to check for the appropriate blog ID number
  3. use the module pluginQuestion to include the specific modules to display.


Something like this should work:

Copy to clipboard
{if $blogId eq '1'} {module module="last_blog_posts"} ... {elseif $blogId eq '2'} {module module="featured_links"} ... {/if}


Or, maybe there's a cleaner way to do this with Perspectives?

HTH,

- RickQuestion | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.comQuestion
Tiki for SmartiesQuestion, your source for the best (and only) Tiki books, guides, and tutorials.