Jump to content

[SOLVED] V1.4.5 Theme


Recommended Posts

Hi JerseyG,

Thank you for catching that! You can actually change it in the Front Office Translations under "blocknewproducts."

 

 

Hi Mike

 

I may be missing something here but the place I found it was under "Module translations" and "Prestashop_new-blocknewproducts".

I changed it to "learn more" and updated it however it has not changed on the site.

 

G

Link to comment
Share on other sites

Hi

 

I have another problem; however I am not sure if it is related to upgrading to version 1.4.5.1. The reason I say this is that I have only just completed my shop and I am not sure if I tried this in version 1.4.4.1.

When a client tries to change/amend his address after he has logged in he gets a 404 error. As I say I cannot remember if I tested this before the upgrade but it is a problem now. He can create a new address without a problem.

 

Thanks in advance

G

Link to comment
Share on other sites

Hi Mike

 

This line does not appear in my file:-

 

if (!preg_match('/^'.Tools::pRegexp($canonicalURL, '/').'([&?].*)?$/', (($this->ssl AND Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']))

 

However this does:-

 

if (!Tools::getValue('ajax') && !preg_match('/^'.Tools::pRegexp($canonicalURL, '/').'([&?].*)?$/', (($this->ssl AND Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://').$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']))

 

Kind Regards

Geoff

Link to comment
Share on other sites

Hi Geoff,

I have a developer who is going to take a look at this for you shortly, but in the meantime it would definitely help usexpedite the process if you could give me access and send the FTP and Back Office credentials to me via PM so that we can hopefully fix this for you quickly.

 

-Mike

Link to comment
Share on other sites

Hi Geoff,

We just took a look at this for you, and it is a small issue with your theme's addresses.tpl file. On line 116 and 117, please replace this:

 

<li class="address_update"><a href="{$link->getPageLink('address', true, NULL, "id_address={$address.object.id|intval}")}" title="{l s='Update'}">{l s='Update'}</a></li>
  <li class="address_delete"><a href="{$link->getPageLink('address', true, NULL, "id_address={$address.object.id|intval}&delete")}" onclick="return confirm('{l s='Are you sure?'}');" title="{l s='Delete'}">{l s='Delete'}</a></li>

 

with this:

 

<li class="address_update"><a href="{$link->getPageLink('address.php', true)}?id_address={$address.object.id|intval}" title="{l s='Update'}">{l s='Update'}</a></li>
  <li class="address_delete"><a href="{$link->getPageLink('address.php', true)}?id_address={$address.object.id|intval}&delete" onclick="return confirm('{l s='Are you sure?'}');" title="{l s='Delete'}">{l s='Delete'}</a></li>

 

That should take care of it for you. I hope this helps!

 

-Mike

Link to comment
Share on other sites

  • 1 month later...

Hi DIT,

I just downloaded the most up-to-date version of the theme from our Addons store and put it on a clean installation of 1.4.6.2, and it appears that it has already been fixed by our development team. However, if you're using an existing version of the theme that you had downloaded earlier, then changing those lines should still fix it for you very easily.

 

I hope this helps.

 

-Mike

Link to comment
Share on other sites

Hi Mike,

 

I've checked my files but are different. On address.tpl (not addresses) I have 244 lines and on addresses.tpl I can see only 80 lines so I cannot cath lines 116-117. Also looking into both files I cannot find lines to be changed. On both files I have "revision: 6664" I do not know if it can help to understand the issue, I have dowloaded such theme (prestashop_new) on 30 October 2011. Is it possible to upgrade the same theme ?

Link to comment
Share on other sites

Hi DIT,

Revision 6664 is the very latest version of those files, the same one I am using currently. I added it to a brand new, clean installation this morning and was able to confirm that it does fix this issue. Can you please either post or PM me with the URL of the site that is having this issue so that I can create a user account and test this for myself to try to identify the issue?

 

-Mike

Link to comment
Share on other sites

×
×
  • Create New...