Loading...
 
Skip to main content

Features / Usability


modules in blogs

Hello,

I have problem with modules in blogs in Tiki 9.3.
I Have 5 blogs in my Tiki. And I need to assign one user modul to one blog.
I need display in right column of each blog another module.
I didn´t find any parametr in configuration modules -> visibility, that would help me.

Anyone have a solution or a fix ?
Thanks for your help.


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.