Sobi2
FAQ
Templates & Design
How to use tags/meta keywords |
Located in Templates & Design | Editing, Publishing |
|
|
|
| Written by Sigrid Suski |
| Last updated on Thursday, 6 August 2009 |
Tags in SOBI2 are created from the meta keys which the user has entered in add entry form. To display those tags in the templates, the following code is needed:
<?php echo HTML_SOBI::showTags( $mySobi->metakey ); ?> This will show the first 5 entered meta keys. This function gets as second parameter the number of tags to display so You can also write: <?php echo HTML_SOBI::showTags( $mySobi->metakey, 20 ); ?> See also: Template Commands How the meta data are build in SOBI 2
Examples: See this FAQ section or the Download Directory |
| Published on Sunday, 30 March 2008. Visited 4959 times. |
| < Prev | Next > |
|---|
| Powered by Sigsiu.NET | ![]() |
Visitors: