Re: Link Manager 3.0 Support Thread
Hi, I am using a different background color instead of #FFF hence I created 2 customized buttons to be used in place of the ones that come with the mod. I have made the following changes (in blue) in links_manager_defines.php:
Code:
define('BUTTON_IMAGE_SUBMIT_LINK', 'button_submit_link_pastel.gif');
define('BUTTON_IMAGE_SUBMIT_LINK_PASTEL', 'button_submit_link_pastel.gif');
define('BUTTON_IMAGE_LINK_HELP', 'button_link_help.gif');
define('BUTTON_IMAGE_LINK_HELP_PASTEL', 'button_link_help_pastel.gif');
I have also made the appropriate changes in tpl_links_submit_default.php but to no avail.
Any advice will be greatly appreciated.
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
Stenrique
Hi, I am using a different background color instead of #FFF hence I created 2 customized buttons to be used in place of the ones that come with the mod. I have made the following changes (in blue) in links_manager_defines.php:
Code:
define('BUTTON_IMAGE_SUBMIT_LINK', 'button_submit_link_pastel.gif');
define('BUTTON_IMAGE_SUBMIT_LINK_PASTEL', 'button_submit_link_pastel.gif');
define('BUTTON_IMAGE_LINK_HELP', 'button_link_help.gif');
define('BUTTON_IMAGE_LINK_HELP_PASTEL', 'button_link_help_pastel.gif');
I have also made the appropriate changes in tpl_links_submit_default.php but to no avail.
Any advice will be greatly appreciated.
Make sure you have uploaded your new buttons to includes/templates/YOUR_TEMPLATE/buttons/english/
Generally speaking, you shouldn't have to change the define statements for the buttons. Just create your new "pastel" colored buttons and name them (button_submit_link.gif and button_link_help.gif)
Re: Link Manager 3.0 Support Thread
i have q
why it's good 'link manager' for shop ?
Thanks
Re: Link Manager 3.0 Support Thread
Thanks for the prompt reply clydejones.
Quote:
Originally Posted by
clydejones
Make sure you have uploaded your new buttons to includes/templates/YOUR_TEMPLATE/buttons/english/
Yes, I have done that.
Quote:
Originally Posted by
clydejones
Generally speaking, you shouldn't have to change the define statements for the buttons. Just create your new "pastel" colored buttons and name them (button_submit_link.gif and button_link_help.gif)
As I'm sure you know, the "Submit Link" button is used in both "View All Links" page and "Submit Link" page. The "Submit Link" button is enclosed in a Fieldset in tpl_links_submit_default.php but not in tpl_links_default.php. I only need the "pastel" buttons to appear in tpl_links_submit_default.php and not in tpl_links_default.php. By naming the "pastel" buttons as button_submit_link.gif and button_link_help.gif, the "Submit Link" button with the pastel backgrd color wld be displayed in the "View All Links" page which is not what I need.
Incidentally, I also noticed that there is a button named "button_links_help.gif" in the mod. but have not found it used anywhere. May I know on which page I can locate it? Thanks.
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
Stenrique
Thanks for the prompt reply clydejones.
Incidentally, I also noticed that there is a button named "button_links_help.gif" in the mod. but have not found it used anywhere. May I know on which page I can locate it? Thanks.
open includes/templates/YOUR_TEMPLATE/templates/tpl_links_submit_default.php
find the following sections and make the highlighted changes
Code:
<div class="forward"><?php echo '<a href="javascript:popupWindow(\'' . zen_href_link(FILENAME_POPUP_LINKS_HELP) . '\')">' . zen_image_button(BUTTON_IMAGE_LINK_HELP_PASTEL, BUTTON_LINK_HELP_ALT) . '</a><br /><br />'; ?></div>
Code:
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT_LINK_PASTEL, BUTTON_SUBMIT_LINK_ALT); ?></div>
Quote:
Incidentally, I also noticed that there is a button named "button_links_help.gif" in the mod. but have not found it used anywhere. May I know on which page I can locate it?
This button is not used and can safely be deleted.
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
dmagic
i have q
why it's good 'link manager' for shop ?
Thanks
Links manager is an easy way to set up a links exchange program for your store.
Re: Link Manager 3.0 Support Thread
when i run the 'upgrate'
i got this :
14 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
Warning Note: 4 statements ignored. See "upgrade_exceptions" table for additional details.
What's this mean ?
Re: Link Manager 3.0 Support Thread
Hi
can you give me link to demo please ?
how can i cahnge to hebrew language?
Thanks
Re: Link Manager 3.0 Support Thread
Quote:
Originally Posted by
dmagic
when i run the 'upgrate'
i got this :
14 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
Warning Note: 4 statements ignored. See "upgrade_exceptions" table for additional details.
What's this mean ?
It just means that those 4 statements have been ignored. It will have no effect on how the mod functions.
Quote:
Originally Posted by
dmagic
Hi
can you give me link to demo please ?
how can i cahnge to hebrew language?
Thanks
As I think I mentioned to you before, You will have to translate the language files to hebrew
Re: Link Manager 3.0 Support Thread
perfect work with hebrew :clap: