
Originally Posted by
clydejones
Link to your site would be useful.
1. How are you editing this file? if you are using the admin -> define pages editor have you made sure the file is writable? That is have you changed the file permissions to 777 before editing?
2. known issue and is being worked on.
3. by default the categories are listed by name.
This will be changed to allow listing by sort order in a future update.

Originally Posted by
marianama
Hello Clyde,
Thank you for contribution. I am using zen-cart1.3.9h and Links Manager v3_5_3c.
I got several promblems:
1. define_links.php not working. I edited this file: ../includes/languages/english/html_includes/mytemplate/define_links.php and the links page remained unchanged.
2. Setting of "Number of link catagories per row" did not work. - I set it to 1 and it shows 3.
3. Catagory order does not work. They do not show as I set at Extra-Link Catagories.
Best Regards,
Mariana
This is a followup to my last post.
for number 3 to allow display by sort order.
open includes/templates/mytemplate/templates/tpl_links_default.php
find the following section of code:
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 the following:
PHP Code:
$categories_query = $db->Execute("select lc.link_categories_id, lcd.link_categories_name, lcd.link_categories_description, lc.link_categories_image, lc.link_categories_sort_order 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");
Bookmarks