Page Index Toggle Pages: 1
Topic Tools
Normal Topic Moving the Info Block (Read 1,973 times)
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,789
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Moving the Info Block
Reply #7 - Oct 3rd, 2011 at 11:12pm
Post Tools
Off-Topic replies have been moved to this Topic.
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Captain John
Ex Member


Re: Moving the Info Block
Reply #6 - Aug 21st, 2011 at 7:23am
Post Tools
Welcome ...
  
Back to top
 
IP Logged
 
jon666
Junior Member
**
Offline



Posts: 83
Re: Moving the Info Block
Reply #5 - Aug 20th, 2011 at 3:52pm
Post Tools
Yikes! It worked Great! Thanks' Captain.
  
Back to top
 
IP Logged
 
jon666
Junior Member
**
Offline



Posts: 83
Re: Moving the Info Block
Reply #4 - Aug 18th, 2011 at 11:37pm
Post Tools
Thanks. Took a look at the source for Boardindex.template and believe you are suggesting the info block can be moved by editing the html. Will give it a try. Grin
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Moving the Info Block
Reply #3 - Aug 16th, 2011 at 2:48am
Post Tools
From the YaBB Codex (Templates)
Quote:
{yabb main} - This is the variable that holds all of the information to be displayed in the main section of the page. The value of this variable is set by combining the code found in your various other template files, along with all of the variables contained within those files. For instance, if you are viewing the board index (the main page of your forums), the yabb main variable will contain all of the information set through your BoardIndex.template file.
  
Back to top
 
IP Logged
 
jon666
Junior Member
**
Offline



Posts: 83
Re: Moving the Info Block
Reply #2 - Aug 15th, 2011 at 6:47pm
Post Tools
Thanks Jon for the helpful reply. Too bad it can't be moved. Don't bother looking at the code for image insertion. Am familiar with the default html template so it shouldn't be a problem.
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 3,789
Location: Land of the Blazing Sun!

YaBB 2.6.0
Re: Moving the Info Block
Reply #1 - Aug 15th, 2011 at 6:13pm
Post Tools
AFAIK - the info block has to be created when a page is generated - so I think its stuck in <yabb main>

I have certainly dropped in image files before. HOWEVER, until my main remote router is fixed later today -- I can't read my source.  I think they can be almost anywhere in the container (except <yabb main>  That's where (as I recall) YaBB 'stuffs' the dynamic page build (so its driven by the other index templates).

All my poor baby YaBB's are down until that fix.  Cry

Good Luck
Cool
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
jon666
Junior Member
**
Offline



Posts: 83
Moving the Info Block
Aug 15th, 2011 at 1:38pm
Post Tools
Have been running Yabb 2.4 a couple of years.

Would like to move the Board Index  info block up to between  <yabb navigation></div> and
<yabb main> in the default html template. However it seems to be part of <yabb main> Is there any way of separating it out in order to move it up?

Also, is it OK to call additional small images to the default html template using  <img src> tags?

Thanks'

  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools
 
  « Board Index ‹ Board  ^Top