Documentation

Powered by Minitek FAQ Book

Examples

1. Subscribe to an article

Shortcode
{mcnotifications layout="default" option="com_content" item="auto" item_params="f,b,e,t"}

Output


2. Subscribe to an article and/or a category

Shortcode
{mcnotifications layout="default" option="com_content" item="145" item_params="f,b,e,t" category="63" category_params="f,e,t"}

Output


3. Subscribe to a category

Shortcode
{mcnotifications layout="default" option="com_content" category="auto" category_params="f,b,t"}

Output


4. Subscribe to a tag

Shortcode
{mcnotifications layout="dropdown" option="com_content" tag="auto" tag_params="f,b,e,t"}

Output


5. Subscribe to an article and/or a tag

Shortcode
{mcnotifications layout="default" option="com_content" item="23" item_params="f,b,e,t" tag="45" tag_params="f,b,e,t"}

Output for non-logged in users


6. Subscribe to an author

Shortcode
{mcnotifications layout="default" option="com_content" author="356" author_params="f,e,t"}

Output


7. Inside a PHP file

You can also use shortcodes inside PHP files and insert IDs dynamically. For example:

{mcnotifications layout="default" option="com_content" item="<?php echo $item_id; ?>" item_params="f,b,e,t"}
Was this helpful?
Loading...
0