Results 1 to 10 of 1988

Hybrid View

  1. #1
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    Quote Originally Posted by clydejones View Post
    open includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php

    find the following line of code

    Code:
    if (DEFINE_SORT_ORDER == 2) $sortorder = "l.links_date_added desc";
    And change it to the following

    Code:
    if (DEFINE_SORT_ORDER == 2) $sortorder = "l.links_date_added asc";
    I didn't find the bit of code and assumed that it was because this site is running a Zen 1.3.6 it may not have yet been added. I checked the most recent version of tpl_links_default.php and found that to be the case.

    I tried adding the following code to my 1.3.6 version but it did not have any impact:
    PHP Code:
    // check sort order
    //$sortorder = "ld.links_title";    
    if (DEFINE_SORT_ORDER == 1$sortorder "ld.links_title"
    if (
    DEFINE_SORT_ORDER == 2$sortorder "l.links_date_added asc"
    if (
    DEFINE_SORT_ORDER == 3$sortorder "l.links_clicked desc"
    I also tried over-writing the old file with the new but that threw an error.

    Any suggestions, or is a total upgrade necessary?

    Thanks

  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 MeltDown View Post
    I didn't find the bit of code and assumed that it was because this site is running a Zen 1.3.6 it may not have yet been added. I checked the most recent version of tpl_links_default.php and found that to be the case.

    I tried adding the following code to my 1.3.6 version but it did not have any impact:
    PHP Code:
    // check sort order
    //$sortorder = "ld.links_title";    
    if (DEFINE_SORT_ORDER == 1$sortorder "ld.links_title"
    if (
    DEFINE_SORT_ORDER == 2$sortorder "l.links_date_added asc"
    if (
    DEFINE_SORT_ORDER == 3$sortorder "l.links_clicked desc"
    I also tried over-writing the old file with the new but that threw an error.

    Any suggestions, or is a total upgrade necessary?

    Thanks

    I'm guessing your using links manager v3.0.1.

    Upgrading to the latest version of links manager should work with your 136 version of zen cart.

  3. #3
    Join Date
    Jul 2009
    Posts
    78
    Plugin Contributions
    0

    Default Re: How to Specify Unique Meta Tag on Each Link Pages

    How do I specify unique meta tags for each individual link page?

    I can specify the same keywords for ALL my link pages with:
    define('META_TAG_KEYWORDS_LINKS','links page');

    but how do I make each link page unique? For example, my Children's link page ID is 20, and I'm having problems with the &lPath=20.

    The following code does not change the keywords on this particular link page:
    define('META_TAG_KEYWORDS_LINKS&lPath=20','childrens links');

    I've tried capitalizing the LPATH=20, using & but it just isn't working. Help!

    Using file: /includes/languages/english/desert_noon/meta_tags.php

  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 CustomBooks View Post
    How do I specify unique meta tags for each individual link page?

    I can specify the same keywords for ALL my link pages with:
    define('META_TAG_KEYWORDS_LINKS','links page');

    but how do I make each link page unique? For example, my Children's link page ID is 20, and I'm having problems with the &lPath=20.

    The following code does not change the keywords on this particular link page:
    define('META_TAG_KEYWORDS_LINKS&lPath=20','childrens links');

    I've tried capitalizing the LPATH=20, using & but it just isn't working. Help!

    Using file: /includes/languages/english/desert_noon/meta_tags.php
    You can try this: it checks for the lpath and then defines the various Meta Tags. You'll need to do this for each of your links categories.

    //Check for links pages

    if (isset($_GET['lPath']) && ($_GET['lPath'] == '20')) {
    define('META_TAG_DESCRIPTION_LINKS','childrens links');
    define('META_TAG_KEYWORDS_LINKS','childrens links');
    define('META_TAG_TITLE_LINKS', 'childrens links');
    }

  5. #5
    Join Date
    Jul 2009
    Posts
    78
    Plugin Contributions
    0

    Default Re: Unique Meta Tags for Links Pages

    Thanks, Clyde. That lets me specify unique meta tags for each link category - but is there a way to slightly alter the meta tags for each link PAGE within the category (i.e., how do I address ?main_page=links&lPath=20&page=2)?

    I would like the meta tag title for the first page,
    ?main_page=links&lPath=20
    to read something like "Childrens Links Page 1"

    and the meta tag title for the second page,
    ?main_page=links&lPath=20&page=2
    to read something like "Childrens Links Page 2"

    How do I add a "Page 2" or "2" - the link page number to the meta tag?

  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 CustomBooks View Post
    Thanks, Clyde. That lets me specify unique meta tags for each link category - but is there a way to slightly alter the meta tags for each link PAGE within the category (i.e., how do I address ?main_page=links&lPath=20&page=2)?

    I would like the meta tag title for the first page,
    ?main_page=links&lPath=20
    to read something like "Childrens Links Page 1"

    and the meta tag title for the second page,
    ?main_page=links&lPath=20&page=2
    to read something like "Childrens Links Page 2"

    How do I add a "Page 2" or "2" - the link page number to the meta tag?
    You don't have that amount of fine tuning even on the product listing pages, so I'm not sure its even possible.

  7. #7
    Join Date
    Jul 2009
    Posts
    126
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 Support Thread

    I feel a bit stupid. i got the module installed quit well, but now i realise i don't have a sidebox in my shop i have a css header menu and left the sideboxes to sleep.
    ( without categories, just like jade made it)
    can i use this module anyhow? and if so, how?
    thanks
    Eugenie again..

 

 

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