Hi Taher, +1 ftl is much better than php it will save lot of time and duplicate code as well
Please proceed, I'll do changes after ftl conversation as well I'd like to help in freemarker conversition as well, please feel free to ask me for any assistence Thanks & Regards -- Deepak Dixit On Thursday, August 31, 2017, Michael Brohl <michael.br...@ecomify.de> wrote: > +1, Taher > > Regards, > > Michael > > > Am 31.08.17 um 12:35 schrieb Taher Alkhateeb: > >> I feel sort of guilty because I'm the one who wrote those templates in >> the first place. I wrote them in PHP because I needed something to >> quickly publish HTML without copy-pasting headers, footers and so on. >> >> With that being said, if folks are okay with this, I intend on >> replacing them with FreeMarker and automating publishing with Gradle. >> I can't do that at the moment because there seems to be a lot of >> commit action recently. So I'll wait until things settle down a bit. >> >> On Thu, Aug 31, 2017 at 11:41 AM, <dee...@apache.org> wrote: >> >>> Author: deepak >>> Date: Thu Aug 31 08:41:35 2017 >>> New Revision: 1806764 >>> >>> URL: http://svn.apache.org/viewvc?rev=1806764&view=rev >>> Log: >>> Added Readme file >>> >>> Added: >>> ofbiz/site/README.md (with props) >>> >>> Added: ofbiz/site/README.md >>> URL: http://svn.apache.org/viewvc/ofbiz/site/README.md?rev=180676 >>> 4&view=auto >>> ============================================================ >>> ================== >>> --- ofbiz/site/README.md (added) >>> +++ ofbiz/site/README.md Thu Aug 31 08:41:35 2017 >>> @@ -0,0 +1,23 @@ >>> +##Update Site >>> +If anyone is going to do any fixes - please do not just do any changes >>> or fixes in the html page itself. >>> +It needs to be done in the php template, located under template/page, >>> Once you are done with changes please >>> +compile these file and generate html using following command >>> +`php template/html.tpl.php template/page/about-ofbiz.tpl.php > >>> about-ofbiz.html` >>> + >>> +###Here are the quick reference to compile all the template file >>> + >>> +`php template/html.tpl.php template/page/about-ofbiz.tpl.php > >>> about-ofbiz.html` >>> +`php template/html.tpl.php template/page/business-users.tpl.php >>> >business-users.html` >>> +`php template/html.tpl.php template/page/developers.tpl.php > >>> developers.html` >>> +`php template/html.tpl.php template/page/download.tpl.php > >>> download.html` >>> +`php template/html.tpl.php template/page/release-notes-16.11.03.tpl.php >>> > release-notes-16.11.03.html` >>> +`php template/html.tpl.php template/page/release-notes-13.07.03.tpl.php >>> > release-notes-13.07.03.html` >>> +`php template/html.tpl.php template/page/faqs.tpl.php > faqs.html` >>> +`php template/html.tpl.php template/page/getting-involved.tpl.php > >>> getting-involved.html` >>> +`php template/html.tpl.php template/page/index.tpl.php > index.html` >>> +`php template/html.tpl.php template/page/mailing-lists.tpl.php > >>> mailing-lists.html` >>> +`php template/html.tpl.php template/page/ofbiz-demos.tpl.php > >>> ofbiz-demos.html` >>> +`php template/html.tpl.php template/page/our-users.tpl.php >>> >our-users.html ` >>> +`php template/html.tpl.php template/page/service-providers.tpl.php > >>> service-providers.html ` >>> +`php template/html.tpl.php template/page/source-repositories.tpl.php > >>> source-repositories.html` >>> +`php template/html.tpl.php template/page/user-stories.tpl.php > >>> user-stories.html` >>> >>> Propchange: ofbiz/site/README.md >>> ------------------------------------------------------------ >>> ------------------ >>> svn:eol-style = native >>> >>> Propchange: ofbiz/site/README.md >>> ------------------------------------------------------------ >>> ------------------ >>> svn:keywords = Date Rev Author URL Id >>> >>> Propchange: ofbiz/site/README.md >>> ------------------------------------------------------------ >>> ------------------ >>> svn:mime-type = text/plain >>> >>> >>> > > -- Thanks & Regards -- Deepak Dixit www.hotwaxsystems.com www.hotwax.co