vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Troubleshooting / "How do I..." Questions

 
 
Thread Tools Display Modes
  #1  
Old 02-18-2005, 10:32 AM
Sidane Sidane is offline
Junior Member
 
Join Date: Feb 2005
Posts: 2
Default Module Column Alignment Problem

I've just installed CMPS and am having a problem. I've created a new module and want it aligned in the right column. However, it keeps appearing in the left column and nothing I change makes any difference.

Module settings:

File to include: onthisday.php (contains scripts to extract data from database)
Template to include: empty
Active: Yes
Column: Right Column
Display Order: 2
Template used: on_this_day

Have I missed a step?

Any help would be appreciated.
  #2  
Old 02-18-2005, 11:51 AM
Sidane Sidane is offline
Junior Member
 
Join Date: Feb 2005
Posts: 2
Default Re: Module Column Alignment Problem

Ok solved my own problem.

I was using the wrong eval function at the end of include file for my new module.

I was using

eval('$home[$onlineid][\'content\'] = "' . fetch_template('adv_portal_my_module_name') . '";');

but when I replaced it with

eval('$home[$mods[\'modid\']][\'content\'] = "' . fetch_template('adv_portal_my_module_name') . '";');

the alignment issue was fixed.

Great script btw!
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Alignment of Main table at the top... DMC Troubleshooting / "How do I..." Questions 9 09-20-2004 10:56 PM
Same module in different column on different pages? StewardManscat Troubleshooting / "How do I..." Questions 3 09-15-2004 12:52 AM
Sidebar alignment problem LamboJay Troubleshooting / "How do I..." Questions 2 08-26-2004 02:12 PM
Right Column layout problem sHORTY Troubleshooting / "How do I..." Questions 2 06-18-2004 04:22 AM


All times are GMT -4. The time now is 12:03 PM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.