Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Extra Fields just dissapeared?!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-24-2011, 03:26 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Smile 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!
__________________
Xcart 4.5.2
Reply With Quote
  #2  
Old 07-24-2011, 07:34 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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}
__________________
xcartmods.co.uk
Reply With Quote
  #3  
Old 07-24-2011, 08:53 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Smile 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
__________________
Xcart 4.5.2
Reply With Quote
  #4  
Old 07-24-2011, 08:58 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default 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.
__________________
Xcart 4.5.2
Reply With Quote
  #5  
Old 07-24-2011, 10:48 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,192
 

Default 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}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
JacksmithxD (07-24-2011)
  #6  
Old 07-24-2011, 12:23 PM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default 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.
__________________
Xcart 4.5.2
Reply With Quote
  #7  
Old 07-24-2011, 12:31 PM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default 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.
__________________
Xcart 4.5.2
Reply With Quote
  #8  
Old 05-21-2012, 05:00 AM
 
Shiftlocked Shiftlocked is offline
 

Advanced Member
  
Join Date: Apr 2007
Posts: 72
 

Default Re: Extra Fields just dissapeared?!

You ever look at the best way to remove the SCAYT stuff without having to edit all products?
__________________
Xcart Version: Patched 4.4.0 to 4.5.0
Mods Installed so far. Firetank Feed Manager - More soon - Looking for a designer to reinvent the website. Feel free to get in touch
Reply With Quote
  #9  
Old 05-29-2012, 03:07 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default Re: Extra Fields just dissapeared?!

Nah, I just rewrote all of them, I did an upgrade anyways.
__________________
Xcart 4.5.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:49 PM.

   

 
X-Cart forums © 2001-2020