Post by tifosi » Tue Oct 21, 2014 8:47 pm

During development of v2 the php script end tags were removed from the tpl files i.e. ?>

This is fine and as it should be, they're superfluous and cause occasional white-space parsing errors.

However, they were very useful for vqmod in modding to add content at the foot of a file.

Something I've done in other projects in the past few years is to add a comment tag to the end of a php file as a reference point more than anything else.

Code: Select all

<?php
...
//end
Would this, or something similar, be possible in a future opencart version/subversion. Would definitely be of use for both ocmod and vqmod.

Thanks

New member

Posts

Joined
Tue Feb 17, 2009 8:14 am
Who is online

Users browsing this forum: No registered users and 4 guests