How to activate PHP extension in Step 2 Page Properties
Autor: Keith M.
Visited 21711,
Followers 1,
Udostępniony 0
I am creating a new site that is not yet published..
On the home page I added the free BLOG widget...
In the Widget setup, at the bottom of the page it states...
To use this Object you must set the 'php' extension for the current page, in Step 2 - Page Properties.
I went to that step but do not know what command(s) I need to add nor where to add them
I thought I would need a <?php and ?> tags somewhere but my testing does not appear to work
Also will the blog show up in the preview window or will it need to be published first.
When blog is activated how is it updated?
Posted on the
Hello Keith,
If you press the F1 key within WebSite X5 then it will bring up context sensitive help in most instances.
You use the 'File Name Format' dropdown menu to select PHP from the list and set your page to the .php extension. Go to the 'Expert' tab of any page's 'Properties' and look near the top of the screen, left-hand side:
Reference: Options in the Expert section
Use the options in this section to manually edit the HTML code for the page you are working on.
File Name Format: indicates the format in which the page's file is to be saved. The default extension is .HTML, but you can choose from .PHP, .ASP, .CFM and .JSP. The Home page's index.html file can also be saved in a different format. You cannot change the format of locked files (see Locked Page in the website Map toolbar): it must remain .PHP.
ref... http://help.websitex5.com/en/v12/evo/index.html?mappa_pagina.htm
You will need to publish your blog online before it will work correctly, as PHP runs only on the server.
You can find detailed instructions for the Blog in the official help file:
http://help.websitex5.com/en/v12/evo/index.html?blog.htm
Kind regards,
Paul
Autor
Thanks Paul
The problem is that I can set the page extension to php but I do not know what code to add or where to add it.
I assumed that I would need a <?php tag and a ?> tag but what do I encompass? The whole page of code or just part of the code like the BODY
I REALLY need help in this area
I tied putting a <?php before the header but that did not appear to help but I will be honest I was only viewing the preview. I will try again and then publish and watch for results.
Thank you for BLOG operation directions
Keith
You don't need to add any code, Keith. WebSite X5 takes care of all that for you. Just remember that any component requiring PHP will only work once your project is uploaded to the server and online.
Best wishes...