Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

custom pages

Asked Modified Viewed 2,122 times
M
marcolino
M
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
asked
Junior Member

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...
0 replies

6 posts

D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

Yes you're right
0 replies
M
marcolino
M
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions
answered
Junior Member

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.
0 replies
D
douwe_yntema
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
answered
Senior Member

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
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

You need to enable PHP execution in Admin > Settings > Security for PHP to work in Custom Pages.

At least I am pretty sure of that.
0 replies
F
Falk
F
Falk 131
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

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

@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.
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Dang, wrong forum category, sorry, my bad. I was so in to reading 9 threads I did not notice this was a 7... sorry.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 6 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

F
F
Falk 131
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

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,246 posts on the community forums.
  • Started 108 threads in the forums
D
D
  • Senior Member, joined since
  • Contributed 667 posts on the community forums.
  • Started 57 threads in the forums
  • Answered 1 question
M
M
  • Junior Member, joined since
  • Contributed 33 posts on the community forums.
  • Started 11 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet