ispCP - Board - Support
Convert pTemplates into Smarty Templates - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: General discussion (/forum-11.html)
+--- Thread: Convert pTemplates into Smarty Templates (/thread-11726.html)

Pages: 1 2 3 4 5


RE: Convert pTemplates into Smarty Templates - zpin - 10-01-2010 01:14 AM

Yes, it's working on all levels. More testing will have to be done since one person alone usually doesn't find all the errors.
A trial period sounds reasonable. My trac username is zpin.


RE: Convert pTemplates into Smarty Templates - tomdooley - 10-03-2010 06:07 PM

Hi @zpin,

looks like a great work to start! Smile

Can you provide us a standard (non-git) patch to current trunk? Currently having some trouble to apply the patch file.

EDIT: Got it working and made first tests. Looks promising! Smile

Something more will be useful, escpecially escaping in templates (not in PHP sources), create new default controls by new Smarty plugins, and so on.

Greetz
Thomas


RE: Convert pTemplates into Smarty Templates - zpin - 10-03-2010 08:52 PM

Thanks Smile Good to hear that it works. For anyone else having problems: It should work with the standard patch program, just use the -p1 option because the patch uses special "a/" and "b/" paths to distinguish the files.

I agree that we could use Smarty to implement some further things now. For example moving the whole translation stuff to the templates using:
http://smarty.incutio.com/?page=SmartyGettext


RE: Convert pTemplates into Smarty Templates - zpin - 10-07-2010 09:32 AM

Is there any news regarding the integration or a SVN account?


RE: Convert pTemplates into Smarty Templates - Zothos - 10-07-2010 05:11 PM

rumors say that this topic will be part of the next team meeting Big Grin


RE: Convert pTemplates into Smarty Templates - zpin - 10-07-2010 08:19 PM

ok, let's wait for that then Smile


RE: Convert pTemplates into Smarty Templates - Obi_Wan - 10-16-2010 10:27 PM

Back from hospital now. Is there still any where I could contribute some code or patches?


RE: Convert pTemplates into Smarty Templates - sci2tech - 10-17-2010 12:30 AM

Post your patches here. I`m sure that zpin will add to branch.


RE: Convert pTemplates into Smarty Templates - RatS - 10-17-2010 12:35 AM

(10-16-2010 10:27 PM)Obi_Wan Wrote:  Is there still any where I could contribute some code or patches?

Check out the zpin-repository and attach the patches there, upload them to a ticket. This would be even better than sci2tech's proposal - which is valid but a bit more work for us.


RE: Convert pTemplates into Smarty Templates - Obi_Wan - 10-17-2010 12:37 AM

Ok thanks. Then it is time to update my local copy Smile