Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default how to change " getting stripped from page titles?

    We have a lot of products with " in the product name. I have been wondering why the double quotes won't appear in the page titles even though they appear fine in the product listing and everywhere else on the.

    I changed the " to " in the product name and that changed the page title so that the " shows. My problem lies when I get close to the 62 character limit on the product name, I can't change it to " without going over the limit and dropping off some of the last letters.

    So, I thought that I would do the " switch first and then add the dropped letters after I had resaved since it converts the " to " after saving. But when I added the dropped letters it made the page title revert to dropping off the ". I don't know if that was coincidence or not.

    I'm assuming that there is some type of sanitizer function that is stripping the " from the page titles? What do I need to change to make it automatically convert the " to " in the page titles?

    Thanks!

    Matt

    Zen Cart and it's community are the best!!

  2. #2
    Join Date
    Mar 2004
    Posts
    688
    Plugin Contributions
    0

    Default Re: how to change " getting stripped from page titles?

    OR change your database table to accept longer than 64 characters..

  3. #3
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: how to change " getting stripped from page titles?

    Hi Marg,

    Thanks for the quick reply!

    I read somewhere else from one of the dev team, Kim or Ajeh, that changing the database tables to accept more than 64 characters can open a whole can of worms? I presume that there are other things that need to be changed, such as core code, to get it to all work right? Am I wrong in thinking this?

    I'd like to be able to increase the character limit, but would happily settle for another way to allow the double quote to stay in the page title. I'm all ears!

    Thanks!

    Matt

    Zen Cart and it's community are the best!!

  4. #4
    Join Date
    Mar 2004
    Posts
    688
    Plugin Contributions
    0

    Default Re: how to change " getting stripped from page titles?

    I'm glad you read further... I did not realise this and will be careful the next time I "spew" before I read!
    Hopefully, my writing here will push this back up to where someone who knows can answer...
    Marg

  5. #5
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: how to change " getting stripped from page titles?

    Well, like I said, I could very well be wrong about that! Hopefully someone that knows more about it than me, like one of the devs(please, please, please!!!) will weigh in here and set the record straight(as well as tell us what needs to be done to save those ").

    Another thing that I should note is that I use the product name in the meta tags and I don't create new page titles. With thousands of products it's impractical to create new page titles for everything, although I guess I could do it for those products with long product names if I can create titles longer than 62 or 64 characters. Is the limit 62 or 64 characters?

    I hope there is a way to get it to work within the code, changing a regex or sanitizer function somewhere!

    Thanks!

    Matt

    Zen Cart and it's community are the best!!

 

 

Similar Threads

  1. How to change text in "Order Confirmation" and "Welcome to our Store" page?
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 15 Mar 2011, 03:59 AM
  2. How do you change the breadcrumb from "Home" to "Storefront"
    By alterego55 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Oct 2010, 09:06 PM
  3. How do I change font size of EZ Page Nav Titles?
    By Tomjoolery in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Sep 2008, 08:42 PM
  4. How do I disable "Page 1, Page 2 and Page 3" from the "Site Menu"?
    By MagicMan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Dec 2007, 03:34 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
  •  
disjunctive-egg