Skip to main content

add a linkable text

More
12 years 7 months ago #141948 by lacasetta
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.

More
12 years 7 months ago #141965 by Jerome
Replied by Jerome on topic add a linkable text
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.

More
12 years 7 months ago #142054 by lacasetta
Replied by lacasetta on topic add a linkable text
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.

More
12 years 7 months ago #142077 by Mohamed Thelji
Replied by Mohamed Thelji on topic add a linkable text
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.

More
12 years 7 months ago #142082 by lacasetta
Replied by lacasetta on topic add a linkable text
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.

More
12 years 7 months ago #142113 by nicolas
Replied by nicolas on topic add a linkable text
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.

More
12 years 7 months ago #142133 by lacasetta
Replied by lacasetta on topic add a linkable text
Hi,
yes, now it works. Thanks!
This code work fine:
Code:
<a href="http://www.lacasettabio.it/utente/termini-e-condizioni-duso" target="_blank" >link</a>
but this code does not work:
Code:
<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.

More
12 years 7 months ago #142138 by nicolas
Replied by nicolas on topic add a linkable text
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.

More
12 years 7 months ago #142177 by lacasetta
Replied by lacasetta on topic add a linkable text
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.

More
12 years 7 months ago #142215 by nicolas
Replied by nicolas on topic add a linkable text
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.242 seconds
Powered by Kunena Forum