I use to add a fully formatted html custom page including all the sections from <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ....to </body></html>. Although it's working perfectly, I have the suspect that just <style> and html code are required. Is it true? Thanks to anybody answering...
Thank you douwe_yntema; if I can take advantage of your experience, I have another question: how can I move the scripts and css matter in the general heading (or footer) section of the site? I have found on the forum the "add_to_head", "add_to_footer" technique, using a panel; it is not clear to me however, the mechanism of doind that. Should I use a specific panel on which I collect all the scripts and Css or simply any existing panel? As you understand my PHP experience is very poor. Thanks for your help.
I am not sure but I believe php does not work.on custompages. I think the best solution is separate the css an js in separate files and make an <link> in your html code
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct
@Homdax That is only true for 9, I do hope this is about 7´s Custom Page since that´s the forum we are in. For 7´s Custom Pages you can run php codes as is but it is not recommended, follow douwe_yntema and make a real Infusion or a separate file.
Need help?, Having trouble? • View our Documentation for Guides, Standards and Functions • Name and Organize your Topics and Content correctly in the corresponding Forums for best support results • Attaching Log Files and Screenshots when reporting issues will help • Provide with an URL to live example if one exists • Please read the How to Report an Error post • Please read and comply with the Code of Conduct