add a linkable text

  • Posts: 719
  • Thank you received: 3
10 years 9 months ago #141948

Hi,
i'd like to know if there is a way to have a linkable text using the "Custom fields"
If yes what is the field type i have to use and how?
Thanks


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 26150
  • Thank you received: 4026
  • MODERATOR
10 years 8 months ago #141965

Hi,

Custom field type : link.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #142054

HI,
I had thought it was that but it does not work.
You can see it here: www.lacasettabio.it/utente/hikashop-menu...ikashop-registration
It is called "text link "
I need a text that when you click on it you can open and see a new page.
I have already done this and is just below "text links". is called "Per leggere i termini d'uso clicca qui"
But I had to do this by editing the file views> user> registration.
I do not like very much to change the views file cause the problems with any updates.


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 12953
  • Thank you received: 1778
10 years 8 months ago #142077

Hi,
Note that you won't have any problem regarding Hikashop updates, if you edit your view's file through the page "Hikashop->Display->Views".

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #142082

For problem with update i mean that when there'll be an update the file modified won't be updated.
So is there a way via custom field?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 8 months ago #142113

You can use a "custom text" custom field with the HTML tag of the link directly in it.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #142133

Hi,
yes, now it works. Thanks!
This code work fine:

<a href="http://www.lacasettabio.it/utente/termini-e-condizioni-duso" target="_blank" >link</a>
but this code does not work:
<a href="http://www.lacasettabio.it/utente/termini-e-condizioni-duso" onclick="window.open(this.href); return false;"><?php echo JText::_( 'TERMS_INFORMATION' ); ?></a>
Is there a way to have a MultiLanguage text?
regard


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 8 months ago #142138

Not sure but you can try to translate the first version of the field via falang's interface.

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

  • Posts: 719
  • Thank you received: 3
10 years 8 months ago #142177

Hi,
yes, but Falang translates only the label.
It does not translate the custom text.
Even if i write the translated code on customtext, on front end of the site works always the italian code.
Any other idea?


my site with Hikashop
www.lacasettabio.it

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
10 years 8 months ago #142215

Then I don't know. It would require custom coding, similar to what you already did...

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

Time to create page: 0.094 seconds
Powered by Kunena Forum