collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 389
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Author Topic: Blocks above header?  (Read 8819 times)

0 Members and 1 Guest are viewing this topic.

Offline SimianSteam

  • Semi Newbie
  • *
  • Posts: 25
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Blocks above header?
« on: May 08, 2014, 06:26:54 PM »
Ok, I searched for about an hour, didn't see anything about this. Probably didn't use the correct terms, but I tried.

Is there any way to put a blocks either above, or replacing the forum header? It would be really nice to have the entire forum be modular, not just from the Nav bar down.

Offline andy

  • On Leave
  • *
  • Posts: 861
  • Gender: Male
    • Outdoor Club Japan (OCJ) アウトドア・クラブ・ジャパン
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
  • Elkarte Version: None
Re: Blocks above header?
« Reply #1 on: May 09, 2014, 05:32:21 AM »
The SPortal header block is below the navigation. Maybe it would be a good suggestion to add in the forum here - for a header type block that is really at the top.

Other than that you can try SMF mods. I'm sure there is a mod to modify the main template to add a block at the top of the page.

Everyone is a volunteer here so please try and make a small donation to keep the Simple Portal website running


Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks above header?
« Reply #2 on: May 09, 2014, 11:37:30 AM »
SimianStream,


One option will be to add something to your index.template.php
1) create a block in the blocks editor and take note of its id
2) use the information in the fabulous blocks-in-blocks blog post to put some code to show your block.  http://simpleportal.net/index.php?topic=5332.msg32204#msg32204

This is definitely customization.  If you ask for help on the customization board, you will get it -- whenever volunteers are available to help.

Good Luck!
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline SimianSteam

  • Semi Newbie
  • *
  • Posts: 25
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Blocks above header?
« Reply #3 on: May 09, 2014, 01:20:12 PM »
The SPortal header block is below the navigation. Maybe it would be a good suggestion to add in the forum here - for a header type block that is really at the top.

Other than that you can try SMF mods. I'm sure there is a mod to modify the main template to add a block at the top of the page.

I just read a thread about Integration mode, but didn't see how to add your entire forum into a block. Can you link me to that info, plz?

Offline SimianSteam

  • Semi Newbie
  • *
  • Posts: 25
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Blocks above header?
« Reply #4 on: May 09, 2014, 01:20:31 PM »
SimianStream,


One option will be to add something to your index.template.php
1) create a block in the blocks editor and take note of its id
2) use the information in the fabulous blocks-in-blocks blog post to put some code to show your block.  http://simpleportal.net/index.php?topic=5332.msg32204#msg32204

This is definitely customization.  If you ask for help on the customization board, you will get it -- whenever volunteers are available to help.

Good Luck!

I'll read that now. Thank you!

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks above header?
« Reply #5 on: May 09, 2014, 01:25:02 PM »
I don't think I would try to put your "entire forum" into a block.

If you just really want to reorganize what your portal page or other pages of your forum look like, you might want to consider a custom theme -- and then customize it some more.

What will be easiest and best will depend on what you are trying to do.
What is it you want to put at the top of your forum, or in place of the forum header?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline SimianSteam

  • Semi Newbie
  • *
  • Posts: 25
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Blocks above header?
« Reply #6 on: May 09, 2014, 01:50:27 PM »
I don't think I would try to put your "entire forum" into a block.

If you just really want to reorganize what your portal page or other pages of your forum look like, you might want to consider a custom theme -- and then customize it some more.

What will be easiest and best will depend on what you are trying to do.
What is it you want to put at the top of your forum, or in place of the forum header?

Supporting vendors, Banner, etc. I was hoping to make my forum completely modular. Currently I've wiped almost the entire header, leaving only the nav bar. If suppose I could kill that too, and use the Navigation block... Is there an easy way to mod the Menu block to go horizontally with drop-downs?

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks above header?
« Reply #7 on: May 09, 2014, 04:07:55 PM »
Not sure what you mean by "completely modular".
SMF themes work in "layers" -- containers within containers. 
Many things in CURVE are laid out in divs.
Simpleportal uses table elements to lay things out.

The menu in CURVE is now a horizontal list with vertical drop-downs.

Are you looking to create a vertical list with fly-outs?

Are you looking for a responsive or mobile-ready design?
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline SimianSteam

  • Semi Newbie
  • *
  • Posts: 25
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Blocks above header?
« Reply #8 on: May 09, 2014, 04:25:03 PM »
Not sure what you mean by "completely modular".
SMF themes work in "layers" -- containers within containers. 
Many things in CURVE are laid out in divs.
Simpleportal uses table elements to lay things out.

The menu in CURVE is now a horizontal list with vertical drop-downs.

