Results 1 to 10 of 393

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    1
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Thanks for a great addon!


    I'm having difficulties showing category related graphics for product pages when inveostore magicseourl is enabled.

    smartbg class correct, no sef urls:
    http://www.prostore.fi/index.php?mai...&cPath=131_132

    smartbg class wrong with sef urls:
    http://www.prostore.fi/rullalaudat-p...musta-552.html

    inveostore support states behaviour cannot be because of them,

    http://www.inveostore.com/community/...roke-580#p2611


    I really love both addons, can you please aid how to give category specific class for product page with MSU enabled?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Smart Backgrounds support

    Smart Backgrounds uses $_GET['main_page'] and similar superglobals to act on, so if MSU is not setting those correctly it will fail, per Conor's post that you referenced. You might try changing $_GET['cPath'] to $cPath in the function code and see if that makes a difference.

  3. #3
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    help question Re: Smart Backgrounds support

    First off, THANK YOU for this mod!

    I'm using the foreground images successfully for product categories, but would like to add some to manufacturer pages.

    If the URL for the particular page is /index.php?main_page=index&manufacturers_id=29, what would my filename end with? I've tried every filename combination I can think of without luck.

    Thanks again!

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Smart Backgrounds support

    There is not currently a mechanism for identifying individual manufacturers' index pages. It would be possible to do; I can investigate when I am back home in a few days.

  5. #5
    Join Date
    Sep 2008
    Posts
    13
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Thanks, Glenn -- that would be awesome!

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Smart Backgrounds support

    Once again I am away from home, and unfortunately there is no way to mark threads "unread", so if I forget about something and there are a lot of posts before I get back, I may not see it again. I will try to remember this time.

  7. #7
    Join Date
    Apr 2010
    Posts
    263
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Hi, I am working on www.test.theflowershoppe.co.uk. I am trying to add the different backgrounds for my logo wrapper.

    I have added "'.png' to the tpl_main_page (was class="smartBG<?php echo smart_backgrounds();?>" but is now class="smartBG<?php echo smart_backgrounds('.png');?>").

    I have added to my smartBG stylesheet:

    #logoWrapper {background-image: url(../images/smartBG.png);}

    .smartBG_contact_us #logoWrapper {background-image: url(../images/smartBG_contact_us.png);}

    and uploaded the images to my template folder for images. No change on the contact page. I am sure I am doing something simple wrong, could you help please?

 

 

Similar Threads

  1. Adding Image Map to header with Smart Backgrounds
    By cspan27 in forum Addon Templates
    Replies: 16
    Last Post: 25 Jul 2009, 01:14 AM
  2. smart backgrounds
    By Glendon in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Sep 2008, 04:49 PM
  3. Backgrounds
    By v.kirk in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jun 2006, 06:14 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
  •  
disjunctive-egg