X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Extra Fields just dissapeared?! (https://forum.x-cart.com/showthread.php?t=60279)

JacksmithxD 07-24-2011 03:26 AM

Extra Fields just dissapeared?!
 
Hi all,

I have quite a big issue with the extra fields dissapearing.

Basically my extra fields have just dissapeared. I haven't changed any code that i'm aware of that would actually make these not appear could anyone help me? It's had my head in bits for ages.

Also does anyone know how to stop the SCAYT automatically turning on in the Html editor?

It feels like my website is falling to bits! :(

See sig for website link, thanks!

PhilJ 07-24-2011 07:34 AM

Re: Extra Fields just dissapeared?!
 
I think that has something to do with the spell checking part of FCKEditor.

Maybe give this a try...
http://stackoverflow.com/questions/2944509/how-to-disable-ckeditor-3-auto-spellchecker

Or maybe try switching to one of the other HTML editors.

Or to display just plain text for the extra fields values, in skin/common_files/modules/Extra_Fields/product.tpl

Replace...

{$v.field_value}

With

{$v.field_value|strip_tags:true}

JacksmithxD 07-24-2011 08:53 AM

Re: Extra Fields just dissapeared?!
 
Quote:

Originally Posted by PhilJ
I think that has something to do with the spell checking part of FCKEditor.

Maybe give this a try...
http://stackoverflow.com/questions/2944509/how-to-disable-ckeditor-3-auto-spellchecker

Or maybe try switching to one of the other HTML editors.

Or to display just plain text for the extra fields values, in skin/common_files/modules/Extra_Fields/product.tpl

Replace...

{$v.field_value}

With

{$v.field_value|strip_tags:true}


Thanks Phil i'll give the above a try.

I've also just noticed that in IE the Testimonial module is conflicting with my xCMS blogs, basically when the testimonial changes to another one it makes the xCMS dissapear. Could i just change it so that it doesn't move or is their an easy fix? (i'm using IE 8 btw)

Thanks

JacksmithxD 07-24-2011 08:58 AM

Re: Extra Fields just dissapeared?!
 
Seems like i don't actually have the file skin/common_files/modules/Extra_Fields/product.tpl (checked inside the others just incase but couldn't find anything.

Just a quick note the link you gave me worked! Thanks for that.

cflsystems 07-24-2011 10:48 AM

Re: Extra Fields just dissapeared?!
 
Create new skin/common_files/modules/Extra_Fields/product.tpl and copy this inside

{*
$Id: product.tpl,v 1.1 2010/05/21 08:32:20 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{foreach from=$extra_fields item=v}
{if $v.active eq "Y" and $v.field_value}
<tr>
<td class="property-name">{$v.field}</td>
<td class="property-value" colspan="2">{$v.field_value}</td>
</tr>
{/if}
{/foreach}

JacksmithxD 07-24-2011 12:23 PM

Re: Extra Fields just dissapeared?!
 
Quote:

Originally Posted by cflsystems
Create new skin/common_files/modules/Extra_Fields/product.tpl and copy this inside

{*
$Id: product.tpl,v 1.1 2010/05/21 08:32:20 joy Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{foreach from=$extra_fields item=v}
{if $v.active eq "Y" and $v.field_value}
<tr>
<td class="property-name">{$v.field}</td>
<td class="property-value" colspan="2">{$v.field_value}</td>
</tr>
{/if}
{/foreach}


Worked perfectly. Looks like i somehow deleted the file. Oh dear!


Thanks Steve.

JacksmithxD 07-24-2011 12:31 PM

Re: Extra Fields just dissapeared?!
 
Although i can remove the 'scayt' from the editor i'm stuck with my products having the code already there. Is there an easy way to remove the code? As if i put it as 'Disabled' (when it's on the editor) the scayt dissapears. I can only assume there is an easier way of doing this.

I would rather not go through 1000+ categorys to fix it.

Shiftlocked 05-21-2012 05:00 AM

Re: Extra Fields just dissapeared?!
 
You ever look at the best way to remove the SCAYT stuff without having to edit all products?

JacksmithxD 05-29-2012 03:07 AM

Re: Extra Fields just dissapeared?!
 
Nah, I just rewrote all of them, I did an upgrade anyways.


All times are GMT -8. The time now is 11:29 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.