Are you looking to create a vertical list with fly-outs?

Are you looking for a responsive or mobile-ready design?

First, LOVE your avatar.

I posted about this in the thread about the Info Center, but I'll go ahead and repeat it here:

Quote
Rather than try to tweak all the components of a theme with this setup I could move stuff where ever I wanted with a few button clicks. Want the Info Center in the sidebar instead of the footer? 30 seconds. Want to have a different banner shown in various subforums? 30 seconds.

You see what I'm getting at?

I love the idea of moving stuff around, activating and deactivating features, and never having to go into the Style Sheet. I'm kinda surprised no one thought to do this before.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks above header?
« Reply #9 on: May 10, 2014, 08:11:33 AM »
I get it now.  So what I suggested is not perfectly ideal for you.  Every time you want to make a change, you would have to edit all of your active themes.

What you really want is a theme that is a "simple portal block anywhere" design
That means creating some theme options for "block above header ID". "Block below header ID", "omit header", etc.

This is something I have never done.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline SimianSteam

  • Semi Newbie
  • *
  • Posts: 25
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Blocks above header?
« Reply #10 on: May 11, 2014, 10:25:39 AM »
I get it now.  So what I suggested is not perfectly ideal for you.  Every time you want to make a change, you would have to edit all of your active themes.

What you really want is a theme that is a "simple portal block anywhere" design
That means creating some theme options for "block above header ID". "Block below header ID", "omit header", etc.

This is something I have never done.

Maybe I'm throwing out "Pie in the sky" ideas, or maybe it's something that could be considered for a later version of SimplePortal. I just think it would make forum design really easy. You'd only have to change colors and backgrounds, and could use SP to re-arrange everything else.

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks above header?
« Reply #11 on: May 12, 2014, 01:39:55 PM »
I am sorry. I think I have put the emphasis all wrong here.

I agree.  That is a really fun and interesting idea for a future version of SimplePortal.
I imagine that it might require some very serious theme modification -- even a custom theme full of hooks for hooking things in (like "designate a block container here and call it cucumber") and unhooking the "default" things.

This is a very innovative way of thinking about things, and so would take a lot or re-thinking.

In the shorter timescale, I was trying to think of ways you could easily customize your favorite theme to put a block where you want it.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?

Offline SimianSteam

  • Semi Newbie
  • *
  • Posts: 25
  • SMF Version: 2.0.7
  • SP Version: 2.3.5
Re: Blocks above header?
« Reply #12 on: May 12, 2014, 05:54:02 PM »
I am sorry. I think I have put the emphasis all wrong here.

I agree.  That is a really fun and interesting idea for a future version of SimplePortal.
I imagine that it might require some very serious theme modification -- even a custom theme full of hooks for hooking things in (like "designate a block container here and call it cucumber") and unhooking the "default" things.

This is a very innovative way of thinking about things, and so would take a lot or re-thinking.

In the shorter timescale, I was trying to think of ways you could easily customize your favorite theme to put a block where you want it.

No worries. One of the major problems with the internet is that it's soooo easy to misinterpret words without context.

I'm glad you like the idea. It's one of those things that fits into the category of "Stuff I'd Like To Be Able To Do", but not in the category of "Stuff I Need To Do", if you know what I mean. Since I installed a Coppermine gallery the whole thing would get nightmarishly complex for a newb like me anyways. I'm sticking with a simple theme and SimplePortal for this first rev. Maybe in a few months I'll get off my butt and finish my coding classes and put some effort into making Above the Header blocks a reality.

Thank you for your help!

Offline AngelinaBelle

  • Comrade
  • *
  • Posts: 4870
  • Gender: Female
  • SMF Version: 2 RC3
  • SP Version: 2.3.2
Re: Blocks above header?
« Reply #13 on: May 12, 2014, 07:53:32 PM »
That is a really cool idea.  You'll find, if you study how SMF is organized and how the themes work, that it is possible to radically redesign a theme like that.  For example, the Elkarte team created a responsive version of the default CURVE theme.

You'll also see that SMF uses hooks in the code to make it possible to optionally add functionality at those locations.

So it should certainly be possible to add hooks to allow you to choose where to put stuff.


You can also look on this site for a JavaScript -based mod [SiNaN] created some time back that allows users to rearrange the blocks by dragging them around.

And you will be able to see that all the code for SimplePortal is available at GitHub. So you can learn a lot by looking through the code.  And, some day, when you have learned quite a bit, you could even be the person who creates the feature you want.  Something to look forward to!  Enjoy your coding class,and enjoying developing the power to make things happen.
Please to keep this website running, if you like SimplePortal, make a
one-time subscription. Thank you for your support.

Have you tried the SimplePortal documentation?