Zwooky Posted January 24, 2013 Share Posted January 24, 2013 Zná někdo správnou syntaxi pro vygenerování názvu stránky v CMS? Nehci tam tu H1 přeci cpát furt ručně přes wisiwig. Něco jako <h1>{$product->name|escape:'htmlall':'UTF-8'}</h1> je v product.tpl, akorát do cms.tpl díky Link to comment Share on other sites More sharing options...
JAKCRABBIT Posted January 24, 2013 Share Posted January 24, 2013 Zkus: {$cmspages->name|escape:'htmlall':'UTF-8'} nebo: {$cmspages.title|escape:'htmlall':'UTF-8'} Link to comment Share on other sites More sharing options...
Zwooky Posted January 24, 2013 Author Share Posted January 24, 2013 Zkus: {$cmspages->name|escape:'htmlall':'UTF-8'} nebo: {$cmspages.title|escape:'htmlall':'UTF-8'} Tak bohužel ani jedno. Zkusil jsem to na dvou shopech 1.5.3.1 a 1.4.8.2 Nechápu proč to tam není defaultně. Link to comment Share on other sites More sharing options...
Zwooky Posted February 1, 2013 Author Share Posted February 1, 2013 tak to furt dělám ručně :-/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now