Hi!
In stringing through the MB template code, I found that the left side bar is called user_panel.tpl.
Wanted to try a left side column, so I experimented and tried to move the code found in the right side bar(sidebar.tpl) over to the left hand side.
When I made the necessary changes and edits, the featureboxes showed up correctly, but instead of being on the left hand side as expected, they actually showed up on the right hand side, just below the current right hand side boxes. Giving me a right hand side with two sets of boxes.
Any ideas on what I may need to do? Some gotcha I didn't see? I've changed much of the template already, but getting a left side panel still eludes me for some reason. I checked the CSS, but admit maybe I'm too low on caffeine. =)
Thanks very much a head of time for any pointers on getting a left side panel for MB.
Cheers,
Lancelot_one
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| Left side bar? Added it using user_panel.tpl, but it shows on the bottom right? |
| |||
|
Its probably in the CSS code. try changing the name of the div surrounding it and make a new CSS entry for it |
| |||
| Quote:
I did try and remove all/create new CSS, still no joy. I'm guessing that there's a small chance it's got something to do with the MB template not having a left side bar and some wires crossed in the Smarty template. But don't hold me to that. =) No worries it shall give up it's secrets. This running ragged between, Smarty and CSS and PHP is tiring, any part of the problem can be literally hiding in any one of the stack at this point. And most likely is hiding in all three sometimes. The presentation seems to have a lot more say in the functionality than is good for it. I guess I should thank the complexity though, otherwise more people would be using this. Hey I like your site! Not a pligg site? More of and RSS site? Cheers, Lance |
| |||
|
Sorry that didn't help. I have a demo to do today, so I have no time, I'll try to help later in the week if nobody else can. I assume you are editing body.tpl where the layout is controlled. NewsBlaze is a newspaper, mostly original news plus contracts with some other providers. When you get your Pligg going, you may find original news there you can use. Alan. Last edited by newsblaze; 07-04-2006 at 11:49 AM.. |
| |||
|
Hi Alan, Thanks for the shout. Looked at the body.tpl first, but there's only a few lines there. Didn't look like it needed updating as it points to having a left side bar that points to a constant that points to user_panel.tpl Which is currently empty, but when I do put stuff in it...it ends up on the right side. =) Weeeee life is grand! =) Hence I've come full circle back to my original post. Reading other posts I'm not the only one with this problem... =( I really wanted to like the pligg code base, but at this point it's like giving a thirsty man a salty cracker. |
| ||||
| Quote:
I'm not a .css expert, but you may want to try z-index. Z-index allows you to position any element you want anywhere on a page, and stack its order. It's amazing what you can do with z-index, and the best part is Google will give you much love when you order your stack correctly. http://www.w3schools.com/css/pr_pos_z-index.asp http://www.blooberry.com/indexdot/cs...ion/zindex.htm Here is a site I put together a couple years ago. It's built in .html, but every element is where it should be using z-index. Feel free to check out the .css script if you like. ~3d Last edited by 3dKiller; 07-22-2006 at 11:53 AM.. |
| |||
|
Hi 3d! Hey you seem to be everywhere! Keep up the good work! Like your new template. In a normal web page I already got z-index down. cold. =) But here in Pligg, I'm not sure that's a good option. I'd rather not be forced to badly break the code to get it to work. With the pligg feature set being so simple, not being able to use the presentation layer, makes me want to tear my hair out. =) Nothing against your suggestion. Was hoping to work within the pligg presentation code so that it wouldn't get all wonky on every change and upgrade. It's unreal how my code now looks like a totally different branch of Pligg already. =) My hat's off to Ashdigg as well! He seems to be the only coder at the moment committing code I spy. Too bad there's not some way to fold in all our fixes and upgrades to the community, might take some pressure off the current set of coders and unleash the pligg. Cheers, -C |
![]() |
« Previous Thread
|
Next Thread »
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upgrading a 9.8.2 template to 9.9 | AshDigg | Wiki Articles | 10 | 05-01-2008 01:38 PM |
| how to add left and right side bar | jitu | "Mollio-Beat" | 0 | 10-19-2007 07:08 AM |
| Like to create a Adsense bar on left hand side | valentine23k | General Help | 0 | 09-04-2007 01:55 AM |
| [SOLVED] Can I move the sidebar to the left side? | AshMCairo | General Help | 3 | 08-09-2007 04:06 PM |




Linear Mode

