![]() |
|
#1
|
|||
|
|||
|
I am running the sidebar found in the VBA user manual.
How can I show my left sidebar on my links page in Camps? |
|
#2
|
||||
|
||||
|
Just make the first changes listed in the users' manual here (the define('VBA_PORTAL', true); and define('VBA_PAGE', 'include')
to the pages you would like to integrate, and then you will see that the other changes have already been made for you. Or, if you want to integrate every page of the links directory then you could edit the links_config.php file and just add the code there.
|
|
#3
|
|||
|
|||
|
Log into your Admin CP.
Click on the 'Add Page' link listed under your 'vBa CMPS' options in the left frame. Once there, enter a Title and a Page Identifier for your page. You may call these two options whatever you would like, just be sure to make a note of what you used for the 'Page Identifier' option. For this example we are going to use 'include' for both. Since we only want to include the modules in the left column on this page, uncheck all modules that are in your right and center columns, with the exception of your 'Custom Page Content' module. This module will be replaced with the output from your file, so it must be active on this page. Or of course if you would like other modules to be active then you may leave them as active. Set any additional options that you would like, and then save the page. Now you will want to open your /forums/index.php file. In that file, right after the opening <?php tag, you will want to add this code: Code:
define('VBA_PORTAL', true);
define('VBA_PAGE', 'include');
For the next step, you will want to search your file for the phrase "print_output" (without the quotes). In our example here, you would find the following code: Code:
eval('print_output("' . fetch_template('FORUMHOME') . '");');
Code:
eval('$HTML = "' . fetch_template('FORUMHOME') . '";');
print_portal_output($home, $HTML);
|
|
#4
|
|||
|
|||
|
Quote:
|
|
#5
|
|||
|
|||
|
figured it out thank you
|
|
#6
|
|||
|
|||
|
when I do this -- it puts the left column on the bottom of the center column -- the right column shows up, but the left is under the center -- what do I look for here?
|
|
#7
|
|||
|
|||
|
nevermind -- I didn't click the Custom Module in the center -- it's working now
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| add vbportal left menu`s to vba links homepage | NuFFy | "How Do I..." Questions | 4 | 04-18-2005 02:04 PM |
| Flash Header & Left SideBar | DGTLMIK | Troubleshooting / "How do I..." Questions | 5 | 04-07-2005 05:41 PM |
| SideBar to the left of the Breadcrumb Bar | DGTLMIK | Troubleshooting / "How do I..." Questions | 5 | 02-17-2005 03:49 PM |
| Opinions needed - collapsable left sidebar | Alan @ CIT | Add-On Modules & Modifications | 3 | 01-03-2005 12:13 PM |
| Left sidebar on forum home doesn't work | golfrewind | Troubleshooting / "How do I..." Questions | 7 | 07-25-2004 09:43 PM |