For Visual PHP™
<table style="width: 100%;" border="0" cellpadding="0" cellspacing="4">
<thead>
<tr style="font-weight: bold">
<th>Name</th>
<th>Producer</th>
<th>Price</th>
<th></th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="m_shop_catalogue.php?id=[id]">[name]</a></td>
<td>[producer]</td>
<td>[taxPrice]</td>
<td><a href="m_shop.php?m_shop_actionType=addItem&m_shop_tableName=m_shop_catalogue&m_shop_id=[id]">do košíku</a></td>
</tr>
</tbody>
</table>
Visual PHP™ allows you to create also complete tables by means of templates. When processing a template with one record, the <table> and the complete <thead> tags including nested tags will be inserted and further the <tbody> tag and its content without the </tbody> end will be inserted. During the subsequent processing of the template with the other records, only the <tr> tag and its content are inserted and </tbody></table> will be added at the end of the last record. A valid full-value table will be generated this way where all columns are aligned.$view == "table"This condition will distinguish which of the templates will be displayed. If the $view variable has a value of “table”, then only this template will be used. If it be to the contrary, the original template with images will be used because that template does not have set this condition.
http://www.domena.cz/m_shop_catalogue.phpand this URL for a tabular list:
http://www.domena.cz/m_shop_catalogue.php?view=tableNow we have only to place links to these 2 display modes in any place within the presentation (in the m_shop_catalogue layout as standard) so that also visitors can switch between the displays.
Some properties published in this article can only be functional with the latest core version. If you have any older core version, we recommend you to update to the latest version.
| Fotogalerie | 5/10/2012 |
| Section: Tvorba prezentací | |
| Chyba v hromadné korespondenci, nelze odeslat příloha (nová verze | 4/6/2012 |
| Section: Bug reporty | |
| AntiSpam obrázek | 4/6/2012 |
| Section: Programování | |
| Chyba při opravách textů | 4/4/2012 |
| Section: Bug reporty | |
| Admin může smazat Developera, je to ok? | 3/27/2012 |
| Section: Bug reporty | |
| Mapa webu | 3/19/2012 |
| Section: Tvorba prezentací | |
| Weather Component Update
november 18, 2011 |
|
Server weather.com decided to stop providing weather information for free and passed to the paid version (about $ 60 per month). For this reason, we were forced to modify the Weather component to pulling weather information from another data source, namely from the server www.worldweatheronline.com . This site also provides information about weather all around the world, but the amount of information is smaller than the original source. For proper functionality of the Weather component please update core to version 1.7.9.638. |
| Added new tutorials
october 4, 2011 |
|
He added new instructions Using another HTML editor |
English

