Loading...
 
 Error
  • Contact the site administrator. The index needs rebuilding.
Features / Usability

Features / Usability


Re: Re: modules in blogs

posts: 3665 United States

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 plugin 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,

- Rick | My Tiki Blog | My Tiki UserPage

Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
There are no comments at this time.