forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: AlexBarTender on December 06, 2008, 08:53:20 pm

Title: Can I put links with href in "Custom Field Descriptions"?
Post by: AlexBarTender on December 06, 2008, 08:53:20 pm
Best regards

I wanna put a link in this field but I don't wanna put www.google.com (For example), I wanna insert this link in this way

Code: [Select]
<a href= "http://www.google.com">GOOGLE</a>
Is this possible?

I saw that if put between "" a text plane works perfectly. (UPDATE cpg_pictures SET user2 = "Whatever")

But Is possible insert this kind of code?
Title: Re: Can I put links with href in "Custom Field Descriptions"?
Post by: Nibbler on December 06, 2008, 09:00:33 pm
Use bbcode.
Title: Re: Can I put links with href in "Custom Field Descriptions"?
Post by: AlexBarTender on December 06, 2008, 09:26:45 pm
Tnanks my friend. For all your for answers.

I Run this

Code: [Select]
UPDATE cpg_pictures SET user2 = "Whatever text [url]www.google.com[/url]"
Also try

Code: [Select]
UPDATE cpg_pictures SET user2 = "[url]www.google.com[/url]"
Code: [Select]
UPDATE cpg_pictures SET user2 = [url]www.google.com[/url]
But It don't works, What is wrong?
Title: Re: Can I put links with href in "Custom Field Descriptions"?
Post by: AlexBarTender on December 06, 2008, 10:05:09 pm
I'm looking in google a lot about this, but I just found

http://www.chronosight.net/view/2007/07/849-integrate-sql-query-with-bbcode.html

And I don't understand how do it
Title: Re: Can I put links with href in "Custom Field Descriptions"?
Post by: AlexBarTender on December 10, 2008, 05:12:02 am
Sorry for post again. But is possible do that? Or It's difficult.
Title: Re: Can I put links with href in "Custom Field Descriptions"?
Post by: Hein Traag on December 10, 2008, 11:18:19 am
It's a support board run by volunteers. Patience is a virtue etc etc

http://forum.coppermine-gallery.net/index.php/topic,25286.0.html (http://forum.coppermine-gallery.net/index.php/topic,25286.0.html)
Title: Re: Can I put links with href in "Custom Field Descriptions"?
Post by: AlexBarTender on December 10, 2008, 02:04:06 pm
Thanks for your effort.

But I think that this link, talks about a field profile of user. I need do that for a "Custom Field Descriptions". The fields in Picture Information.

Is possible do this in these fields?
Title: Re: Can I put links with href in "Custom Field Descriptions"?
Post by: Hein Traag on December 10, 2008, 02:19:51 pm
See if this helps: http://forum.coppermine-gallery.net/index.php/topic,27407.msg126522.html#msg126522 (http://forum.coppermine-gallery.net/index.php/topic,27407.msg126522.html#msg126522)