|
Infusion php only opens direct, does not want to open in panel
|
| Xfade |
Posted on 19-03-2011 12:45
|

Newbie

Posts: 9
Joined: 20/11/2010
|
Topic title might be a bit long, i'm sorry for that, no idea how else to put it.
I am working a bit on a friend's Infusion, but i do not really have contact with him anymore.
They way he built it, was that it opens in a new page, via a link in the sub-header/navigation menu.
It has it's own Admin Panel, and it all works great. However, i want it to open in a side panel instead.
It's link can be seen here. http://www.tus-gu...wowrec.php
Basicly when using it's Admin Panel, you can change the statusses. (don't look at the way it looks, i'm working on it)
Obviously i tried editting all the .php files, so it would all be with _panel. Also i've tried adding it manually as a panel.
Also editted it to have openside("recruitment" , but all to no avail. The website just breaks. It loses it's center panels and right panels, and just stretches the panels who are already on the left to 100% of the website.
So, i was wondering if there was a way to make this open up in a side panel, rather then just a new (center) page?
If certain code is needed, i can add that. |
| |
|
|
| smokeman |
Posted on 19-03-2011 13:09
|

Veteran Member

Posts: 960
Joined: 23/06/2006
|
1. Try this code in a new empty panel:
Codeinclude INFUSIONS."wowrecpage/wowrec.php";
- only this code in the panel. No openside(""); and closeside(); end echo "";
2. if that wont work then pls. attach the infusion here and I'll take a closer look at it.
|
| |
|
|
| Xfade |
Posted on 19-03-2011 13:23
|

Newbie

Posts: 9
Joined: 20/11/2010
|
This did not work either. It also "broke" the site the same way as it did in my 1st comment.
I've added the current infusion folder as a file if that's ok, I would assume adding it as code would be too long.
Xfade attached the following file:
|
| |
|
|
| smokeman |
Posted on 19-03-2011 14:04
|

Veteran Member

Posts: 960
Joined: 23/06/2006
|
Here's a corrected version.
Defuse your own one first (and delete the files/folder from FTP) - upload all files/folders - and then infuse this one.
The side-panel you're choosing like a normal panel: Admin Panel->System Admin->Panels - and choose from the dropdown list "wowrecpage_panel".
Enjoy!
Edit: Now the file is too big to attach here - download it from here instead:
http://www.dvdsid..._panel.zip
|
| |
|
|
| Xfade |
Posted on 19-03-2011 14:35
|

Newbie

Posts: 9
Joined: 20/11/2010
|
Thanks alot for your assistance Smokeman, it works like a charm !
Now i can busy myself in making it look better.
Thank you ! |
| |
|
|
| smokeman |
Posted on 19-03-2011 15:00
|

Veteran Member

Posts: 960
Joined: 23/06/2006
|
No Problem.
|
| |
|