Jump to content

(SOLVED)1.4 template error Home Featured images covering text and Subcategories text not aligned


Recommended Posts

1.4 useing firefox on a new install or upgrade I get the same thing. the product images cover the text on home page.

as seen in the pics the first being 1.3 and second is 1.4 fresh install

Look for the in Modules/homefeatured/homefeatured.tpl around line 41

{$product.description_short|strip_tags|truncate:130:'...'}

Change the truncate:130: to truncate:100:

5/1/11 as seen in pic Subcategories text not aligned. The credit for this fix is not mine I was looking how to fix and found in different post. the

code forces the text down a line. This was on a fresh install of 1.4.1

FIX is in category.tpl on theme folder

find this line 73

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} 



Replace with

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">


                   {$subcategory.name|escape:'htmlall':'UTF-8'}




thanks jeff

43605_iVtCVF1wYs4JgxA9WmCl_t

43606_cXvKAjoWc5uRx61VA6PA_t

44273_eITdvNrobCPFAh4XLQEv_t

Link to comment
Share on other sites

this did not work. so i coped the css for the 1.3 install and nothing. On my computer the 1.3 looks fine and the 1.4 the text is over sized. it is only doing with Firefox. on Google Chrome , IE and Safari it is fine

this is what i found in the globle.css the code pointed to i think is the same u want me to add

/* block products (new, features, viewed, etc...) on left and right column */
.products_block li { margin-top: 0.2em }
.products_block li.item img { margin-right: 5px }
.products_block li.last_item { border: none }
.products_block li img {
   float: left;
   margin-right: 0.2em
}
.products_block p img {
   float: none;
   margin: 0 0 0 0.4em
}
.products_block li h5 {
   display: inline;
   font-size: 0.9em
}
.products_block li p a {
   font-weight: bold;
   font-size: 0.8em            /// <---------this code ///
}
.products_block dl {
   clear: both;
   border-top: 1px solid #374853;
   padding: 0 4px 4px
}
.products_block dl dt {
   margin-top: 0.3em;
   color: #595a5e
}
.products_block a.button_large { margin: 0.4em 0.4em 0 0.4em }
.products_block ul.product_images li {
   border: none;
   float: left;
   clear: none
}

Link to comment
Share on other sites

I did a little digging around and found the problem to be with the modules/homefeatured/homefeatured.tpl. i made some changes to the 1.3 version of homefeatured.tpl and got it to work but the gray background box is to long and sticks down. But this shows their is something in the 1.4 version of homefeatured.tpl that dose not like Firefox. this was also added to the bug tracker i made. no reply yet.

Also in bug tracker I have seen I am not the only person whit the problem I am starting to think that 1.4 is not stable and needs more testing. The more i use it the more i find wrong with it and the template problems are minor compared to some others i have found. The cart is buggy it will pass the shipping to google but not back to the order info after payment is made BUT it is not passing the tax to google and is passing the tax to order info. i have seen ppl having same problem with PayPal also so that shows it is not the payment module. I used the UPS shipping and the presta shipping same thing. sorry if i got a lil bit off subject but i want to make my point. In all Presta Shop is a good platform but i think they rush out the new to fast and change it quickly how long until the start working on 1.5 when the 1.4 just came out. need need to give time for the current version to grow up and work like it should.

thanks
Jeff

Link to comment
Share on other sites

  • 1 month later...

I agree... I just upgraded a couple of weeks ago to 1.4.1 FINAL and now there is a 1.4.3 FINAL

Anyhow, on the subcategories, they are buggy.

Example, the word 'Air Blaster' wraps around the image; while 'Drive Blaster' looks correct... Tried with several characters and only on a few, will it operate correctly.

Anybody figure out the complete fix?
Or
is the upgrade to 1.4.3 FINAL required?

Link to comment
Share on other sites

I agree... I just upgraded a couple of weeks ago to 1.4.1 FINAL and now there is a 1.4.3 FINAL

Anyhow, on the subcategories, they are buggy.

Example, the word 'Air Blaster' wraps around the image; while 'Drive Blaster' looks correct... Tried with several characters and only on a few, will it operate correctly.

Anybody figure out the complete fix?
Or
is the upgrade to 1.4.3 FINAL required?


i am running 1.4.2.5 i would say the upgrade is a most the 1.4.1 is full of bugs fixed in the newer versions.

To FIX edit category.tpl in theme folder. adding the

code forces the text on a new line

find this line 73

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'}



Replace with

getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">


                   {$subcategory.name|escape:'htmlall':'UTF-8'} 

Link to comment
Share on other sites

×
×
  • Create New...