Results 1 to 12 of 12

Thread: Add CMPS Left Bar to Links Pages?

  1. #1
    Senior Member trackpads's Avatar
    Join Date
    Oct 2004
    Posts
    197

    Default Add CMPS Left Bar to Links Pages?

    I have been successful in adding the CMPS pages to the other VB pages but cannot get it to show in the Links. Any ideas?

    Thanks!

  2. #2
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: Add CMPS Left Bar to Links Pages?

    You should just need to add the following code to the page you wish to integrate:

    define('VBA_PORTAL', true);
    define('VBA_PAGE', 'your_page_name_here');

    The rest of the work is already done for you in the links directory files.

  3. #3
    Senior Member trackpads's Avatar
    Join Date
    Oct 2004
    Posts
    197

    Default Re: Add CMPS Left Bar to Links Pages?

    I tried but no luck, I get the following error:

    Warning: array_keys(): The first argument should be an array in /includes/functions_gallery.php on line 427

    Warning: Division by zero in /includes/functions_gallery.php on line 1134

    Fatal error: Cannot redeclare construct_orderby() (previously declared in /home/trackpad/public_html/forum/includes/functions_gallery.php:1343) in /home/trackpad/public_html/forum/includes/functions_links.php on line 271
    Which is odd because it is pointing to the functions_gallery file?

  4. #4
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: Add CMPS Left Bar to Links Pages?

    Have you modified your functions_links.php file at all? I don't see how you would get an error like that otherwise...

  5. #5
    Senior Member trackpads's Avatar
    Join Date
    Oct 2004
    Posts
    197

    Default Re: Add CMPS Left Bar to Links Pages?

    No, not that I know of, I remember I added the Ucash code you gave me but that is it.

  6. #6
    Senior Member trackpads's Avatar
    Join Date
    Oct 2004
    Posts
    197

    Default Re: Add CMPS Left Bar to Links Pages?

    I just reuploaded the functions_links.php from th install package and still get the same error.

    Thanks again,

    -Jason

  7. #7
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: Add CMPS Left Bar to Links Pages?

    About the only other thing I can suggest would be to search your global.php and includes/functions.php files for functions_gallery.php to see where it's being included. It may have been added in one of those files for some type of gallery hack, but (as you see) it isn't going to work because of the duplicate function names in the two scripts.

  8. #8
    Senior Member trackpads's Avatar
    Join Date
    Oct 2004
    Posts
    197

    Default Re: Add CMPS Left Bar to Links Pages?

    I just checked both and functions_gallery.php isnt in either.

    Is there a way to put the left bar in links and not gallery? I am really in love with this 'portalizing' of my site. I never realizd how much you could do with cmps, very very cool

  9. #9
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: Add CMPS Left Bar to Links Pages?

    You've got something funky going on somewhere then as there's no reason you would be getting that error on a default install of the programs.
    To have the bars in just the links directory and not the gallery you would just need to remove the code you've added in your gallery files to integrate the CMPS and be sure the code I mentioned in post #2 is in your links directory files.

  10. #10
    Senior Member trackpads's Avatar
    Join Date
    Oct 2004
    Posts
    197

    Default Re: Add CMPS Left Bar to Links Pages?

    Ok,

    I havent added any code to integrate the gallery. That is whats driving me mad. I was trying the links first and havent touched the gallery at all.

    I am goind to reupload all my links and gallery files and see what happens then, I cant figure it out.

    -Jason

  11. #11
    Administrator Brian's Avatar
    Join Date
    Jan 2004
    Location
    Georgia, USA
    Posts
    34,463

    Default Re: Add CMPS Left Bar to Links Pages?

    Sounds good. If you still get that error after you upload the files and want to submit a support ticket I'll be glad to take a look for you.

  12. #12
    Senior Member trackpads's Avatar
    Join Date
    Oct 2004
    Posts
    197

    Default Re: Add CMPS Left Bar to Links Pages?

    Ticket submitted, thanks again!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Links in the left always are index.php?page
    By Felony in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 11-11-2005, 11:55 AM
  2. left sidebar in Links
    By CSS59 in forum "How Do I..." Questions
    Replies: 6
    Last Post: 08-04-2005, 01:51 PM
  3. add vbportal left menu`s to vba links homepage
    By NuFFy in forum "How Do I..." Questions
    Replies: 4
    Last Post: 04-18-2005, 02:04 PM
  4. Menu / Navigation on left side on all pages
    By Jester in forum Troubleshooting / "How do I..." Questions
    Replies: 2
    Last Post: 12-23-2004, 04:28 PM

Posting Permissions

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