Page 1 of 2 12 LastLast
Results 1 to 10 of 1988

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

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

    find the following line of code (around line 19):
    PHP Code:
    $categories_query $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lcd.link_categories_description, lc.link_categories_image from " TABLE_LINK_CATEGORIES " lc, " TABLE_LINK_CATEGORIES_DESCRIPTION " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lcd.link_categories_name"); 
    and replace it with this line:

    PHP Code:
    $categories_query $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lcd.link_categories_description, lc.link_categories_image from " TABLE_LINK_CATEGORIES " lc, " TABLE_LINK_CATEGORIES_DESCRIPTION " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lcd.link_categories_sort_order"); 
    I tried this fix on 2 sites
    it fixes the sort order for the online catalog, but no in the admin area

    both site also get this error when you click on "view all link"
    1054 Unknown column 'lcd.link_categories_sort_order' in 'order clause'
    in:
    [select lc.link_categories_id, lcd.link_categories_name, lcd.link_categories_description, lc.link_categories_image from link_categories lc, link_categories_description lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '1' order by lcd.link_categories_sort_order]

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

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by fvb View Post
    I tried this fix on 2 sites
    it fixes the sort order for the online catalog, but no in the admin area

    both site also get this error when you click on "view all link"
    1054 Unknown column 'lcd.link_categories_sort_order' in 'order clause'
    in:
    [select lc.link_categories_id, lcd.link_categories_name, lcd.link_categories_description, lc.link_categories_image from link_categories lc, link_categories_description lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '1' order by lcd.link_categories_sort_order]
    revert back to the original line of code and I'll check out the error message.

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

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    revert back to the original line of code and I'll check out the error message.
    This line of code will eliminate the error:
    PHP Code:
    $categories_query $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lc.link_categories_sort_order, lcd.link_categories_description, lc.link_categories_image from " TABLE_LINK_CATEGORIES " lc, " TABLE_LINK_CATEGORIES_DESCRIPTION " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lc.link_categories_sort_order"); 

  4. #4
    Join Date
    Dec 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    This line of code will eliminate the error:
    PHP Code:
    $categories_query $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lc.link_categories_sort_order, lcd.link_categories_description, lc.link_categories_image from " TABLE_LINK_CATEGORIES " lc, " TABLE_LINK_CATEGORIES_DESCRIPTION " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lc.link_categories_sort_order"); 
    thanks, I will try it tonight and let you know

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Link Manager 3.0 Support Thread

    clydejones this may sound stupid but does links_manager make it's own [FONT=Verdana]Reciprocal Page for the ones who want to trade links with you, or after you make your link categories does it makes a [/FONT][FONT=Verdana]Reciprocal link for them. I'm just trying to figure out how this works. Or do I have to make a page for the [/FONT][FONT=Verdana]Reciprocal[/FONT][FONT=Verdana]. Also do I need to make banners. I just need some steering. Thank you for your help[/FONT][FONT=Verdana][/FONT]
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  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 countrycharm View Post
    clydejones this may sound stupid but does links_manager make it's own [FONT=Verdana]Reciprocal Page for the ones who want to trade links with you, or after you make your link categories does it makes a [/FONT][FONT=Verdana]Reciprocal link for them. I'm just trying to figure out how this works. Or do I have to make a page for the [/FONT][FONT=Verdana]Reciprocal[/FONT][FONT=Verdana]. Also do I need to make banners. I just need some steering. Thank you for your help[/FONT][FONT=Verdana][/FONT]
    Short answer, Yes, it will place your link on a page based on which category you've placed the link in.

    For instance if I add a link to your site I place the following in the Reciprocal link field: (mysticmountainnaturals. com/demotest/index.php?lPath=16&main_page=links) This is the page on my site where the link to your site resides.

    No you don't need to make a banner unless you want to.

  7. #7
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Link Manager 3.0 Support Thread

    Thank you for explaining this to me. I have wondered about this a while. I have one more question for you. There is nothing to configure under admin/configuration/links manger nothing shows at all but the update button. How do I get the information to display the configuration for link manger. Under admin/extras there are links, link category, links contact everything is there like it is suppose to be. Thank you again.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  8. #8
    Join Date
    Dec 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    This line of code will eliminate the error:
    PHP Code:
    $categories_query $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lc.link_categories_sort_order, lcd.link_categories_description, lc.link_categories_image from " TABLE_LINK_CATEGORIES " lc, " TABLE_LINK_CATEGORIES_DESCRIPTION " lcd where lc.link_categories_id = lcd.link_categories_id and lc.link_categories_status = '1' and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lc.link_categories_sort_order"); 
    that fixed the error, and the sort order in the on line catalog

    but did not fix the sort order in the admin/extras/links

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

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by fvb View Post
    that fixed the error, and the sort order in the on line catalog

    but did not fix the sort order in the admin/extras/links
    The code as presently written (admin side) will order categories by sort order and name.

    What happens when you edit a category and change the sort order?
    (When checking this, on 4 different sites, the categories are ordered by sort order)

  10. #10
    Join Date
    Dec 2006
    Posts
    102
    Plugin Contributions
    0

    Default Re: Link Manager 3.0 release

    Quote Originally Posted by clydejones View Post
    The code as presently written (admin side) will order categories by sort order and name.

    What happens when you edit a category and change the sort order?
    (When checking this, on 4 different sites, the categories are ordered by sort order)
    when I edit a category and change the sort order, the order changes like it should

    I was hoping to change the sort order of the admin/extras/links so the new ones that need approval would come up first

 

 
Page 1 of 2 12 LastLast

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