Jump to content

Prestashop 1.5.5.0 release Home Text Editor


Recommended Posts

I have an issue with the Home Text Editor configuration, the Logo image does not appear in the configuration area but does show in the front office.

I was able to upload a new image but if you want to use just the text portion there is no way to delete the image.

Can anyone else tell me if they have the same issue.

 

 

-

Edited by El Patron
updated subject to make it clearer (see edit history)
Link to comment
Share on other sites

So you have the same issue with 1.5.5 with the image not appearing in the confiuguartion, what I don't understand about this one is it was reported during testing as myself and Benjamin had this issue.

If I remove the image from the folder I still get the placeholder in the FO but with a question mark.

Link to comment
Share on other sites

I took a look at the Editorialclass.php file and the only diff I see is in this section, static public function getByIdShop($id_shop)

So I tried pasting this section from the working 1.5.4 to the 1.5.5 class file but no change for me.

Link to comment
Share on other sites

i compared module from 1.5.4.1 and new one from 1.5.5, as i said there was some differencies in the code.

Then i tried to use module form 1.5.4.1 (and from 1.5.3) in 1.5.5 and... problem still appeared.

 

something doesnt work well with core, exactly as @tdr170 suggested several posts above

 

i think that it's time to create ticket on forge

Link to comment
Share on other sites

Nick, not an iPod to be seen on your site.

 

Shouldn't your promo code be Bristle (Krek Waiters Peak ..... and all that)?

 

Cheers, Dave (born & brought up in Bishopston)

Thanks for checking - although by the time you'd posted a reply I'd had a brainwave and uploaded a 1x1 pixel jpeg called homepage_logo to the modules/editorial dir which has solved the problem in the short term.

 

Definitely Brizzle too Dave - maybe you need a language refresher? http://www.beast-clothing.com/school.php :D

 

Anyway, I'm off to smoove me dog.

 

Cheers Drive!

Link to comment
Share on other sites

If you don't want any logo to appear on the homepage, try this.

 

in modules/editorial/editorial.tpl

 

change the file to read this

 

{*
* 2007-2013 PrestaShop
*}
<!-- Module Editorial -->
<div id="editorial_block_center" class="editorial_block">

{if $editorial->body_logo_subheading}<p id="editorial_image_legend">{$editorial->body_logo_subheading|stripslashes}</p>{/if}
{if $editorial->body_title}<h1>{$editorial->body_title|stripslashes}</h1>{/if}
{if $editorial->body_subheading}<h2>{$editorial->body_subheading|stripslashes}</h2>{/if}
{if $editorial->body_paragraph}<div class="rte">{$editorial->body_paragraph|stripslashes}</div>{/if}
</div>
<!-- /Module Editorial -->

 

Basically... I have removed the code that displays the logo.

 

or just comment out the unneeded code as I have here

 

{*
* 2007-2013 PrestaShop
*}
<!-- Module Editorial -->
<div id="editorial_block_center" class="editorial_block">
<!-- bof Remove this code here for homepage logo -->
{*    {if $editorial->body_home_logo_link}<a href="{$editorial->body_home_logo_link|escape:'htmlall':'UTF-8'}" title="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}">{/if}
{if $homepage_logo}<img src="{$link->getMediaLink($image_path)|escape:'html'}" alt="{$editorial->body_title|escape:'htmlall':'UTF-8'|stripslashes}" {if $image_width}width="{$image_width}"{/if} {if $image_height}height="{$image_height}" {/if}/>{/if}
{if $editorial->body_home_logo_link}</a>{/if} *}
<!-- eof Remove this code here for homepage logo -->
{if $editorial->body_logo_subheading}<p id="editorial_image_legend">{$editorial->body_logo_subheading|stripslashes}</p>{/if}
{if $editorial->body_title}<h1>{$editorial->body_title|stripslashes}</h1>{/if}
{if $editorial->body_subheading}<h2>{$editorial->body_subheading|stripslashes}</h2>{/if}
{if $editorial->body_paragraph}<div class="rte">{$editorial->body_paragraph|stripslashes}</div>{/if}
</div>
<!-- /Module Editorial -->

 

Hope this helps :)

Link to comment
Share on other sites

I will tell you how I have solved the problem.

 

I have updated from 1.5.4.1, there was no logo in the Home Text Editor.

Then I have modified something (resized an image) in the Home Text Editor and the logo just appeared and I could not get rid of it anymore.

 

I copied the editorial module from the old Prestashop 1.5.4.1, and the logo disappeared.

Then I copied back the editorial module from the latest Prestashop and no more iPod logo appeared.

 

Hope this helps.

Link to comment
Share on other sites

  • 2 months later...
×
×
  • Create New...