Note that there are some explanatory texts on larger screens.

plurals
  1. POWYSIWYG way to work with xyz.tpl.php/CSS files?
    text
    copied!<p>I recently purchased a script that I'm trying to change the CSS to pimp it up :)</p> <p>However since I'm fairly new to CSS/PHP (I've done ASP before), I'm trying to use the "Live view" feature Dreamweaver 5.5 to edit the tpl.php files. I have setup the site as instructed in DW and it's working with basic PHP files, however when I try to open a tpl.php file it doesnt seem to handle all the includes or something, so essentially it doesnt know how to retrieve all the related CSS etc in order to show me what the site looks like.</p> <p>It has the following code structure:</p> <ol> <li>www.xyz.com -> this calls the index.php</li> <li>Within index.php, it calls <code>include_once ('global_mainpage.php');</code></li> <li>Within global_mainpage.php it then calls <code>$template_output .= $template-&gt;process('mainpage.tpl.php');</code></li> <li>mainpage.tpl.php is the file that I need to change the layouts/CSS class reference etc.</li> </ol> <p>My ideal way to work with the site is:</p> <ol> <li>Say if I want to change something on index.php</li> <li>I just click on one of the elements in live view</li> <li>It would automatically launch the tpl.php file being used</li> <li>I can then examine the CSS used and make a change to it</li> <li>hit save and be able to view the change I just made</li> </ol> <p>If this is not possible, do I have no choice but to use Aptana? I've used it before editing PHP code, but not tpl.php - I was hoping to have a WYSIWYG editor for tpl.php...</p> <p>Many thanks for your help gurus! :)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload