I am really new to magento,I am trying to add my own html page that I have created using visual studio,
its an html file so I have renamed it to .phmtl
I have places my file in this location
app/design/frontend/default/modern/template/page/profile.phtml
and then I have placed this code
{{block type="core/template" template="page/profile.phtml"}}
in the content area on the cms page.
Once I have done this work nothing happens and page does not use the file profile.phtml
I wanted to know is it possible to add my page this way or am I doing something/everything wrong?
Also the actual profile.html page is not in php its in simple html/css/javascript/jquery file with jquery library tags etc in it.
Please reply if anybody know the answer to my question.
Thanks in advance
Best Answer
So the code was correct but these would be the steps to check if something is wrong with the .phtml content
Try creating a different block
app/design/frontend/default/modern/template/page/test.phtml
And in that test.phtml file just write this:
Yes thats fine just try and create this and then add the block
and see if it works, if yes you know your .phtml file is broken so you should debug this then.