Post by mrskattya » Wed Jul 08, 2009 12:32 am

How do you change the link for the 'continue' button at the bottom of new page created. It is currently linking to the 'home' page.


Thanks!

User avatar
Newbie

Posts

Joined
Wed Jul 08, 2009 12:19 am

Post by iloveopencart » Wed Jul 08, 2009 1:54 am

Well, that depends on what you want to do. If you just want to get rid of it, open catalog/view/theme/default/template/information/information.tpl and remove this code:

<div class="buttons">
<table>
<tr>
<td align="right"><a onclick="location='<?php echo $continue; ?>'" class="button"><span><?php echo $button_continue; ?></span></a></td>
</tr>
</table>
</div>


Or, if you want to change the destination of the Continue button, then open catalog/controller/information/information.php and change line 32:

$this->data['continue'] = $this->url->http('common/home');

by replacing 'common/home' with the page you want.

User avatar
Global Moderator

Posts

Joined
Thu Mar 05, 2009 11:15 pm
Location - Phoenix, AZ

Post by mrskattya » Wed Jul 08, 2009 2:21 am

Thank you so much Jason IT WORKED! I thought it was in there, the only thing is that it doesn;t isolate it to a 'specific' page. In other words, that 'continue' button also exists in, about us, terms & conditions, privacy policy etc.... and it has taken effect for all. Do I have to delete the others or is there a way to change the link for a 'specific button on a specific page'. BTW, I was trying to redirect to 'contact us' page from a page I created.... It works beautifully!
Thanks again!

User avatar
Newbie

Posts

Joined
Wed Jul 08, 2009 12:19 am

Post by Daniel » Wed Jul 08, 2009 2:48 am

the information pages are dyunamic and created from the admin. you can add the buttons manuall in the fckeditor.

OpenCart®
Project Owner & Developer.


User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm
Who is online

Users browsing this forum: Amazon [Bot] and 2 guests