Re: Link Manager 3.0 Support Thread
Quote:
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
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.
Re: Link Manager 3.0 Support Thread
Quote:
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.
Quote:
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");
Re: Link Manager 3.0 Support Thread
Quote:
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.
Hello Clyde,
Thank you very much for prompt response.
1. I wrote it from ftp. I found the point. The edited content of define_links.php shows on the link catagory page rather (like http://www.mxmach.com/links.html?lPath=2) than link index page (like http://www.mxmach.com/links.html). Now I have wrote the tpl_link_default.php to edit the link page, see http://www.mxmach.com/links.html
3. Fixed. Many thanks for help.
Now I've got another question.
The Ultimate SEO URL Addon seems not working for links pages, as you can see the URL is like http://www.mxmach.com/links.html?lPath=2. Any idea for this? I would like to edit each page title of link catagory as well if possible.
Regards,
Mariana
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
marianama
Hello Clyde, Thank you very much for prompt response.
1. I wrote it from ftp. I found the point. The edited content shows on the link catagory page rather than link index page. Now I have wrote the tpl_link_default.php to edit the link page, see
http://www.mxmach.com/links.html
3. Fixed. Many thanks for help.
Now I've got another question. The Ultimate SEO URL Addon seems not working for links pages, as you can see the URL is like
http://www.mxmach.com/links.html?lPath=2. Any idea for this? I would like to edit each page title of link catagory as well if possible.
You're going to have to check the support thread for the ultimate seo add-on
Re: Link Manager 3.0 Support Thread
Thank you for your time, Clyde. :bigups:
Re: Link Manager 3.0 Support Thread
Hi,
I'm using Link Manager v3.5.3c and ZC version 1.3.9f.
Everything works great except for the link image. I cannot get the correct directory to be accessed.
I have tried various combinations to remove the the first http address and extra information but cannot seem to remove it.
On the configuration page I have it set to "/links_image" and this is the address produced: "http://www.mystore.com/images/http://www.mystore.com/links_image/vendlogo.jpg"
The category image directory works fine and goes to the address I entered.
I know that there is something really simple I should be doing but I can't figure it out.
Please help!
Thanks
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
dmford
Hi,
I'm using Link Manager v3.5.3c and ZC version 1.3.9f.
Everything works great except for the link image. I cannot get the correct directory to be accessed.
I have tried various combinations to remove the the first http address and extra information but cannot seem to remove it.
On the configuration page I have it set to "/links_image" and this is the address produced: "http://www.mystore.com/images/http://www.mystore.com/links_image/vendlogo.jpg"
The category image directory works fine and goes to the address I entered.
I know that there is something really simple I should be doing but I can't figure it out.
Please help!
Thanks
the links configuration should be links_image/
You didn't say how you are adding the images, but from your description you are trying to add them from the admin side.
all you need to add to the image url field is the name of the image
links_image/vendlogo.jpg
Re: Link Manager 3.0 Support Thread
Hi Clyde - This is a detail I've been meaning to ask about for a while...
I have the links manager installed on a Zen 1.3.6 site. Everything functions fine except that the sort order setting in configuration/links manager does not seem to have any impact. As a result the first page of a specific category sorts by Oldest-Newest rather than the reverse, which is the desired setting.
Here is a link to the site in question.
Thanks!!
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
MeltDown
Hi Clyde - This is a detail I've been meaning to ask about for a while...
I have the links manager installed on a Zen 1.3.6 site. Everything functions fine except that the sort order setting in
configuration/links manager does not seem to have any impact. As a result the first page of a specific category sorts by Oldest-Newest rather than the reverse, which is the desired setting.
Here is a
link to the site in question.
Thanks!!
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";
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
clydejones
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