Keyword

remove additional info in the extra fields

More
14 years 5 months ago #81308 by Jon
can someone please tell me what code to delete in the PHPs to remove "additional info" in the extra fieldsthanks

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #81309 by Jon
Who is the PHP King - someone must know?

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #81310 by Jon
Found it... item.php...
about line 251... delete

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #81311 by Simon Wells
Replied by Simon Wells on topic remove additional info in the extra fields
Sorry you did not get a quick response, unfortunatley, in UK it is national holiday, the sun is shining at last.

Regards,

Simon
K2Joom.com

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #81312 by Jon
That's ok Simon - I'm glad I found it myself - far more satisfying as its the first bit of PHP I have altered without someone telling me.. helps to build ones confidence. I'm in UK and also working on this Good Friday and the sun is NOT shining on the Lake District..

K2Joom said:Sorry you did not get a quick response, unfortunatley, in UK it is national holiday, the sun is shining at last.
Regards,

Simon
K2Joom.com

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #81313 by Marco Pinetti
Replied by Marco Pinetti on topic remove additional info in the extra fields
Hallo, i found lot of item.php and removed the line everywhere I found it, but "Additional info" is still present both in content view and in K2 content module.

May be i miss some item.php, can you please tell me some more?

 

Thankyou

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #81314 by George Vouliakis
Replied by George Vouliakis on topic remove additional info in the extra fields
Hi all,

 

I think that is better to change (or delete) the "Additional info" from language file (en-GB.com_k2.ini) and not from .php code files (in every upgrade of K2 the " <?php echo JText::_('Additional Info'); ?> " will be again there!!!).

 

Inside \langauge\en_GB folder locate the file en-GB.com_k2.ini and change the following line to what ever you want:

ADDITIONAL INFO=Additional Info

Additional Info is the default value to be displayed in front end. You can change it to:

 

ADDITIONAL INFO=

to display ...nothing.

 

or

 

ADDITIONAL INFO=Product Details

to display Product Details in the fron end.

 

Hope that helped!

 

George

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #81315 by Terry Britton
Replied by Terry Britton on topic remove additional info in the extra fields
The language file will also get overwritten if you upgrade K2. Rather than hack the item.php file I would add this to the css:

.itemExtraFields h3 {display:none;}

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum