John,
This isn't true(maybe only for the preview of xwd)
even my txt/html editor(pspad) can preview php
(i know it will not show php scripting but the html will show)
Hans
John,
This isn't true(maybe only for the preview of xwd)
even my txt/html editor(pspad) can preview php
(i know it will not show php scripting but the html will show)
Hans
Do links like: "page2.php" work in IE with WD exported pages locally?
Export 2 page site, rename second page file with the php extension. Make sure that links in the first page are corrext (with php extension). Open first page in IE and click on link to the second page (the php). Does it work?
John.
In another editor i use,it just does.
will try it out with xwd.
Hans
John,
Tried it like this;
create two pages in xwd
made objects linking to page2 and back to index
exported and opened in pspad editor
added <?php and ?> to index and page2
and saved both files to php extension.
In browser,on the index page it showed the end tag ?> (only on first load,after going back and forth to index and page two it's gone)
Deleted the endtag and worked fine.
Opening the files worked in IE6,IE8,FF3,Opera,Safari4
It didn't open in IE7(standalone version,thus not the official version)
It didn't open in Chrome(Simply opened the designated editor for this filetype)
Hans
Did you try to do exactly what I suggest?
Last edited by Egg Bramhill; 15 March 2009 at 02:16 AM. Reason: Deleted unnecessary quote of an earlier post ~ Egg
John.
Know what you mean now.
the internal naming is html for the <a href but this you could change
now could you?
Or have the in page link also the option to put in the extension after the page name
I tried instead of page link webaddress ./index_2.php
and the backbtn to ./index.php
This just worked fine
Hans
Having the option to change the extension is necessary. Many hosts have different ways of handling server side includes. A page created by XWD must have the funcionality to match the extension of the server it is being exported to
An example would be a ecommerce site with product pages being dynamically populated from a database. The product pages extension SHTML signals the server to parse the page and pull the product detail for inclusion on the page
Ok, thank you all, we put it on the wish list.
John.
In the program I have used for years, I get the following warning if you change the default .htm to any of the drop down alternates: php, asp, shtml for your file extension.
http://www.samisite.com/external/preview_warning.gif
That program creates a local preview and will also upload/publish to the website.
The php pages do preview just like the other html pages from the local machine. The scripting functions do not work on the local machine.
Thank you!Ok, thank you all, we put it on the wish list
-Samantha
"Try to live your life so that you wouldn't be afraid to sell the family parrot to the town gossip." Will Rogers (1879 - 1935)
Many don't know that ALL servers have a command you can put into the .htaccess file of any website that will parse ALL pages through PHP even though the extensions are .htm or .html. BE VERY CAUTIOUS EDITING THIS FILE OR YOUR SITE WILL CRASH.
I use includes in almost every site I do, especially for clients that like to change an area.
However, there are MANY issues to be considered with XWD's page size formatting. You would have to know the EXACT SIZE of any included page. I have been fooling around with a little known program called Dynamic HTML Editor and these limitations are eliminated with a choice of page sizes that can be either fixed or dynamic. If this program (written in VB) can do this I am certain it won't be long before XWD does the same.
Even though Xara is aiming for the purely visual programmer, it is rapidly becoming harder and harder to find a website that doesn't require some type of PHP, javascript, header inserts, forms or shopping cart functionality.
Bookmarks