View Full Version : Templates and/or Mambo Integration
alphabono
6th of September 2005 (Tue), 05:33
I have been designing a site using php and css which uses a template to call various pages of content, which works great as the whole site is lot more modular and easy to change. I tried calling EE and after a small modification of the toroot.php file (changing "./" to ./gallery/) I was able to call EE from my template system. However, when you click on a photo, or try to enter a gallery, the whole thing breaks down and I get a series of php errrors related to things not being referenced properly. Has anyone tried to do this sort integration into a broader php based template? Any luck?
I've seen that some mention about using Mambo and the wrapper function to incorporate EE into a larger framework. I was looking at Uncle Doug's site (http://www.hmitahoe.com) and really liked how it was setup (great photos too!). One thing I noticed was that if you put the EE easylink into another browser window, you lose the mambo framework - reminiscent of html frames and linking to a particular page in a framed site. Has anyone found a way around this? I.e. how to send links to a particular photo without losing the site framework??
Cheers!
Ranken
MikeCaine
6th of September 2005 (Tue), 05:59
Do you have Frambuster turned off in the misc settings section?
UncleDoug
6th of September 2005 (Tue), 10:47
I have been designing a site using php and css which uses a template to call various pages of content, which works great as the whole site is lot more modular and easy to change. I tried calling EE and after a small modification of the toroot.php file (changing "./" to ./gallery/) I was able to call EE from my template system. However, when you click on a photo, or try to enter a gallery, the whole thing breaks down and I get a series of php errrors related to things not being referenced properly. Has anyone tried to do this sort integration into a broader php based template? Any luck?
I've seen that some mention about using Mambo and the wrapper function to incorporate EE into a larger framework. I was looking at Uncle Doug's site (http://www.hmitahoe.com) and really liked how it was setup (great photos too!). One thing I noticed was that if you put the EE easylink into another browser window, you lose the mambo framework - reminiscent of html frames and linking to a particular page in a framed site. Has anyone found a way around this? I.e. how to send links to a particular photo without losing the site framework??
Cheers!
Ranken
Mike's suggestion about framebusting are right on!:D
The easy link goes to heck in a hand basket with mambo though.
Have not tried to mess with this, since the Mambo wrapper is essentially an iFrame.
As a side note, I did make progress in creating an authentication bridge, log into Mambo=logged into EE, but have decided to wait for the new EE to procede further.
alphabono
9th of September 2005 (Fri), 09:28
I tried framebusting but it made no difference in the behaviour of the site (it was off originally). For my needs I think Mambo is a little bit of overkill (All I would use is the wrapper and menu). I could get around this without using Mambo by making my site header identical to that in EE, but would have to change it manually in two places everytime I change my site which is kind of annoying but doable. The other thing is that it would be really nice to have css control of the color scheme (and the layout at some point). When I drop EE into my template used for the rest of the site, part of the css is carried into EE which is a start. Any other suggestions beside framebusting for getting my template to work with EE? I think it would probably involve changing a few lines of code which point references to the correct places, but I've got no idea where to start looking.
Cheers!
UncleDoug
9th of September 2005 (Fri), 10:03
I tried framebusting but it made no difference in the behaviour of the site (it was off originally). For my needs I think Mambo is a little bit of overkill (All I would use is the wrapper and menu). I could get around this without using Mambo by making my site header identical to that in EE, but would have to change it manually in two places everytime I change my site which is kind of annoying but doable. The other thing is that it would be really nice to have css control of the color scheme (and the layout at some point). When I drop EE into my template used for the rest of the site, part of the css is carried into EE which is a start. Any other suggestions beside framebusting for getting my template to work with EE? I think it would probably involve changing a few lines of code which point references to the correct places, but I've got no idea where to start looking.
Cheers!
Is your site up?
MikeCaine
10th of September 2005 (Sat), 03:53
For my needs I think Mambo is a little bit of overkill (All I would use is the wrapper and menu)
I don't know if it's ethical or not but you could just rip the menu out of Mambo an wrap that around (or incorporate it into) your pages.
I've just been playing with that for a friend who likes the menu but feels Mambo gets in his way and is overkill for his needs
http://www.mike-caine.com/mambo/ (Original Mambo pages)
http://www.mike-caine.com/tmp/testmenu/ (Ripped out menu)
alphabono
12th of September 2005 (Mon), 14:50
My EE site is not live. I have an offline server running EE which I'm using for all of the development work.
I like the cut down Mambo (http://www.mike-caine.com/tmp/testmenu/). Does the wrapper function still work? When I tried it, it wasn't working.
Cheers!
MikeCaine
13th of September 2005 (Tue), 06:51
I just ripped out the static html code to try it for a mate as he'd missed some fixed paths in the CSS and couldn't get it to work. I hadn't done anyhting with the menu links
I'd imagine he was going to use the code either in frames or tables to include his content
UncleDoug
14th of September 2005 (Wed), 09:59
I've just been playing with that for a friend who likes the menu but feels Mambo gets in his way and is overkill for his needs
Mike,
I'm in agreement with you 100%.
Mambo can be totally overkill.
I've toned down the Mambo madules and components drastically on my site, because of this, for now......:D
Want to see if the new EE solves a couple of issues for me.
Pekka
15th of September 2005 (Thu), 07:21
Mike,
I'm in agreement with you 100%.
Mambo can be totally overkill.
I've toned down the Mambo madules and components drastically on my site, because of this, for now......:D
Want to see if the new EE solves a couple of issues for me.
Just a question: what do you primarily need Mambo for?
UncleDoug
15th of September 2005 (Thu), 10:09
Just a question: what do you primarily need Mambo for?
My plans are to use Mambo for a "community" like environment for part of our site.
Not just a forum and a gallery.
With Mambo it is easier to manage content, assign privledges for various portions of the site and less butchering of code is needed to bring various elements together to make it all look good.
The only stumbling block I've run into is the log-in bridge.
Clients have found things confusing when I had 2 log-ins.
One for the Mambo portion and one for private EE galleries.
So, I've curtailed some of the Mambo features a bit on our site for a bit.
But...
The new release may solve some issues that Mambo solved for me.
vBulletin® v3.6.12, Copyright ©2000-2012, Jelsoft Enterprises Ltd.