
Originally Posted by
clydejones
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>
I've tested your suggestion and found that the image doesn't appear. Then I discovered that the reason is because the generated code is looking for the buttons' image in "template_default" (as shown in Red below) and that my defines are for some reason not "translated" into the buttons' name (shown in blue):
Code:
<img src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_LINK_HELP_PASTEL" alt="submit link" title=" submit link"/>
Code:
<img src="includes/templates/template_default/buttons/english/BUTTON_IMAGE_SUBMIT_LINK_PASTEL" alt="submit link" title=" submit link"/>
- How can I make the code references those pastel buttons in my customized template?
- How to make the defines "translate" into the buttons' name accordingly?
This button is not used and can safely be deleted.
Will do.
Anxiously awaits your reply. Cheers.
Bookmarks