| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Escaping { in custom module code | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Escaping { in custom module code
Okay, getting really close! New output:
(snip) publisher:& # 039; (snip) How do I make flexy not encode my quotes into & # 039; ? (spaces added so it won't encode here)
__________________
X-Cart Business 5.1.6 |
|||||||
#12
|
|||||||||
|
|||||||||
Re: Escaping { in custom module code
Aw, you should call your getShareCode() method in template like this {getShareCode():h} as Flexy encodes special chars by default. :h modifier disables such encoding.
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
#13
|
|||||||
|
|||||||
Re: Escaping { in custom module code
Aha! That worked great. The code for the Newsletter (MailChimp) section looks like it's working like it should.
One last tiny thing. I have the code looking great in the source view. But the icons are not displaying on the site (they are drawn by the script). EDIT: they are showing up in Safari, not Firefox or IE (all on PC). But the links don't seem to work well on Safari. /EDIT Site: https://7sorrowsrosaries.com/ -- section is "Share this page" on the bottom of the left column. I put the exact same code on a test page, here: (no compiler, this is straight html) http://haleystudio.com/script-test.html and it works fine (links work too). AND -- get this -- when I saved the page from 7sorrowsrosaries.com as "save as full web page" and then previewed it, without changes, in the same browser, NO PROBLEM. Can't tell if the links are working from there... but at least the icons are displaying. Here's the screenshot. http://haleystudio.com/images/clients/share-gif.gif
__________________
X-Cart Business 5.1.6 |
|||||||
#14
|
|||||||||
|
|||||||||
Re: Escaping { in custom module code
I think the buttons do not display, because you have included an http: reference to the script, and the link to the page above is https.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#15
|
|||||||
|
|||||||
Re: Escaping { in custom module code
Okay! Thank you all SO MUCH.
It's still not working great -- but from here on I think it's a Javascript thing vs. an X-Cart thing, so I'll take those troubles elsewhere!
__________________
X-Cart Business 5.1.6 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|