This topic is locked
[SOLVED]

 layout.xml file not working

1/1/2012 11:52:21 AM
PHPRunner General questions
H
horsey_kim author

I am wondering if anyone has modified their layout.xml file to add their own layout designs to phprunner 6.0 sucessfully?
I have tried this on two different computers (one is vista and the other win7) and they both fail.
I used the instructions from here: http://xlinesoft.com/phprunner/docs/layouts.htm#new_layout
Below is the code that I added to the layout.xml file between <projectLayouts> and </projectLayouts> tags
<projectLayout>

<name>airlie</name>

<parent>Default</parent>

<pages>

<pageLayout>

<page>add</page>

<file>add.ly</file>

</pageLayout>

<pageLayout>

<page>list</page>

<file>list.ly</file>

</pageLayout>

<pageLayout>

<page>edit</page>

<file>edit.ly</file>

</pageLayout>

<pageLayout>

<page>view</page>

<file>view.ly</file>

</pageLayout>

<pageLayout>

<page>search</page>

<file>search.ly</file>

</pageLayout>

</pages>

</projectLayout>
I am trying to customized the layouts so I can convert several websites and finish another project. If you are having problems please post also, maybe it is some setting outside of the software, but I have two different operating systems trying to do this and it is not working.
Thanks for your time,
Kim

Sergey Kornilov admin 1/1/2012

Kim,
what exactly is not working?
PS. Make sure XML file structure is not broken i.e. try to load layouts.xml into XML viewer to see if there are any errors.

H
horsey_kim author 1/2/2012



Kim,
what exactly is not working?
PS. Make sure XML file structure is not broken i.e. try to load layouts.xml into XML viewer to see if there are any errors.


xml file is fine. I found the problem and so I will post it here, in case someone else has the same problem.

H
horsey_kim author 1/2/2012

It turns out that vista and win7 made the directory that the layout.xml and pages.xml files are located in as read only protected. Once I changed them to read write, they work beautifully. Posting this here in case someone else has an issue.
YEAH - I am so excited to start making my own layouts...
Kim