Results 1 to 10 of 1988

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    Hello Clyde,

    I am having a problem with the maximum title length. I am trying to input a title that is longer than 64 characters. It seems like this is the maximum allowed because it is a varchar(64) text box. I am wondering how if I can have titles longer than 64 characters?

    I am running 1.3.9f and v3.5.3c, it was a new install I setup yesterday. My website is http://www.glasspeace.com

    Thank you very much for this mod and for your help!

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by amirshawn80 View Post
    Hello Clyde,

    I am having a problem with the maximum title length. I am trying to input a title that is longer than 64 characters. It seems like this is the maximum allowed because it is a varchar(64) text box. I am wondering how if I can have titles longer than 64 characters?

    I am running 1.3.9f and v3.5.3c, it was a new install I setup yesterday. My website is http://www.glasspeace.com

    Thank you very much for this mod and for your help!
    You'll have to change that directly in the database table.

  3. #3
    Join Date
    Jun 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    I am not exactly sure how to do that. I am a beginner with zen cart, I feel lucky this is the first time I've had to ask for help. It's amazing the amount of support you can get just by browsing the forums. I just don't want to mess anything up.

    I went into PHPmyadmin

    I found the spot where links_title is set to varchar(64)
    I just don't know what the correct setting should be. I tried changing the Length/Values but that didn't seem to change anything. Then I tried changing the varchar(64) to text. That brought up an error.

    Thanks for the quick reply

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by amirshawn80 View Post
    I am not exactly sure how to do that. I am a beginner with zen cart, I feel lucky this is the first time I've had to ask for help. It's amazing the amount of support you can get just by browsing the forums. I just don't want to mess anything up.

    I went into PHPmyadmin

    I found the spot where links_title is set to varchar(64)
    I just don't know what the correct setting should be. I tried changing the Length/Values but that didn't seem to change anything. Then I tried changing the varchar(64) to text. That brought up an error.

    Thanks for the quick reply
    open phpmyadmin

    select the database for zen cart
    select the links description table
    click the structure button at the top
    select links title
    click edit
    change the 64 to the length you want
    click save

  5. #5
    Join Date
    Jun 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    That's how I tried to change it earlier.

    I figured out that after making those changes to the datable, I can only input a long title through the web submission page. If I try to enter the link through the admin I can only enter 64 characters.


    I don't need a fix for that, it just may be something you can fix in future versions

    Thank you for your support

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by amirshawn80 View Post
    That's how I tried to change it earlier.

    I figured out that after making those changes to the datable, I can only input a long title through the web submission page. If I try to enter the link through the admin I can only enter 64 characters.


    I don't need a fix for that, it just may be something you can fix in future versions

    Thank you for your support
    open YOUR_ADMIN
    edit links.php

    find the following section of code (around line 330) change the maxlength to whatever you need.
    <?php
    if ($error == true) {
    if ($entry_links_title_error == true) {
    echo zen_draw_input_field('links_title', $lInfo->links_title, 'maxlength="64"') . '&nbsp;' . ENTRY_LINKS_TITLE_ERROR;
    } else {
    echo $lInfo->links_title . zen_draw_hidden_field('links_title');
    }
    } else {
    echo zen_draw_input_field('links_title', $lInfo->links_title, 'maxlength="64"', true);
    }
    ?></td>

  7. #7
    Join Date
    Jun 2010
    Posts
    27
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    Thanks, that worked great, I didn't even notice you replied until now. I really love the links program!

    Thanks

 

 

Similar Threads

  1. Testimonial Manager Support Thread
    By clydejones in forum All Other Contributions/Addons
    Replies: 1500
    Last Post: 4 Feb 2021, 04:12 PM
  2. v154 News Box Manager v2.0.0 [Support Thread]
    By lat9 in forum All Other Contributions/Addons
    Replies: 84
    Last Post: 19 Jan 2021, 04:17 PM
  3. Download File Manager Support Thread
    By balihr in forum All Other Contributions/Addons
    Replies: 24
    Last Post: 17 Aug 2017, 10:32 PM
  4. Poll Manager Support Thread
    By boudewijn in forum Addon Sideboxes
    Replies: 148
    Last Post: 27 Jan 2016, 09:53 AM
  5. Empty Cart Manager [support thread]
    By Steven300 in forum All Other Contributions/Addons
    Replies: 49
    Last Post: 26 May 2010, 10:26 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