Page 1 of 1

setting for view joomla php file topstyle

Posted: Mon Aug 06, 2012 5:38 pm
by lionelts
i have a form in a php file on local joomla server .Howto configure topstyle to be able to see html element in topstyle without php syntax tag ?
does topstyle support hide all <?php whatever anything code ?> locate in value attribute or as a value beetween html tag element type ( inside an a lik for example )
thank's

apache mapping
D:\EasyPHP-5.3.9\www
http://127.0.0.1:8080/

joomla mapping
D:\EasyPHP-5.3.9\www\j15un
http://127.0.0.1:8080/j15un

file import in topstyle
D:\EasyPHP-5.3.9\www\j15un\components\com_poll\views\poll\tmpl\default.php
"""<?php defined('_JEXEC') or die('Restricted access'); ?>
<?php JHTML::_('behavior.tooltip'); ?>
*******
"""""

Fatal error: Class 'JHTML' not found in D:\EasyPHP-5.3.9\www\j15un\clone\administrator\components\com_poll\views\polls\tmpl\_ts5tmp.php on line 3

Re: setting for view joomla php file topstyle

Posted: Thu Aug 09, 2012 4:15 am
by TopStyle Support
You need to set up Preview Mappings: Options (F8) > Preview > Mappings