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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cdft92
Forum Newbie
Posts: 1
Joined: Mon May 12, 2014 11:01 am

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

Post 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.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

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

Post by Christopher »

ATK looks like it uses Smarty templates, so check the ATK docs (http://www.achievo.org/wiki/Themes) and docs for Smarty.
(#10850)
Post Reply