Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Can I put links with href in "Custom Field Descriptions"?  (Read 3126 times)

0 Members and 1 Guest are viewing this topic.

AlexBarTender

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Can I put links with href in "Custom Field Descriptions"?
« 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?
Logged

Nibbler

  • Guest
Re: Can I put links with href in "Custom Field Descriptions"?
« Reply #1 on: December 06, 2008, 09:00:33 pm »

Use bbcode.
Logged

AlexBarTender

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Can I put links with href in "Custom Field Descriptions"?
« Reply #2 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?
Logged

AlexBarTender

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Can I put links with href in "Custom Field Descriptions"?
« Reply #3 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
Logged

AlexBarTender

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Can I put links with href in "Custom Field Descriptions"?
« Reply #4 on: December 10, 2008, 05:12:02 am »

Sorry for post again. But is possible do that? Or It's difficult.
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: Can I put links with href in "Custom Field Descriptions"?
« Reply #5 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
Logged

AlexBarTender

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Can I put links with href in "Custom Field Descriptions"?
« Reply #6 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?
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Logged
Pages: [1]   Go Up
 

Page created in 0.026 seconds with 20 queries.