Hiya, i'm currently trying to convert our current guildsite to SMF with tinyportal, so far it's going great with the design but i have one major issue, the blocks render inside my "content" area and i was wondering if it would be possible to force them to appear somewhere else defined in the index.template.php ?
If you have a look at ht tp://smf.loyaltyguild.eu you'll probably get the picture :)
Looks like the theme you are using has its own side panels. Is this the case? http://smf.loyaltyguild.eu/index.php
If you view using the default theme, then you'll see what I mean, http://smf.loyaltyguild.eu/index.php?theme=1
http://smf.loyaltyguild.eu/index.php?theme=4
What were you converting it from? as you mentioned in your post above.
That's indeed the case, it's a theme I made couple a years ago to work with our e107 CMS (can be seen here: ht tp://www.loyaltyguild.eu)
Just wondering if I can code those panels in the theme somehow or any pointers how to adjust my theme to work with tinyportal :)
Thx!
You're going to have to use either the side panels you made, and turn off the tinyportal ones (left and right panels). Or get rid of yours, and use the Tinyportal ones, which would be your best bet tbh. You can add styling to those to match your theme.
There isn't room for both sets of panels. You should be able to do what you need and more with the TP side panels anyway. ;)
Actually, your best bet would be use this theme, which is already based around WoW, and is compatible with SMF 2.0.1 and it works with TP straight out of the box. ;) http://custom.simplemachines.org/themes/index.php?lemma=2452 It has 13 theme layout variations included, you can see here, running in Tinyportal http://themes.e-debatten.dk/index.php?theme=18
Variations,
Orc (http://themes.e-debatten.dk/index.php?theme=18;variant=Orc)
Human (http://themes.e-debatten.dk/index.php?theme=18;variant=Human)
Draenei (http://themes.e-debatten.dk/index.php?theme=18;variant=Draenei)
Blood Elves (http://themes.e-debatten.dk/index.php?theme=18;variant=Blood%20Elves)
Elves (http://themes.e-debatten.dk/index.php?theme=18;variant=Elves)
Undead (http://themes.e-debatten.dk/index.php?theme=18;variant=Undead)
Dwarves (http://themes.e-debatten.dk/index.php?theme=18;variant=Dwarves)
Gnomes (http://themes.e-debatten.dk/index.php?theme=18;variant=Gnomes)
Troll (http://themes.e-debatten.dk/index.php?theme=18;variant=Troll)
Tauren (http://themes.e-debatten.dk/index.php?theme=18;variant=Tauren)
Worgen (http://themes.e-debatten.dk/index.php?theme=18;variant=Worgen)
WoW Logo (http://themes.e-debatten.dk/index.php?theme=18;variant=WoW%20Logo)
Thx but not really the solution i was looking for :) So it's not possible to use custom tags like {PANELLEFT} or something like that to make tinyportal use those ones instead of the default posistions?
Not sure I understand tbh. What's wrong with adding your content to the TP sidepanels? Then get rid of your panels. That would solve your issue, wouldn't it?
There's nothing wrong with adding the content in the TP sidepanels, that's what I want, i just want them to render outside the middle area of my theme if you understand what i mean. The left blocks you see on there now are just to show where I want them to be, not supposed to be hardcoded
So what happens if you remove your extra sidepanels.
Would be something like this then: ht tp://smf.loyaltyguild.eu/Themes/smfWoW/clean.html
Just quick mockup if i remove the sidepanels
I'm probably going to have to pass on this one. lol as I'm still not sure what you need. ???
So view your site with the SMF default theme curve again, http://smf.loyaltyguild.eu/index.php?theme=1 this is not the layout you're after?
Hehe, this is what i want :) ht tp://smf.loyaltyguild.eu/Themes/smfWoW/wanted.html
Basicly i want to reposition the <div class="block_leftcontainer"> so that it appears on the left side of my theme and not in the middle, same for the other containers/panels
with extra theming of the blocks ofcourse, but it's just an example
I'll take a look at this here in a little while but I don't think what you are trying to do can be done with TinyPortal. The reason for this is because TinyPortal places it's left and right panels within the confines of the content margins (left and right) of your theme and the panels that you have added on the left and right are outside of those constraints. In addition, scroll to the very bottom of your site (http://smf.loyaltyguild.eu/index.php) where you will see the TP bottom block that you have added. The TP bottom panel (where you have placed BOTTOM BLOCK #1) will also fit within the constraints of your content margin rather than from the very left side of your browser window to the right side.
Again, I will have a look at this but I have feeling that you would be better off doing as Lurkalot mentioned, that is removing the extra panels that you added and adjusting the content margins in your theme's CSS to something a little wider.
ZarPrime
Thx Zar, i've just found the panel-code in the TPBlockLayoutTemplate.php after alot of searching and adjusting my theme and that file accordingly :)
Isn't as clean as using a tag but it does the trick to get it the way i want it to be and i still get to use TinyPortal :D
All i need to find now is the code where the blocks are generated and the transformation will be complete ^^
Well, I think you've got it pretty close at this point, at least for the left and right panels. It actually looks almost like your e107 site at this point. Whatever you do though, be sure to keep track of just what you did to get it like that so that you can easily duplicate the effort when a new version of TinyPortal comes out.
ZarPrime
Indeed will do so :-) Thanks for your helf anyway!