Page 1 of 1

Merge .html code into a .php code more...

Posted: Mon May 12, 2014 11:05 am
by cdft92
Hi evyerone,

I am new to coding. I know some HTML and CSS but almost nothing and about PHP, well... no knowledge at all.

I recently bought an ERP system http://interactive32.com/cc/erp32/app/index.php and I was planning to change it's interface but little did I know that it was almost everything written in PHP, even "index".

Now, I thought index was going to be a .html file as I was used to see with normal websites, and I wanted to make some interface modifications with bootstrap but system files are all in php. The system was build with a ATK Framework and I've been told "HTML/CSS is generated by the PHP business logic and the ATK framework" which I honestly didn't understand at all. As I wrote before, I'm new to coding. I have also been told that I can merge .html code into a .php one so if that's the only option to modify my interface, I would like to do so.

I have tried to do so but I haven't completely succeeded, it looks pretty bad when I try to achieve it. I have tried to change that simple login form you see when you go to the website, to this (http://codepen.io/m412c0/pen/Fybpf). I changed the login part on the ERP32 css file to the one of codepen and merged the .html with .php code but this is all I got.

Image

I would appreciate any help. I know this is a good place to start with. Thank you very much.

Re: Merge .html code into a .php code more...

Posted: Mon May 12, 2014 11:16 am
by Christopher
ATK looks like it uses Smarty templates, so check the ATK docs (http://www.achievo.org/wiki/Themes) and docs for Smarty.