Results 1 to 2 of 2

Thread: Module Column Alignment Problem

  1. #1
    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. #2
    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!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •