- Posts: 16
COMMUNITY FORUM
remove additional info in the extra fields
- Jon
-
Topic Author
- Offline
- New Member
Less
More
15 years 1 month ago #81308
by Jon
remove additional info in the extra fields was created 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.
- Jon
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 16
15 years 4 weeks ago #81309
by Jon
Replied by Jon on topic remove additional info in the extra fields
Who is the PHP King - someone must know?
Please Log in or Create an account to join the conversation.
- Jon
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 16
15 years 4 weeks ago #81310
by Jon
Replied by Jon on topic remove additional info in the extra fields
Found it... item.php...
about line 251... delete
about line 251... delete
Please Log in or Create an account to join the conversation.
- Simon Wells
-
- Offline
- Platinum Member
Less
More
- Posts: 955
15 years 4 weeks 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
Regards,
Simon
K2Joom.com
Please Log in or Create an account to join the conversation.
- Jon
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 16
15 years 4 weeks ago #81312
by Jon
Replied by Jon on topic remove additional info in the extra fields
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
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.
- Marco Pinetti
-
- Offline
- New Member
Less
More
- Posts: 2
14 years 3 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
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.
- George Vouliakis
-
- Offline
- New Member
Less
More
- Posts: 18
14 years 3 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
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.
- Terry Britton
-
- Offline
- Elite Member
Less
More
- Posts: 198
14 years 3 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;}
.itemExtraFields h3 {display:none;}
Please Log in or Create an account to join the conversation.