[3294] | 1 | <h2>Extended Description</h2> |
---|
| 2 | |
---|
| 3 | <h3>Multilanguage descriptions</h3> |
---|
| 4 | |
---|
| 5 | <p>Multilanguage descriptions are placed between [lang=xx] and [/lang] tags, where xx is the language code (for example en, es, fr). There is also 2 special languages : [lang=default] and [lang=all]</p> |
---|
| 6 | |
---|
| 7 | <ul> |
---|
| 8 | <li><b>Example</b>:<br> |
---|
| 9 | <br> |
---|
| 10 | <code>[lang=default] default description [/lang]<br> |
---|
| 11 | [lang=en] description in english [/lang]<br> |
---|
| 12 | [lang=de] deutsche Beschreibung [/lang]</code> |
---|
| 13 | </li> |
---|
| 14 | </ul> |
---|
| 15 | |
---|
| 16 | <p>The default description will be used if the description is not available in the connected user selected language. |
---|
| 17 | If [lang=default] does not exists, anything outside the [lang] tags will be considered as the default description.</p> |
---|
| 18 | |
---|
| 19 | <p><u>Special language <i>all</i></u>: anything inside [lang=all] will be included in the description, anywhat the connected user defined language is. |
---|
| 20 | This is mainly useful to include HTML/JavaScript code inside a description.</p> |
---|
| 21 | |
---|
| 22 | <h3>Extended descriptions</h3> |
---|
| 23 | |
---|
| 24 | <p>Extended description tags make it possible to have a short description for the category outside the category, |
---|
| 25 | a longer description for the category inside the category page, |
---|
| 26 | or even 2 distinct descriptions inside the category page.</p> |
---|
| 27 | |
---|
| 28 | <p>tag <!--more--> adds text to the short description.<br> |
---|
| 29 | tag <!--complete--> let the user have 2 distinct descriptions.<br> |
---|
| 30 | tag <!--up-down--> let the user have a top and a bottom description.</p> |
---|
| 31 | |
---|
| 32 | <ul> |
---|
| 33 | <li><b>tag <!--more--></b></li> |
---|
| 34 | </ul> |
---|
| 35 | <code>short description <!--more--> long description</code> |
---|
| 36 | <p>Only the short description is displayed outside the category. On the category page, you will see short description + long description.</p> |
---|
| 37 | |
---|
| 38 | <ul> |
---|
| 39 | <li><b>tag <!--complete--></b></li> |
---|
| 40 | </ul> |
---|
| 41 | <code>short description <!--complete--> long description</code> |
---|
| 42 | <p>Only the short description is displayed outside the category. On the category page, you will only see the long description, so you have 2 distinct descriptions.</p> |
---|
| 43 | |
---|
| 44 | <ul> |
---|
| 45 | <li><b>tag <!--up-down--></b></li> |
---|
| 46 | </ul> |
---|
| 47 | <code>top description <!--up-down--> bottom description</code> |
---|
| 48 | <p>Only the top description is displayed outside the category. On the category page, the top description is displayed above the thumbnails, the bottom description is displayed below the thumbnails.</p> |
---|
| 49 | |
---|
| 50 | <h3>Insert a category or a photo</h3> |
---|
| 51 | |
---|
| 52 | <ul> |
---|
| 53 | <li><b>tag [cat=xx]</b></li> |
---|
| 54 | </ul> |
---|
| 55 | <p>This tag inserts a category in the description, where xx is the category identifier.</p> |
---|
| 56 | |
---|
| 57 | <ul> |
---|
| 58 | <li><b>tag [img=xx1 xx2 xxN;yyyy;name]</b></li> |
---|
| 59 | </ul> |
---|
| 60 | <p>This tag allows to insert one or more thumbnail in the description, with:<br><br> |
---|
| 61 | - xx the photo identifier; you can add the category identifier next to the photo identifier: <code>xx.ccc</code>. |
---|
| 62 | <br> |
---|
| 63 | - yyyy (optional) : can take any value among {left, right}.</p> |
---|
[7015] | 64 | - name (optional) : can take any value among {name, titleName}. If tagged, with <i>name</i> the name of the picture is diplayed under the thumbnail, with <i>titleName</i> the image markup <title> is fill with the name.</p> |
---|
[3294] | 65 | |
---|
[7015] | 66 | |
---|
[3294] | 67 | <h3>Hide a category</h3> |
---|
| 68 | |
---|
| 69 | <p>Use tag <b><!--hidden--></b> in the category name:<br> |
---|
| 70 | <br> |
---|
| 71 | - it won't be displayed in the parent category<br> |
---|
| 72 | - it remains visible in the category menu</p> |
---|
| 73 | |
---|
| 74 | <h3>Hide a category in menu</h3> |
---|
| 75 | |
---|
| 76 | <p>Use tag <b><!--mb-hidden--></b> in the category name:<br> |
---|
| 77 | <br> |
---|
| 78 | - it won't be displayed in the category menu<br> |
---|
| 79 | - it remains visible in the parent category</p> |
---|
| 80 | |
---|
| 81 | <h3>Hide an image</h3> |
---|
| 82 | |
---|
| 83 | <p>Use tag <b><!--hidden--></b> in the image name:<br> |
---|
| 84 | <br> |
---|
| 85 | - it won't be displayed on the thumbnails page<br> |
---|
| 86 | - it remains visible inside the category</p> |
---|