...
Code Block | ||||
---|---|---|---|---|
| ||||
INSERT INTO !PREFIX!_news_log ... gets INSERT INTO con_pi_news_log ... |
CONTENIDO default plugins.
CONTENIDO provides bundle of different standard plugins.
Smarty Wrapper
Smarty wrapper provides smarty template engine for CONTENIDO Backend and Frontend.
After installation of plugin smarty template can be used in CONTENIDO Modules or Plugins.
Code Block | ||
---|---|---|
| ||
//get smarty frontend or backend template object via singleton pattern
$tplFrontend = cSmartyBackend::getInstance();
$tplBackend = cSmartyFrontend::getInstance();
//assign some data and display template
$tplFrontend->assign("some_value_key", $some_value);
$tplFrontend->display("templates/some_template.tpl"); |
Advanced mode rewrite:
Advanced mode rewrite plugin aka. AMR provides rewriting of default CONTENIDO url's to SEO friendly url's.
AMR is high configurable plugin, you can set how your url should looks like.
Example: show language in url or url ending with index.html etc.
Tip |
---|
Always activate this plugin after CONTENIDO installation. Url's looks nicer and human readable. Url without AMR: www.some-url/cms/front_content?idart=1&lang=3 Url with AMR: www.some-url/cms/myniceurlcat/myniceurlart/index.html |