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: Gallery Name/Description  (Read 5019 times)

0 Members and 1 Guest are viewing this topic.

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Gallery Name/Description
« on: March 04, 2005, 02:57:55 pm »

Please forgive me in advance here but I have searched everywhere for an answer, sorry if I have missed it :-[

Is it possible to input script into either of the above fields (Gallery Name/Description) that could make them into a link?, or is there a simple way to add a link visible on all pages?

I ask humbly as I know nothing about html or php and am extremely happy that cpg does almost everything I want on its own or with a little help from the supporters here with themes etc.

I can identify areas of html that can be simply changed to say what I want, that way I also know where it will appear. Unfortunately I have no idea what a link script should look like or, more importantly, where I would identify where to place it in html for it to appear where I want ???. Anyone help?

Mtia,

Denis.
« Last Edit: March 04, 2005, 08:18:22 pm by TranzNDance »
Logged

Nibbler

  • Guest
Re: Gallery Name/Description
« Reply #1 on: March 04, 2005, 03:05:29 pm »

Making gallery name clickable
Adding links to the menu

If you want anything more advanced, look at a custom header.
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: Gallery Name/Description
« Reply #2 on: March 04, 2005, 03:10:39 pm »

Geez Nibbler, that was like QUICK, many thanks.

Yer a squire 'n a genleman, to be sure ;D

Denis.
« Last Edit: March 04, 2005, 04:05:54 pm by DenisG »
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: Gallery Name/Description
« Reply #3 on: March 04, 2005, 04:01:54 pm »

Geez Nibbler, that was like QUICK, many thanks, problem solved.

Yer a squire 'n a genleman, to be sure ;D

Denis.


Well I thought it was but its just showing the code as text, what am I missing.
Take a look here.

Denis :-[
Logged

Nibbler

  • Guest
Re: Gallery Name/Description
« Reply #4 on: March 04, 2005, 04:09:17 pm »

Why don't you follow the instructions given in the links ?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Gallery Name/Description
« Reply #5 on: March 04, 2005, 04:12:23 pm »

 ::)
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: Gallery Name/Description
« Reply #6 on: March 04, 2005, 04:52:37 pm »

Well thanks guys, now I feel a right twit. Funny, I work in the retail trade and deal with many, many customers. If I thought I was making them feel foolish, I would have failed!! >:(

Anyway, your destructions say type like this: {url=http://www.foo.com/bar.html]URL text[/url}

I typed this:                                              {url=http://denisg.co.uk/bar.html] click here[/url} or this: {url=http://http:www.denisg.co.uk]Click here[/url}

They look awfully similar to me. (substitute square brackets for the curlys of course). It works everywhere else, including here, but not on the gallery?

Denis.

Just think for a moment, you've been to a furniture retailer, bought a flat-pak wardrobe, take it home, can't put it together, phone shop for advice, salesman says "follow the instructions" and hangs up?? ;).................
Logged

Nibbler

  • Guest
Re: Gallery Name/Description
« Reply #7 on: March 04, 2005, 04:55:47 pm »

If I was trying to put together the wardrobe using pieces of chocolate instead of wood, then I would feel he had a point. Why are you using the square brackets ?

I guess I know what you mean: edit themes/yourtheme/template.html, find
Code: [Select]
{GAL_NAME}and replace with
Code: [Select]
<a href="your_page.htm" title="Title that appears when mouse over">{GAL_NAME}</a>. Just plain html, no special magic. Just make sure to leave the stuff in curly braces intact, you can wrap those tokens (which are just placeholders) into any html tags you could think of.

Joachim

Use the < and > brackets as described. :)
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: Gallery Name/Description
« Reply #8 on: March 04, 2005, 05:11:27 pm »

Sorry Nibbler but I think we are talking at cross purposes here. The < arrows have no effect. Now, the link (instruction) that came up was for inserting a link in the gallery description in Config. Are you perhaps thinking that I am in another area?. According to the documentation it can be done here using square brackets. If I should be in another file, which one?

D.
Logged

Nibbler

  • Guest
Re: Gallery Name/Description
« Reply #9 on: March 04, 2005, 05:15:28 pm »

You edit the template.html file as in the quote by gaugau above. You cannot use the square bracket BBcode there. You can use bbcode in an album description, maybe that is what you are reading.
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: Gallery Name/Description
« Reply #10 on: March 04, 2005, 08:11:59 pm »

Ok Nibbler, thanks anyway. It was just something I wanted rather than needed so I can do without. I'll use cpg for what it is and not what I want it to be in future, I can't afford the time to mess about like this, sorry.

D
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Gallery Name/Description
« Reply #11 on: March 07, 2005, 10:08:44 am »

thanks for letting us support you >:(.

Just think for a moment, you've been to a furniture retailer, bought a flat-pak wardrobe, take it home, can't put it together, phone shop for advice, salesman says "follow the instructions" and hangs up?? ;).................
Small difference: you actually paid for the furniture, but you didn't pay us. Imo everybody who runs a website should have some basic idea about html (at least the <a href> tag should be known); if you don't have an idea, you should ask nicely. To use the furniture retailer example you gave: if the salesman asks the customer to use a screw driver to put up the wardrobe and the customer asks "what is a screw driver", the salesman might eventually hang up as well...

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.