Page 81 of 245 FirstFirst ... 3171798081828391131181 ... LastLast
Results 801 to 810 of 2445
  1. #801
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by crazysarah View Post
    Hi Conor, thank for the advice. I had actually changed all the &'s to &'s a while back because they caused some or other issue which I can't remember and I was told that doing it that way was more correct.

    Anyhoo, I'll change them back and problem (hopefully) solved. Thanks again for super software!
    & will not validate but & does.. It's the reason why I don't use ampersand's in product names and descriptions where possible..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

    Default Re: Ceon URI Mapping v4.x

    Hi,

    Hope you (in particular Diva) are having a nice weekend., :)

    Quote Originally Posted by DivaVocals View Post
    & will not validate but & does.. It's the reason why I don't use ampersand's in product names and descriptions where possible..
    Validate where? It should be output using htmlentities() or the like, to have it end up as & in the source?

    If not, then wherever that is not happening, the code needs fixed, not the product name.

    I know you know that and would agree, but just stating it here so that anyone who comes across it will get the makers of the broken code to fix their code, rather than people wrongly using HTML (code and/or entities) in product names!

    All the best..

    Conor
    ceon

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

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by conor View Post
    Hi,

    Hope you (in particular Diva) are having a nice weekend., :)



    Validate where? It should be output using htmlentities() or the like, to have it end up as & in the source?

    If not, then wherever that is not happening, the code needs fixed, not the product name.

    I know you know that and would agree, but just stating it here so that anyone who comes across it will get the makers of the broken code to fix their code, rather than people wrongly using HTML (code and/or entities) in product names!

    All the best..

    Conor
    ceon
    Hey you!!! you have mail!!!

    and yes.. my answer was bit too short and too sweet, but what you say is ABSOLUTELY true.. I just know that HTML validation is the most common reason why I have subbed & for &.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  4. #804
    Join Date
    Feb 2012
    Posts
    28
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Hello,
    I have scoured this forum doing searched for CEON + Algozone Mobile templates unsuccessfully.

    What I have learned is that others have had problems using the Algozone Mobile templates with the CEON module because as I read in an earlier thread someone said...

    "Instead of redirecting people to mobile.php, I immediately identified for the other person who contacted me about this, that when this theme detects that the site is being used on a mobile browser, it should set a flag that will have index.php load in mobile.php...

    Instead of calling mobile.php, at the top of index.php the developer should add:

    PHP Code:
    if (CHECK FOR MOBILE VERSION) {
    require('mobile.php');

    exit;
    }
    This "theme" developer will have to come up with a way to have Zen Cart know that the mobile version is being used..and put it in place of "CHECK FOR MOBILE VERSION" above."

    Unfortunately I do not know what this means... has anyone else had luck resolving this issue could explain to me in simple terms in what file I need to place that code?

    thanks,
    Brian

  5. #805
    Join Date
    May 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Hey guys. After going and changing all my &'s to &'s I've re-discovered why it'd been changed around in the first place. Looks like I'd have to go through everywhere and do the htmlentities thing all over the place to make it work properly, which, while it's not the responsibility of CEON's exemplary software is a pain in my arse :) so... if I did want to change everything back to &'s is there a work-around as per my original question?

    eg is there a way to replace the & even before it's had the ampersand and colon removed and replace with 'and' ? A quick hacky fix is as good as anything right now to be honest! Running short on time!

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

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by crazysarah View Post
    Hey there, thanks for an awesome mod. For such a powerful and functional and complex mod it was UNBELIEVABLY easy to plugin :)

    I wonder though, I have a site I'm building which has categories which use & The software removes the ampersand and semi-colon leaving only amp in the title - so eg products & more products becomes products_amp_more_products. I've tried making the auto generation thing remove & but it just turns it into a & and I don't want to remove amp in-case they start selling lamps, amplifiers or stamps :)

    Is there a work around for this?

    thanks
    Quote Originally Posted by crazysarah View Post
    Hey guys. After going and changing all my &'s to &'s I've re-discovered why it'd been changed around in the first place. Looks like I'd have to go through everywhere and do the htmlentities thing all over the place to make it work properly, which, while it's not the responsibility of CEON's exemplary software is a pain in my arse :) so... if I did want to change everything back to &'s is there a work-around as per my original question?

    eg is there a way to replace the & even before it's had the ampersand and colon removed and replace with 'and' ? A quick hacky fix is as good as anything right now to be honest! Running short on time!
    Go through everywhere?? is this caused by another add-on you've installed or are you saying that this is a core Zen Cart issue??

    Suggest opening up a new thread to get your answer since this is not related the Ceon URI Mappings module.. You might want to try to narrow it down to the add-on that is causing the issue with htmlentities or if you think it's a Zen Cart core issue report it to the admins.

    Now that my brain has been given some proper rest, I remember now why in the past I may have converted & for & in my products names.. I recall that older versions of the XML Sitemap or the Google Product Search add-ons had issues with how they output ampersands which would cause issues when submitted to Google.. Not sure if you are using either on of those mods of something else, but if it is an issue with an add-on the place to get your answer is the support thread for that add-on..

    Good luck..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

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

    Default Re: Ceon URI Mapping v4.x

    Hi Sarah,

    Quote Originally Posted by crazysarah View Post
    eg is there a way to replace the & even before it's had the ampersand and colon removed and replace with 'and' ? A quick hacky fix is as good as anything right now to be honest! Running short on time!
    I believe that a job worth doing is worth doing properly, so you really should take the approach of not using & in any product names and instead fix the code that isn't using htmlentities() to output the product names, but a quick hacky fix for you is to simply have Ceon URI Mapping always remove the "&" so the auto-generation doesn't try to the characters in it:

    Update the URI Auto-generation Settings in Modules - Ceon URI Mapping (SEO) Config, adding the "&" to the Remove Words configuration option:

    Code:
    -, &
    The autogeneration will strip the & from product names, meaning that the "amp" will no longer be left in the URI.

    That'll work perfectly for you but it really isn't the way you should work. I'd fix the broken code instead if I was you!

    All the best...

    Conor
    ceon

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

    Default Re: Ceon URI Mapping v4.x

    Hi Brian,

    Quote Originally Posted by briandoakes View Post
    Unfortunately I do not know what this means... has anyone else had luck resolving this issue could explain to me in simple terms in what file I need to place that code?
    Please contact the maker of the Algozone Mobile templates with the information I've provided and get this sorted with them.. it's not an issue with Ceon URI Mapping.

    All the best..

    Conor
    ceon

  9. #809
    Join Date
    May 2012
    Posts
    42
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping v4.x

    Hi Diva, it's a brand new 1.5 site I'm just testing about with. The issue is I wanted to use '&' in my category names. If I put them in the admin as '&' then it doesn't pass W3C validation. So I changed them all to & via the admin so they're in the database like that, then when they get output they don't cause errors. The problem then is that CEON urls auto-generates urls replacing as, for example 'laptops-amp-pcs' (ie with the & and ; removed from the &)

    The alternative as I understand it is to change it back in the admin to & which causes validation issues which can only be solved by running htmlentities everywhere the category name is output.


    Hey Conor, thanks for the quick fix. It'll do fine for the time being. Unfortunately my little amps look nice in the design and are better for spacing, so I want to keep them. Something to keep in mind though.

    Thanks for the help :-)

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

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by crazysarah View Post
    Hi Diva, it's a brand new 1.5 site I'm just testing about with. The issue is I wanted to use '&' in my category names. If I put them in the admin as '&' then it doesn't pass W3C validation. So I changed them all to & via the admin so they're in the database like that, then when they get output they don't cause errors. The problem then is that CEON urls auto-generates urls replacing as, for example 'laptops-amp-pcs' (ie with the & and ; removed from the &)

    The alternative as I understand it is to change it back in the admin to & which causes validation issues which can only be solved by running htmlentities everywhere the category name is output.


    Hey Conor, thanks for the quick fix. It'll do fine for the time being. Unfortunately my little amps look nice in the design and are better for spacing, so I want to keep them. Something to keep in mind though.

    Thanks for the help :-)
    As I pointed out earlier, I knew validation was another reason to substitute & for &. That said you might want to report that to the admins because when you say "running htmlentities EVERYWHERE" I assume you mean core Zen Cart changes.. They should be aware..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 

Similar Threads

  1. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR