TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 103
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online

Move blocks to specific place in theme

Started by rousseauxy, December 11, 2011, 02:35:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rousseauxy

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  :)

lurkalot

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.

rousseauxy

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!

lurkalot

#3
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
Human
Draenei
Blood Elves
Elves
Undead
Dwarves
Gnomes
Troll
Tauren
Worgen
WoW Logo

rousseauxy

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?

lurkalot

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?

rousseauxy

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

lurkalot

So what happens if you remove your extra sidepanels. 

rousseauxy

Would be something like this then: ht tp://smf.loyaltyguild.eu/Themes/smfWoW/clean.html

Just quick mockup if i remove the sidepanels

lurkalot

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?

This website is proudly hosted on Crocweb Cloud Website Hosting.