Child pages
  • Direct Link to Category
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/2f63ff71d56234db#

I'd like to know how to link to a category using it's ID, and not it's URL.

2 Comments

  1. This is done by specifying "*template*" parameter value of "*m_Link*" tag in
    such format:

       - *id:<CATEGORY_ID>*, e.g. id:555 will show url to category with id =
       5555

    There is also an optional "*use_section*" parameter of "*m_Link*" tag, that
    allow to build url to category/section by it's location in structure. That
    will only have effect for categories, that represent actual templates on
    disk, like "link_detail.tpl".

  2. thank you for fast answer !

    2010/10/8 Alexander Obuhovich <aik.b...@gmail.com>