This topic is locked

Page Order

10/9/2009 6:03:09 AM
PHPRunner General questions
B
badgermoo author

I have used the events template on phprunner.
Very good it is too.
However, how do you do this simplest of things?
It automatically loads up the login.php
How do i change this to menu.php?
will this put other pages out of joint?
Many thanks!

J
Jane 10/9/2009

Hi,
just edit generated index.htm file manually.

B
badgermoo author 10/9/2009

Thanks for your reply,
However I want to keep the login.php
the menu.php that i want people to land on is a dreamweaver edited page with links to other pages (generated by phprunner) this includes login.php.
Thanks for your help,
Steve.

L
lewisekrantz 10/9/2009



I have used the events template on phprunner.
Very good it is too.
However, how do you do this simplest of things?
It automatically loads up the login.php
How do i change this to menu.php?
will this put other pages out of joint?
Many thanks!



One of the events has the start up tab which you can change

B
badgermoo author 10/9/2009

Thanks for your reply,
However, this doesn't make much sense:
'One of the events has the start up tab which you can change'
One of the events?
If there is a simple way of doing it in phprunner? I haven't been able to find it all.
Thanks,
Steve

L
lewisekrantz 10/9/2009

edit this code in the "Menu page: Before process" event on the Events tab:

----------------------------

header("Location: calmonthly_list.php");

exit();

B
badgermoo author 10/10/2009

Thanks Lewis but that is still not working.
Im getting used to the events pages and code.
All i want to do is have menu.php load up when you enter the website.
Login.php keeps loading up first and i don't want to get rid of it i just want to have menu.php come up first as it will link to login.php.
Please help! anyone!
There must be a simple way!?! right?!?!
Many thanks!

L
lewisekrantz 10/10/2009

This absolutely does it //

  1. Goto Global Events
  2. Menu Page: Before Process
  3. Remove the line that says Header("location:xxxxxxxx.php);

    exit();
    Now whey you start the program ONLY the menu will appear
    LK
    PS if you still have issues I will attach a screen shot for you if you email me


    Thanks Lewis but that is still not working.
    Im getting used to the events pages and code.
    All i want to do is have menu.php load up when you enter the website.
    Login.php keeps loading up first and i don't want to get rid of it i just want to have menu.php come up first as it will link to login.php.
    Please help! anyone!
    There must be a simple way!?! right?!?!
    Many thanks!

B
badgermoo author 10/11/2009

Thanks again Lewis but this did not work either.
There was no code/line that says = Header("location:xxxxxxxx.php);
only this = function BeforeProcessMenu(&$conn)

{
Any ideas?
Thanks again for your time.
Steve

J
Jane 10/12/2009

Steve,
It's difficult to tell you what's happening without seeing actual files.
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.