picture from Admin
:unsure:
Thanks
Printable View
picture from Admin
:unsure:
Thanks
Make sure you've uploaded the images folder that was included with Links Manager
Great mod. Is there a way to disable the upload image feature?
Can someone assist pls.
tk u
download and install the fix from this thread
www.zen-cart.com/forum/showpost.php?p=631171&postcount=1197
Thank you worked
Another question, when you click view all links, I wanted to add text content on that page where categories show. Which page is that?
tks
Isn't there a notice at the top of the page that reads:
Quote:
This content is located in the file at: /languages/english/html_includes/YOUR_TEMPLATE/define_links.php
You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_links from the pulldown.
Clyde,
Thank you for reply. Maybe I was not clear, sorry. I know you can add text to define_links.php and define_links_submit.php. What I'm I want to is, I want to disable the sidebox fetaure and just add a link to the bottom of my site that says Link Partners using ezPages. That I know how to do. When you Click the Link Partners it takes you to "View All Links" Page. This page has all the catergories in it. I wanted to add text content on top of the View All Links page. Hope this is clear and you can assist. Tks :)
Clyde regarding above I wanted to have a section for the view all links so I can edit it in Define Page Editor. I'm not that experienced in PHP and tried to look at the files to try to replicate this info, but I didn't want to mess things up. Hope you can help. tks again
You'll need to edit a couple of files to work this out.
First
open includes/languages/english/YOUR_TEMPLATE/links.php
add the following define statement: (of course you can add any text you wish.)
define('TEXT_INSTRUCTIONS', '<p>Select a category in order to view the associated Links</p>');
save the file and upload to your server.
Second
open includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php
at about line 14 find the following section of code:
Immediately below this add the following:Code:<?php echo HEADING_TITLE; ?>
Save the file and upload to your serverCode:<?php echo TEXT_INSTRUCTIONS; ?>
Hope this helps
Thanks Clyde you're the best. Quick response. thank you thank you thank you
Hi clydejones,
I have installed Links Manager v3.4.1 on my store. Everything in the module works perfectly except that when adding a new link, the following error is displayed next to "Status" under "Options" heading
Screenshot:Quote:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/gemsoulc/public_html/admin/includes/functions/html_output.php on line 333
http://www.gemsoul.com/images/scr.png
My site url is www.gemsoul.com
How do I correct this error?
Thanks,
Harshil
Check this post for solutions to this problem:
www.zen-cart.com/forum/showpost.php?p=487360&postcount=10
just one more question... I also have links manager installed on my other site. It worked perfectly till date but now on the New Link Insertion page, when I fill in the details and click on "Insert", the following error is shown:
Store url is www.starruby.in/storeQuote:
Not Acceptable
An appropriate representation of the requested resource /store/admin/links.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at starruby.in Port 80
and I am using v3.3.0
Infact, I just noticed that in the "URL" field when http:// is entered before the link only then this error is caused.
If I enter www.testsite.com it gets inserted but when I enter http://www.testsite.com then this error occurs.
I just upgraded to 3.4.0 but still the same error. However, I now understand that this error has nothing to do with your links manager module.. something to do with the server and hosts. (Found information in this thread:
http://www.zen-cart.com/forum/showthread.php?t=44762
Hi, clydejones
Many thanks for all your help to solve so many problems.
I also installed this mod. but was confused how to use it.
ex. when requesting link exchange with others, i have to add partner's code to my site, maybe add to my liks category page 1.
(on my linkd page, i created links category page 1, 2, 3........through AdminPHP)
In this case, where shoud i add my partner's code?
Thanks for your kind response.
Categories can be added through:
admin -> extras -> link categories
Once they have been added and activated, links can be added either through
admin-> extras -> links
or from the
links submit page
in either case you select the category where you want to place the link from the dropdown menu.
The program will place the link(s) where they belong.
Hi, clydejones,
thanks for your quick response.
Sorry for my confusion again. Maybe i did not make my question clear.
Follow your previou instruction, i did creat a link to www.example.com. it works.
On the contrary, when i requesting my partner to links to my site, he request me to add the following code to my own site.
what should i do, mank appreciated.
HTML Code:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Wholesale - China Wholesale - Buy Electronics from China Wholesaer <?=$_GET['cnm']?> Partners</TITLE>
<META NAME="Description" CONTENT="Buy China Wholesale Electronics with wholesale Cell Phones, MP3 and MP4 Players, China Mobile phones, Digital Cameras, Car Electronics and other Wholesale Dropship products from Chinese Wholesaler on topalways.com
">
<STYLE type="text/css" media="screen">
.link { margin-bottom: 3px; margin-top: 3px;}
.cattable { width: 700px; border:1px solid black; }
.linktable { width: 700px; border:1px solid black; }
.catcell { border:1px solid black; text-align: center; }
.keywordsearch { font-size:9pt; font-family: arial, helvetica, sans-serif; }
.navlinks { color: blue; font-family: arial, helvetica, sans-serif;}
.topnavlinks { color: blue; font-family: arial, helvetica, sans-serif;}
.submitsearch { font-size:9pt; font-family:verdana, arial, helvetica, sans-serif; }
.url { font-weight: bold; font-family: arial, helvetica, sans-serif; font-size:10pt; color: blue;}
.catlink { font-weight: bold; color: blue; font-family:verdana, arial, helvetica, sans-serif; font-size:10pt; }
.description { font-size:10pt; color: black; margin-bottom: 5px; font-family: arial, helvetica, sans-serif; margin-top: 5px; }
.title { color: blue; margin-bottom: 5px; font-weight: bold; font-size:10pt; font-family:arial, helvetica, sans-serif; margin-top: 5px;}
.topnav { text-align: left; color: black; margin-top: 5px; font-family: arial, helvetica, sans-serif; margin-bottom: 5px; font-size:10pt;}
.navigationtext { font-size:10pt; margin-bottom: 5px; color: black; font-family: arial, helvetica, sans-serif; margin-top: 5px; text-align: center;}
</STYLE>
</HEAD>
<BODY>
<?php
// ********************************************************************
// You may change the variables below to customize the look and feel of
// your links page
// ********************************************************************
// This option defines the number of columns used to display categories
$GLCatCol = "2";
// This option defines the number of links displayed per page
$GLLPP = "25";
// This option defines whether links are opened in a new web browser window
// (1 = Yes, 0 = No)
$GLNW = "1";
// This option determines whether the search function is enabled
// for your links page (1 = Yes, 0 = No)
$GLAS = "1";
$GLKey = "8TUD-EABO-39G6";
// ********************************************************************
// *****Please DO NOT make any edits or changes to the code below******
// ********************************************************************
$PageName = $_SERVER["PHP_SELF"];
$GLQS = "script=php&UserKey=".urlencode($GLKey)."&ScriptName=".urlencode($PageName)."&CatCols=" .urlencode($GLCatCol)."&LinksPerPage=".urlencode($GLLPP)."&OpenInNewWindow=" .urlencode($GLNW)."&AllowSearch=".urlencode($GLAS);
if(!is_array($_GET)) $_GET = $HTTP_GET_VARS;
foreach ($_GET as $key => $value) {
$GLQS .= "&$key=".urlencode(stripslashes($value));
}
if(intval(get_cfg_var('allow_url_fopen')) && function_exists('readfile')) {
if(!@readfile("http://www.gotlinks.com/engine2.php?".$GLQS)) {
print "Error processing request";
}
}
elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) {
if(!($content = @file("http://www.gotlinks.com/engine2.php?".$GLQS))) {
print "Error processing request";
}
else {
print @join('', $content);
}
}
elseif(function_exists('curl_init')) {
$ch = curl_init ("http://www.gotlinks.com/engine2.php?".$GLQS);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_exec ($ch);
if(curl_error($ch))
print "Error processing request";
curl_close ($ch);
}
else {
print "It seems that your web host has disabled all functions for handling remote pages and as a result the GotLinks software will not function on your web site. Please contact your web host and ask them to enable PHP curl or fopen.";
}
?>
</BODY>
</HTML>
Judging from the code above, Your "link partner" is asking you to insert a complete page on your site.
This is not possible using links manager.
All you really need is:
site title
site url
site description
And the other required fields on the form in either
admin -> extras -> links
or the
links submit page.
HI,clydejones
so many thanks for your quick answer.
Yes, you are right. My partner request me to ceate a links.php file on my site, then paste above code into it.
now the question is how to create a links.php file??
could you please also give me some suggestion?
Many appreciated.:clap:
hi, clydejones
Anyhow, many thanks for your clue.
i will try.:D
Hey Clyde,
I've installed the link manager, have categories setup and on, but when I tried to submit a link, I got a 404. Any clue what I'm doing wrong? I've read some of this thread but it's so long that I'm lost!
Never mind, I figured it out. It was looking for the page in ssl. I uploaded it there, and now it works!
Hi all - I installed this excellent mod with the sidebox in my right hand column. It all seems to work fine except for the submit link form. It works but it is too wide - it pushes my right hand sidebox column over to the right by about 50 pixels or so.
Any ideas please?
EDIT: After doing some digging it is the width of the field links_image_url that is causing the problem - how do I change it?
Hi All,
I have recently installed this mod on my site. I have found a problem and wondered who might be able to help me?
When I go to admin->extras->links and try to add a link, there isn't a place to submit the info. I have the form, but no submit button. In addition there is an error on the bottom of the page that reads, "Options
Status: Catchable fatal error: Object of class queryFactoryResult could not be converted to string in ..........com/admin/includes/functions/html_output.php on line 333 "
I'm not sure what to do with this error........HELP!!!
Also, is there a way to not require a reciprocal link?
Sue
In addition there is an error on the bottom of the page that reads, "Options
Status: Catchable fatal error: Object of class queryFactoryResult could not be converted to string in ..........com/admin/includes/functions/html_output.php on line 333
This post should help
Also, is there a way to not require a reciprocal link?
admin -> configuration -> links manager
Just turn the option off
Thank you very much. That worked great!
Sue
hi, could i set a maximum value for the description and site title?
I have an issue with the way the categories are displayed in the center colum. The CSS included with the mod is correct but I can't get the output on the site to match the CSS.
I have the link manager configured to display 3 categories per row. But the output on the site is one column I even added 4 categories and still get only one column. I am not using the original css so I have changed some of the classes to match my templete but I didn't do anything to the module files so It should work fine. I integrated the stylesheets with my original Stylesheet.
Please let me know if there is a fix for that before I continue implementing the classes of my templete in this mod's templete.
a link of the page is www.coolcarpartsonline.com/links.html
This is the code with the correct classes which will give you the three across display:
This is the css for this display:
Code:.linkstext{padding: 10px 0;float:left;width:33%;text-align:center;font-size:1em;}
Your display is as follows:Code:<h1>Links</h1>
<div class="linkstext"><a href="http://www.mysticmountainnaturals.com/demotest/index.php?main_page=links&lPath=6">
<img src="images/link_category/bath_beauty.png" alt="Bath and Beauty" title=" Bath and Beauty " width="80" height="80" /><br />Bath and Beauty</a></div>
<div class="linkstext"><a href="http://www.mysticmountainnaturals.com/demotest/index.php?main_page=links&lPath=8">
<img src="images/link_category/candles.png" alt="Candles" title=" Candles " width="80" height="80" /><br />Candles</a></div>
<div class="linkstext"><a href="http://www.mysticmountainnaturals.com/demotest/index.php?main_page=links&lPath=10">
<img src="images/link_category/computers.png" alt="Computers, Electronics, Gadgets" title=" Computers, Electronics, Gadgets " width="80" height="80" /><br />Computers, Electronics, Gadgets</a></div>
If you are going to use this <div class="content"> you will have to define the content class in the stylesheet so that it will out put the proper display:
.content{padding: 10px 0;float:left;width:33%;text-align:center;font-size:1em;}
However doing this will have an effect on other pages which use the content class for display.
My recommendation would be to use the class="linkstext" instead of the class="content"
Code:<h1>Links</h1>
<div class="content"><a href="http://www.coolcarpartsonline.com/index.php?main_page=links&lPath=1">
<img src="images/link_category/Automotive_Category_image.bmp" alt="Automotive" title=" Automotive " width="80" height="60" /><br /><div class="linkboxcontent">Automotive</div></a></div>
<div class="content"><a href="http://www.coolcarpartsonline.com/index.php?main_page=links&lPath=2">
<img src="images/pixel_trans.gif" alt="Business" title=" Business " width="1" height="1" /><br /><div class="linkboxcontent">Business</div></a></div>
<div class="content"><a href="http://www.coolcarpartsonline.com/index.php?main_page=links&lPath=3">
<img src="images/pixel_trans.gif" alt="Test" title=" Test " width="1" height="1" /><br /><div class="linkboxcontent">Test</div></a></div>
Thanks for the quick response.
2 other questions.
If you take a look at this link: http://www.coolcarpartsonline.com/links.html?lPath=1 How can I adjust the padding in the left side?
Also the header have switched down after playing with the css i added for this mod. This will only show in FF not IE. There is a gap added between the nabigation and the logo wrapper I don't know how to get rid of it.
#1: Open includes/templates/YOUR_TEMPLATE/common/tpl_header.php
find the following section of code and delete or comment out the highlighted portion:
#2: add the following declaration to your stylesheet.css (includes/templates/YOUR_TEMPLATE/css/stylesheet.css)Code:<div class="clearBoth"></div>
<!--eof-branding display-->
<!--bof-navigation display-->
#ezPageDefault p {
padding: 0 10px;
}
I have a question sorry if it's all ready answered but there so many threads here, the module looks great when you set up a link it asks for a Reciprocal Page a URL http://www.domain.com/links.php, now does this mean that the other site has to have this module installed for this to work, or can you just place a file on the other server? and when requesting links from others what links.php do I give them /includes/languages/english/template/links.php is that the right one?
pete
Reciprocal Page: The absolute URL of your links page, where a link to our website will be listed/displayed.
Eg: http:// your-domain .com/path/to/your/links_page.*
In other words if I go to your site and create a link to my site I would put something like this in the Reciprocal Page field:
http:// www. domain.com/index.php?main_page=links&lPath=6
This is where I've placed the link to your site on my site.
If I don't have the module installed I would still use something similar such as:
http:// www.domain .com/my_links_page.*
Hope this helps
I seem to have a problem the module showed up in admin under configuration and extras but there no sidebox, any ideas?
pete
I found the problem, forgot to change one of the template directories.
thanks pete
I have installed this mod (new install) and when I try the uninstall_links_manager.sql to uninstall it, there are errors. I can't uninstall it. It gives me these errors:
Can someone help me fix this?Quote:
13 statements processed.
Error ERROR: Cannot insert configuration_key "PRODUCTS_OPTIONS_TYPE_SELECT" because it already exists
Error ERROR: Cannot insert configuration_key "UPLOAD_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "TEXT_PREFIX" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Error ERROR: Cannot insert configuration_key "IH_VERSION" because it already exists
Warning Note: 4 statements ignored. See "upgrade_exceptions" table for additional details.
You don't need to worry about those errors. They are just indicating that those particular configuration keys already exist and they were ignored.
If you check for admin -> configuration -> links manager you will find that the uninstall worked because the "Links Manager" entry should not be there.
Thank you Clyde. But how about the 'Links/Categories/Contact' under admin > extras ? How do I remove it?
I actually like this mod. But I wish I could add meta title to each page and also has some nice url.
Manually delete the following files from your server:
admin/link_categories.php
admin/links.php
admin/links_contact.php
admin/includes/boxes/extra_boxes/links_extras_dhtml.php
admin/includes/extra_datafiles/links_manager.php
admin/includes/functions/extra_functions/links_manager.php
admin/includes/languages/english/links.php
admin/includes/languages/english/link_categories.php
admin/includes/languages/english/links_contact.php
admin/includes/languages/english/extra_definitions/links.php
-------
includes/extra_datafiles/links_manager.php
includes/functions/links.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/links_manager_defines.php
includes/languages/english/YOUR_TEMPLATE/links.php
includes/languages/english/YOUR_TEMPLATE/links_submit.php
includes/languages/english/YOUR_TEMPLATE/popup_links_help.php
includes/languages/english/html_includes/define_links.php
includes/languages/english/html_includes/define_links_submit.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_links.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_links_submit.php
includes/modules/pages/links
includes/modules/pages/links_submit
includes/modules/pages/popup_links_help
includes/modules/YOUR_TEMPLATE/link_listing.php
includes/modules/sideboxes/YOUR_TEMPLATE/links_box.php
includes/templates/YOUR_TEMPLATE/sideboxes/tpl_links_select.php
includes/templates/YOUR_TEMPLATE/templates/tpl_links_default.php
includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php
includes/templates/YOUR_TEMPLATE/popup_links_help
includes/templates/YOUR_TEMPLATE/css/links.css
includes/templates/YOUR_TEMPLATE/css/links_submit.css
Thanks again Clyde. Everything has been removed successfully except for one thing. Under admin > tools > layout boxes controller it shows the sideboxes/links_box.php is missing and highlighted it with red. How do I remove this missing box alert from admin?
click the green edit button
then
click either the update button or the delete button
if there is no delete button click the update button
When the edit box appears again there should be a delete button
click the delete button
A confirmation screen will appear - click the delete button
Hi,
Is there a setting where one can set the max. limit to the description field? Looking within Admin->Links Manager, I only see the setting "Link Description Minimum Length".
With the above-mentioned change, I would have to change the current "Description: *" field to something like "Description: (1000 characters limit) *". Any advice on which file(s) do I have to make the change to?
Thanks.
Version 3.5.0 of Links Manager is now available in the downloads section.
Updated to provide better accessibility for those who use assistive devices or text-only browsers.
Links Manager admin options:
NEW * Set Maximum length of the Link Description
NEW * Set Maximum length of the Link Title
NEW * Show store name and address on Submit Link page
And for those using captcha here's the 3.5 fix.
Please note: this will work only with version 3.5.0 of Links Manager.
Make sure you have the captcha Mod Installed
Upgrade to the 3.5.0 version of Links Manager.
Unzip the file, Rename the YOUR_TEMPLATE folder to match the name of your custom template, upload the entire includes folder to your server.
Attachment 5143
Hello, just installed Link Manager 3.5.0 but as attached scresn shots I have problem.
1) For handling category, LM3.5.0 work just normally as zen cart module which handle multi language.
But input and editing links,
2) Only shows link format in selected language. If you are English side, then English link form shown, and if try to input from Japanese side then Japanese data form only shown. This is the same both front end and back end.
(In case I input data in Japanese side,)
3) At admin link list window, data made in Japanese side is not shown at English side and vice versa. (Yes, no sql data for another end because no form shown so no way to input.)
4) I feel both language should be able to be input at each language side. (Just like ezpages in multi language mode.)
My question is,
Q1. Is this simply my installation error? Then where to check?
Q2. If this is correct installation then how to manage both language in link? I have customer from many countries that must serve in both language......
Any idea welcome...........
:oops:
Hello, thank you for reply.
Could you instruct me more in detail what should I do?
I can easily understand if the link form is shown in both language like category. (As attached.)
It seems that I can input only one language per link record???
What I did: Translate admin/languages/english & include/language/english files into Japanese, and put the both language under both English & Japanese folder.
I checked this thread and could not find clear instruction.....
Thank you.
hi, how do i show the link manager sidebox only on product pages ?
1. unzip the attached file and upload to your server:
includes/modules/sideboxes/YOUR_TEMPLATE/links_box.php
Attachment 5227
2. you can have either a scrollbox or a dropdown list
settings are available in admin -> configuration -> links manager -> Links List - Scroll Box Size/Style
thanks Clyde, it works great !
i have another question, now the form background color is white and the form text is black, how do i change those colors ? i cant change them in links.css and lins_submit.css
add a background-color declaration to the fieldset in links_submit.css as indicated by the highlighted portion
You can change the color of the label by changing the color declaration
fieldset {
float: left;
clear: left;
width: 100%;
margin: 0 0 1.5em 0;
padding: 0;
background:#eee; /*make this any color you wish*/
}
label {
float: left;
width: 11em;
margin-right: 1em;
color: #000;
font-weight: bold;
}
Clyde, if I wanted to hardcode the sidebox to go to link category pages that have been created by a program I have instead of pulling everything from Links Manager Database, how would I go about altering the code in the sidebox file? I have already made the proper declarations in my language file. I just need to know how to do the code for my pages and to keep them in the scrollbox like there is currently.
Dunno if my request makes sense! Please let me know if I need to elaborate. Thanks!
Amy,
Here's the code that creates the array for the the sidebox: (includes/modules/sideboxes/YOUR_TEMPLATE/link_listing.php
You'd have to create (hard code) the array without pulling any information from the database.Code:$links_query= ("select lc.link_categories_id, lc.link_categories_sort_order, lcd.link_categories_id, lcd.link_categories_name from " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lc.link_categories_status = '1' and lc.link_categories_id = lcd.link_categories_id and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lc.link_categories_sort_order, lcd.link_categories_name");
$links = $db->Execute($links_query);
if ($links->RecordCount()>0) {
$number_of_rows = $links->RecordCount()+1;
$links_array = array();
if ($_GET['link_categories_id'] == '' ) {
} else {
$links_array[] = array('id' => '', 'text' => PULL_DOWN_LINKS_MANAGER);
}
while (!$links->EOF) {
$link_categories_name = ((strlen($links->fields['link_categories_name']) > MAX_DISPLAY_LINK_NAME_LEN) ? substr($links->fields['link_categories_name'], 0, MAX_DISPLAY_LINK_NAME_LEN) . '..' : $links->fields['link_categories_name']);
$links_array[] = array('id' => $links->fields['link_categories_id'],
'text' => $link_categories_name);
$links->MoveNext();
}
----------
This is the code that creates the the scrollbox: (includes/templates/YOUR_TEMPLATE/sideboxes/tpl_links_select.php
Hope this helpful.Code:$content .= zen_draw_pull_down_menu('lPath', $links_array, (isset($_GET['lPath']) ? $_GET['lPath'] : ''), 'onchange="this.form.submit();" size="' . MAX_LINKS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
Hello Clyde,
I just recently upgraded to the latest version, and encountered a division by zero error pertaining to tpl_links_default.php (lines 25 and 27). And the configuration link was empty also.
So I just ran the upgrade script through the host PHPMyadmin, and got the configuration menu working. But now, the links pages themselves are empty store side, but as they were admin side. Not sure if I have messed something up, I appreciate any help with this.
Regards,
Heathenmagic
[quote=clydejones;675220]
You'd have to create (hard code) the array without pulling any information from the database.Code:$links_query= ("select lc.link_categories_id, lc.link_categories_sort_order, lcd.link_categories_id, lcd.link_categories_name from " . TABLE_LINK_CATEGORIES . " lc, " . TABLE_LINK_CATEGORIES_DESCRIPTION . " lcd where lc.link_categories_status = '1' and lc.link_categories_id = lcd.link_categories_id and lcd.language_id = '" . (int)$_SESSION['languages_id'] . "' order by lc.link_categories_sort_order, lcd.link_categories_name");
$links = $db->Execute($links_query);
if ($links->RecordCount()>0) {
$number_of_rows = $links->RecordCount()+1;
$links_array = array();
if ($_GET['link_categories_id'] == '' ) {
} else {
$links_array[] = array('id' => '', 'text' => PULL_DOWN_LINKS_MANAGER);
}
while (!$links->EOF) {
$link_categories_name = ((strlen($links->fields['link_categories_name']) > MAX_DISPLAY_LINK_NAME_LEN) ? substr($links->fields['link_categories_name'], 0, MAX_DISPLAY_LINK_NAME_LEN) . '..' : $links->fields['link_categories_name']);
$links_array[] = array('id' => $links->fields['link_categories_id'],
'text' => $link_categories_name);
$links->MoveNext();
}
Right...do I put something likeand where do I insert that in my code? I have fiddled and fiddled with it and can't figure out how to get it to work.PHP Code:
$content .= '<br /><a href="http://babygiftbasketsplace.com/store/birth-announcements.htm">' . BOX_INFORMATION_LINKS_CATEGORY1 . '</a>';
----------
This is the code that creates the the scrollbox: (includes/templates/YOUR_TEMPLATE/sideboxes/tpl_links_select.php
Do I enter in my hardcoded links somewhere within this code?Code:$content .= zen_draw_pull_down_menu('lPath', $links_array, (isset($_GET['lPath']) ? $_GET['lPath'] : ''), 'onchange="this.form.submit();" size="' . MAX_LINKS_LIST . '" style="width: 90%; margin: auto;"') . zen_hide_session_id();
I just installed this and Lightbox stopped working. Are they incompatible? I searched through the thread for any references and there was one but it didn't give any info.
Do I need to reinstall Lightbox or use Slimbox instead????
I think your best bet would be to do something like the information sidebox:
in includes/modules/sideboxes/YOUR_template/links_box.php
put something like:
$links[] = <a href="http://babygiftbasketsplace.com/store/birth-announcements.htm">' . BOX_INFORMATION_LINKS_CATEGORY1 . '</a>';
Do this for each of your pages
------------
Then in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_links_select.php
You'd have to alter/edit it so you'd have something like
$content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n";
for ($i=0; $i<sizeof($links); $i++) {
$content .= '<li>' . $links[$i] . '</li>' . "\n";
}
$content .= '</ul>' . "\n";
You'll lose the scrollbox however.
----------
[QUOTE=Doodlebuckets;675530]
[quote=clydejones;675548]I think your best bet would be to do something like the information sidebox:
in includes/modules/sideboxes/YOUR_template/links_box.php
put something like:
$links[] = <a href="http://babygiftbasketsplace.com/store/birth-announcements.htm">' . BOX_INFORMATION_LINKS_CATEGORY1 . '</a>';
Do this for each of your pages
------------
Then in includes/templates/YOUR_TEMPLATE/sideboxes/tpl_links_select.php
You'd have to alter/edit it so you'd have something like
$content .= "\n" . '<ul style="margin: 0; padding: 0; list-style-type: none;">' . "\n";
for ($i=0; $i<sizeof($links); $i++) {
$content .= '<li>' . $links[$i] . '</li>' . "\n";
}
$content .= '</ul>' . "\n";
You'll lose the scrollbox however.
----------
Dang, I was hoping to keep the scrollbox. I can do it otherwise, just wanted the nice effect :D
[QUOTE=Doodlebuckets;675576]Instead of using the inline styling for the ul declaration you could add an ID to your stylesheet.css and do your styling by adding a border and a background color.
#linksboxContent ul {
margin: 0;
padding: 0;
list-style-type: none;
border-style: ridge;
background: #000;
}
You can see an example of this styling here Its for the information sidebox (scroll down until you come to the information box) but the technique would apply to your links box.
Thanks, Clyde...I'll give it a go!
hi Clyde, for my links page and links_submit page, i'd like to show the links sidebox and my two blank sidebox only, i don't need the other sidebox, how do i get this?
Use the same type of conditional statement(s) I provided to you in the other sideboxes.
Check this article in the tutorial/FAQ section
Hello Clyde
I just installed your module but don't know how all the links are not found into the category they were submitted. When I click a category I can only see the following message:
---------------------------------------------------------------
This content is located in the file at: /languages/english/html_includes/YOUR_TEMPLATE/define_links.php
You can quickly edit this content via Admin->Tools->Define Pages Editor, and select define_links from the pulldown.
-----------------------------------------------------------------
..and no links there. You can test the error here: http://www.mybestcanvas.info
Click on the "painters" category. There should be 2 links ....but can't find them...even I make sure they are active.
Can you help me please?
Thanks
Here's a fix for this issue.
Just unzip the file and upload the entire includes folder to your server.
Attachment 5290
Hi,
I just found out that there is an error in my admin when adding a new link. This error was not there before. What does it mean? Please help. Thanks.
Options
Status:
Catchable fatal error: Object of class queryFactoryResult could not be converted to string in /home/dealbyet/public_html/ecor5/includes/functions/html_output.php on line 333
Hi Clyde,
Thanks for posting that it worked for me :-)
Tassos
This is my 1st post to forlum sorry for my no-good Englsh.
I could find this wonderful modules that I want to get.
I try to DL link manager ver,3.0 (for zen 1.3.8 but my zen ver is 1.3.0.2-l10n-jp-4)
I can setup all However see two problems---
1)Link Check Result: Error Reading URL
2)No display in category after I submit link
I use 2nd language is main (no-use English)
Do you think also I DL differnt version?
Please Help and Tips!
:oops:Sorry, my DL Links Manager version is 3.5.0
Hi Clyde-san,
I 'm very surprised for your urgent reply! TKS
I was settled promlem(2) when I checked in Notify Contact box.
the detail of the problem(1) is
Warning message shown Link Check Result: Error Reading URL when I put check link button on admin/tohers/links
Also A link is not put on the link title on links page(shop)
I add my URL address under signature as website
(Most of all is Japanese text...)
Hi Clyde-san,
Sorry Again!!
I thought that a link was certainly put on a title name.
Now I understood that a link was put to the image.
What time will U.S.A. be now? I disturbed you.
However I am very glad to be able to use this splendid module from today.
TKS:clap:
Warning message shown Link Check Result: Error Reading URL when I put check link button on admin/tohers/links
This means that there is no link to your site on the site you have linked to.
Also A link is not put on the link title on links page(shop)
check post 1281 for a fix to this problem.
Hi Clyde,
Just installed this on my site and really liking it!
Just a quickie tho, is there a was of having a categorie within another category? From what i can see the categories are single level only? Without looking through the code im not sure if this is an easy thing to do, any ideas?
Many thanks for the Mod! Lovely!
Cheers
Paul :bigups:
I upgraded my Links manager to the 3.5.0, now all my links are running together down the page vertically. I don't know which file to edit to correct this. I compared the style sheet with my other sites and they are the same. site: www. currysgiftshop. com
They were submited both ways some were submit by the users from the links submit page and some was submited from admin. They were already there when I upgraded a few hours ago.
From looking at the source for the links page, it looks like you have a lot of short lines (ie. someone must have entered line breaks after each line of text.) This is making the text go down the page instead of across.
From The view source of one of the links:
Southeastern <br />
Giftware - Gifts <br />
and <br />
Shopping Online - <br />
Featuring <br />
unique gift ideas <br />
for birthdays, <br />
weddings, <br />
anniversaries and <br />
holidays. <br />
We offer wholesale <br />
giftware & volume <br />
discounts to <br />
retailers, <br />
fundraisers, and <br />
flea marketers.
The only way to fix whats already stored in the database would be to use phpmyadmin and edit the individual links descriptions and remove the breaks.
I just looked at one I know I added yesterday or the day before and its showing the sameway but it not any line breaks in there. category Jewelry, Bracelets | Charm Bracelet | Handmade Beaded Jewelry, the last link.
This may help if you enter the links from the admin panel.
open admin/links.php
replace the section (lines 368 - 389) with the following:
As for those already in the database, you'll need to check the links description table and edit the individual link descriptions.PHP Code:
<?php
if ($error == true) {
echo $lInfo->links_category . zen_draw_hidden_field('links_category');
} else {
echo zen_draw_pull_down_menu('links_category', $categories_array, $lInfo->links_category, '', true);
}
?></td>
</tr>
<tr>
<td class="main"><?php echo ENTRY_LINKS_DESCRIPTION; ?></td>
<td class="main">
<?php
if ($error == true) {
if ($entry_links_description_error == true) {
echo zen_draw_textarea_field('links_description', 'soft', 40, 5, $lInfo->links_description) . ' ' . ENTRY_LINKS_DESCRIPTION_ERROR;
} else {
echo $lInfo->links_description . zen_draw_hidden_field('links_description');
}
} else {
echo zen_draw_textarea_field('links_description', 'soft', 40, 5, $lInfo->links_description) . TEXT_FIELD_REQUIRED;
}
?></td>
I don't understand why some of the textarea is so narrow they are notall the same size the same size, also now my title is not the click link the image is. I change the 40 to 50 and widen my site. some are coming out ok after I change them and some are not.