Keyword

Ovverride link type extrafield output

  • Alberto Pastorelli
  • Alberto Pastorelli's Avatar Topic Author
  • Offline
  • Junior Member
More
2 weeks 5 days ago #179020 by Alberto Pastorelli
Ovverride link type extrafield output was created by Alberto Pastorelli
Hi, I need to override the "link" extrafield type, to display it as a button using the extra field name as a link text, but the field output seems to be built inside the $extraField->value; so I can't really override or style it
Any suggestion?
 

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

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 3 hours ago #179047 by Fotis
Replied by Fotis on topic Ovverride link type extrafield output
First of all, yes, you can style the output as you like. Even an anchor (<a>) element can be turned to a button.

Otherwise, you'll have to run a regex filter to retrieve the raw URL, before you can do something with it.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum