WebSite X5Help Center

 
Dave R.
Dave R.
User

Making Website X5 more user friendly.  en

Autor: Dave R.
Visitado 1240, Followers 1, Compartido 0  

When working in X5 with html/php I cannot preview the result wthout saving to a local disk and viewing in a browser.

So I click on Save - Top right of screen

Then I click on Export - middle left of screen

Then I click on Export to disk -middle of screen

Then I click on Start - top right of screen

Then (if I use the mouse) I have to confirm a question - middle of screen

Finally I have to confirm that I know it has been done - middle of screen but not where the previous one was confirmed.

My mouse pointer is getting very dizzy going round and around the screen!!!!

It's not very user friendly.

Here is a composite view of what happens

Publicado en
11 RESPUESTAS - 1 ÚTIL
Esahc ..
Esahc ..
Moderator

Dave, it intrigues me that you cannot use the built in preview. Is there a known reason?

Leer más
Publicado en de Esahc ..
Dave R.
Dave R.
User
Autor

Yes, because I'm using php to present data from a mySQL database, so all I get is the php code displayed and not the actual data.

Leer más
Publicado en de Dave R.
Franz-Josef H.
Franz-Josef H.
Moderator

The preview browser is very slimmed down and therefore cannot display videos. Top right

you can select an alternative browser to display the preview.

Leer más
Publicado en de Franz-Josef H.
Dave R.
Dave R.
User
Autor

Even the aletrnative browser displays the php code, as you can see below.  Screenshot from Opera Browser.

Leer más
Publicado en de Dave R.
Axel  
Axel  
User

Hello Dave,

It is normal, you cannot preview any PHP into the preview light brower or in any other browser (Firefox, Ghrome ...). the page will not be presented as you are wainting, beacue the PHP code is not executed.

A PHP page is generated by the server, and NEVER to the user side with the browser. 
So to check any PHP page you need to transfer the file to the server.

PHP is ALWAYSexecuted on the server
Javascript is always executed on th user browser.

So here it is not an issue wih WSX5.... 

Hope thi shelps

Enjoy!
Axel

Leer más
Publicado en de Axel  
Dave R.
Dave R.
User
Autor

Hello,

I am aware of how things work server side and client side, but that is not the point.

The issue I raised is about the fact that Website X5 is a brilliant tool to generate wonderful and user friendly websites.

However the way that the tool itself is presented is not good. There is a good menu system down the left hand side, but all the action icons (Save Preview, forward, back etc) are at the top right of the screen. So regardless of whatever you are trying to do, there is a lot of mouse movement around the screen.

See the items in bold on my original post.

It's just an observation, which I hope you will consider for your next major release.

Leer más
Publicado en de Dave R.
John S.
John S.
User

Dave - none of the comments in this thread is from INCOMEDIA. It is users like yourself. The comments is just made to help you.

You should either wait for an answer from INCOMEDIA in this thread, or make make a new thread about the mouse movements.

I fully understand why Axel made clear the difference between PHP and JS, as you wrote that the PHP code is shown instead of executed. I think both Axel and I thought that you was not aware of the difference.

Leer más
Publicado en de John S.
Dave R.
Dave R.
User
Autor

Hello everyone,

As the first reply was from a moderator, I foolishly assumed that Incomedia was driving the responses.

Apologies to anyone if I have ruffled any feathers.  It was not intentional.

PS I was told many years ago that the first rule of IT is never make assumptions.  Mea culpa.

Leer más
Publicado en de Dave R.
Incomedia
Stefano G.
Incomedia

Hello Dave

Thank you for your feedback

As of now, there's no plan of ever integrating a webserver inside the preview so I understand that getting a feel of whether the insert PHP code works or not might take a little time

The best advice I might provide right now is to set up a local webserver with FTP client and export there. This makes it much faster to get the website out and you can preview what your PHP does without having to wait for an actual upload online

I remain available in case you have further questions

Stefano

Leer más
Publicado en de Stefano G.
Dave R.
Dave R.
User
Autor

Hi Stefano,

The whole point of my post had nothing to do with html/php.  I just used that as an example because that's what I'm currently working on.

I was making a point about moving the mouse around and around the screen to save the work and export the website.

Mouse goes to top right (Save), to lower left (Export), then to middle of screen (Export to disk), to top right again (Start), then back to the middle of the screen again for two more clicks which are not in the same place as each other (overwriting existing files and confirmation that the job is done).  It's messy.

I have Apache server and MySQL running locally, so it's not as if I'm uploading to a server somewhere in the cloud, and the results are immediate.

I hope this makes sense.

Dave

Leer más
Publicado en de Dave R.
Incomedia
Stefano G.
Incomedia

Hello Dave

Thank you for the clarification

I also thank you for your feedback. Since this topic was already opened as an Idea topic, it will remain highlighted for the Staff in order to be able to consult this when discussing future improvements to the software

Should you wish to add anything to the matter, please do so here

Thank you

Stefano

Leer más
Publicado en de Stefano G.