Page 27 of 40 FirstFirst ... 17252627282937 ... LastLast
Results 261 to 270 of 393
  1. #261
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Smart Backgrounds support

    I don't recall hearing about any issues...

  2. #262
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Smart Backgrounds support

    Quote Originally Posted by gjh42 View Post
    I don't recall hearing about any issues...
    Excellent!! Thanks for the response!

  3. #263
    Join Date
    Dec 2008
    Posts
    18
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    As far as I can see, there is no work around for the CEON URI MAPPING. It's unfortunate.

  4. #264
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Smart Backgrounds support

    Hi,

    Quote Originally Posted by mkonchalski View Post
    As far as I can see, there is no work around for the CEON URI MAPPING. It's unfortunate.
    I find it very strange that you didn't think to ask in its thread then? :)

    I just found this thread by accident but I took a look at the Smart Backgrounds code and it's very basic. I haven't actually tried installing it but am guessing that you were having a problem setting the background on product pages?

    Did you try setting the background for category or EZ-Pages? And did that work fine?

    The very latest version of Ceon URI Mapping (3.2.4 - download link in its thread) has code added to set the $_GET['cPath'] variable for product pages. Previous versions didn't, as most Zen Cart functionality uses the $cPath variable and this bug only just showed up with some "different" Zen Cart code which also relies on an actual cPath entry in the query string (the $_GET['cPath'] variable).

    Looking at the source of the Smart Backgrounds module it's clear to me that that would have broken the module on product info pages.

    If the above describes your situation, simply download the latest version of the URI Mapping module and your problems with the Smart Backgrounds module should go away.

    I think that with the latest version of the URI Mapping module it is now 100% compatible with Zen Cart.. so if a module doesn't work with it, the module itself must have bugs, not the URI Mapping module!

    Incidentally, the Smart Backgrounds module uses unquoted associative array indexes, like $_GET[cPath] - this is wrong, it should be $_GET['cPath']. Just thought that was worth mentioning!

    Also, for obvious reasons you can't use relative paths to images when using the URI Mapping module. If your path to an image is ../images/some_image.gif then when you are on /fantastic-books/sci-fi/some-space-book using ../images/some_image.gif won't work as the images directory is on the root of the site. You should instead use /images/some_image.gif (i.e. all image paths must start with a slash / ).

    Hope the above helps.

    All the best...

    Conor
    ceon
    Last edited by conor; 21 Sep 2009 at 12:20 AM.

  5. #265
    Join Date
    Aug 2004
    Location
    Belfast, Northern Ireland
    Posts
    2,480
    Plugin Contributions
    14

    Default Re: Smart Backgrounds support

    Hi,

    In my last post I have given an incorrect example of an image URI. Since you are storing the images in /includes/templates/your_template/images/ the example styles which come with Smart Background are incompatible with SEO modules. They should instead be something like the following:

    /*example to set default header bg*/
    #headerWrapper {background-image: url(/includes/templates/your_template/images/smartbg.gif);}

    /*example to set header bg for listing or product page in category id 23*/
    .smartBG_23 #headerWrapper {background-image: url(/includes/templates/your_template/images/smartbg_23.gif);}


    Basically, replace

    ../images

    with

    /includes/templates/your_template/images/

    As the relative paths don't work with an SEO/SEF/URI Mapped page!

    Also upgrade to 3.2.4 though! That should be you up and running.

    All the best...

    Conor

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

    Default Re: Smart Backgrounds support

    Thanks for the information, Conor.
    Thanks also for mentioning the missing quotes. Since it works as is, I hadn't revisited that old part of the code in a long time, but that gives a good excuse to update the packaging and perhaps make the mod easier to transplant for alternate uses.

    Note that the full URL path is only needed if you are using an SEO mod.
    Last edited by gjh42; 21 Sep 2009 at 01:24 AM.

  7. #267
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Smart Backgrounds support

    Well all of this makes me feel better.. I am in LOVE with Ceon URI, and the thought that it wasn't compatible with this mod was not makin' me happy..

    I am glad to see that I don't have to work up a workaround (though I think I would have at least ASKED Conor before mapping any kind of workaround..)

  8. #268
    Join Date
    Nov 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Hi all,

    Newbie poster here and newbie zenner (less than one month).
    I've done as per the instructions and although my default page header works perfectly well (smartbg.jpg) I cannot get the header to change when going to path 2...? I've reinstalled the mod about 5 times now and cannot for the life of me get anything other than the default header to display, please help

    Here is my website which is very much still under construction:
    www.swallowbakery.com/shop

    Many, many thanks in advance if anyone can fix it.

    Realise this is the wrong forum but also my css flyouts don't work, any reason why?

    Cheers

  9. #269
    Join Date
    Nov 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Smart Backgrounds support

    Anyone, please?

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

    Default Re: Smart Backgrounds support

    smartbg.jpg

    The default code works with .gif images. Did you modify it for .jpg images? If not, that would be the cause. See the readme for directions to modify the code.

    The new version of Smart Backgrounds that will be released soon has an easy selection method for choosing the image type to be used.

 

 
Page 27 of 40 FirstFirst ... 17252627282937 ... LastLast

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