Keyword

Ovverride link type extrafield output

  • Alberto Pastorelli
  • Alberto Pastorelli's Avatar Topic Author
  • Offline
  • Junior Member
More
2 years 10 months 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.

More
2 years 9 months ago #179047 by JoomlaWorks
Replied by JoomlaWorks 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.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum