left AND right columns

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • plan_b
    Senior Member
    • Jul 2003
    • 186
    • 3.0.3

    left AND right columns

    Hello... I would like to have columns on the left and right of every page that displays vB pages minus the popups and redirects. I have tried vBadvanced and there are a couple of pages that have permission conflicts, so it won't work.

    I would like it to be template based, with little file edits, at least not any more that are necessary. Could any of this be done at all in the header, and if so what would I need to add/do as what I have tried hasn't worked. (heard that it can it part be done there)

    And help on this quest would be great
  • adguru
    Senior Member
    • Jul 2004
    • 339
    • 3.0.3

    #2
    I guess that it's very much possible.... What all things would you like to put in those columns???
    =)

    Comment

    • plan_b
      Senior Member
      • Jul 2003
      • 186
      • 3.0.3

      #3
      Thanks for your reply adguru, left side user info/login and maybe an Avatar similar to vba, a menu to other portions of the site, and not to sure below that... at least for now

      On the right... a java aplet that would show real time forex quotes, and if possible... a mini calendar like in vbadvanced, a banner

      That would really all that I can think of right now. I would like to be able to have some items dynamic.

      I have thought about making my /forum as home (as a template maybe) and then changing my forum index.php to something else and linking to it.

      Hope you understand what I am trying to say.
      Col

      Comment

      • adguru
        Senior Member
        • Jul 2004
        • 339
        • 3.0.3

        #4
        Ok. Now I get it...

        Style Manager > <<>> > Forum Home Templates >> ForumHome

        Play around with the htmll [ I have the columns on my site... ]. Modify the navbar template [from Navigation / Breadcrumb Templates >> Navbar ]

        Hope this helps!
        =)

        Comment

        • plan_b
          Senior Member
          • Jul 2003
          • 186
          • 3.0.3

          #5
          Well that will only do for the FORUMHOME page.... I want them on Calendar, threadreply, members list, Searches.......

          All of them

          Comment

          • adguru
            Senior Member
            • Jul 2004
            • 339
            • 3.0.3

            #6
            You can see the templates for those pages and edit em!
            =)

            Comment

            • Michael Morris
              Member
              • Jul 2004
              • 94
              • 3.0.0 Release Candidate 4

              #7
              For left columns start a table at the end of the $header template..

              HTML Code:
              <table width="stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
              <tr>
              <td>
              THE CONTENTS OF YOUR LEFT COLUMN
              </td>
              <td>
              $spacer_open
              The header ends there. We pick up this table in the footer - at the very start of the footer...

              HTML Code:
              </td>
              <td>
              THE CONTENTS OF YOUR RIGHT COLUMN
              </td>
              </tr>
              </table>
              You'll need to use conditionals if you have certain pages that you don't want the columns appearing in. Popups and redirects won't be affected as they don't load the header and footer anyway.

              Comment

              • plan_b
                Senior Member
                • Jul 2003
                • 186
                • 3.0.3

                #8
                Thanks... I will play with it

                Now I'll just play with it to have it so that I can have my navbar and footer go all the way acrossed the top of these new columns

                Comment

                • plan_b
                  Senior Member
                  • Jul 2003
                  • 186
                  • 3.0.3

                  #9
                  ok the newbie has a couple of php questions....

                  Now I was able to create those columns in the left and right, which was exactly what I wanted... very nice thank you.

                  Now, how can I put some items in it..... Like a template.... or php file. I wouldl like to add some thing (for starters) like the mini calendar on the right side... and I would like to add the login on the left.

                  I am not sure what the name of it is to call these into there..... what is it

                  Any help would be great.

                  Comment

                  • maggie
                    Senior Member
                    • Jan 2004
                    • 425

                    #10
                    IF I'm not mistaken (could be, but maybe it's worth a shot anyway), if you have a template for the mini-calendar, you add $templatename to the place you want to put the calendar...

                    Comment

                    • plan_b
                      Senior Member
                      • Jul 2003
                      • 186
                      • 3.0.3

                      #11
                      wondering if I can put it in a template can I call it into a table?

                      Comment

                      • plan_b
                        Senior Member
                        • Jul 2003
                        • 186
                        • 3.0.3

                        #12
                        Michael Morris or Jake, I have added both a left and a right editing the header and footer using whats below:

                        header:
                        PHP Code:
                        <!-- begin left column -->
                        <
                        table width="stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
                        <
                        tr>
                        <
                        td width="15%" align="center" valign="top">
                        $smallcalendar
                        THE CONTENTS OF YOUR LEFT COLUMN
                        </td>
                        <
                        td>
                        <!-- 
                        end left column --> 
                        footer:
                        PHP Code:
                        <!-- begin right column -->
                        </
                        td> <td width="15%" align="center" valign="top">
                        $smallcalendar
                        THE CONTENTS OF YOUR RIGHT COLUMN
                        </td> </tr> </table>
                        <!-- 
                        end right column --> 
                        Ok first off you will noticed that I add the mini calendar from org, but what I need help on is getting the padding on the top the same as the breadcrumb.

                        PS... I was only able to call the calendar template from the instructions, how can I call another template that I create?... Just repeat the steps? (got confused when he states create a template 'small_calendar' but calls $smallcalendar... any ways

                        Thanks for all your help.
                        Coll
                        Attached Files

                        Comment

                        • plan_b
                          Senior Member
                          • Jul 2003
                          • 186
                          • 3.0.3

                          #13
                          Originally posted by Michael Morris
                          For left columns start a table at the end of the $header template..

                          HTML Code:
                          <table width="stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
                          <tr>
                          <td>
                          THE CONTENTS OF YOUR LEFT COLUMN
                          </td>
                          <td>
                          $spacer_open
                          The header ends there. We pick up this table in the footer - at the very start of the footer...

                          HTML Code:
                          </td>
                          <td>
                          THE CONTENTS OF YOUR RIGHT COLUMN
                          </td>
                          </tr>
                          </table>
                          You'll need to use conditionals if you have certain pages that you don't want the columns appearing in. Popups and redirects won't be affected as they don't load the header and footer anyway.
                          After playing with the above for a while.... it turns out not to work out with 800X600 resolution. All of the above needs to be a master table, so I corrected it and it works great now, IF you are wanted LEFT and RIGHT columns

                          For left columns add at the end of the $header template..
                          PHP Code:
                          <!-- Begin of main outside table -->
                          <
                          table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <
                          tr>
                              <
                          td>
                          <!-- 
                          Begin inner table -->
                          <
                          table width="stylevar[outertablewidth]" align="center" cellpadding="0" cellspacing="0">
                          <
                          tr>
                          <!-- 
                          begin left column -->
                          <
                          td>
                          THE CONTENTS OF YOUR LEFT COLUMN
                          </td>
                          <!-- 
                          end left column -->

                          <!-- 
                          begin center column -->
                          <
                          td>
                          $spacer_open 
                          At the very start of the footer add
                          PHP Code:
                          </td>
                          <!-- 
                          end center column -->

                          <!-- 
                          being right column -->
                          <
                          td
                          THE CONTENTS OF YOUR RIGHT COLUMN
                          </td>
                          <!-- 
                          end right column -->
                          </
                          tr> </table>
                              <!-- 
                          begin ending of main outside table -->
                              </
                          td>
                            </
                          tr>
                          </
                          table>
                          <!-- 
                          end of main outside table --> 

                          Comment

                          • plan_b
                            Senior Member
                            • Jul 2003
                            • 186
                            • 3.0.3

                            #14
                            I have noticed that if, for you are signed in, and then click on some thing in your navbar (User CP for instance) it seems that the center column is off to the right abit, but if you are to refresh it, it then takes up that open space. The left and right columns have not changed in size, it just seems that the center is off a bit.

                            Any idea why this may be?

                            Comment

                            • plan_b
                              Senior Member
                              • Jul 2003
                              • 186
                              • 3.0.3

                              #15
                              Will this work for 3.5... I have not downloaded it yet but plan to this weekend.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...