Gallery Name/Description Gallery Name/Description
 

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]

Main Menu

Gallery Name/Description

Started by DenisG, March 04, 2005, 02:57:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DenisG

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.

Nibbler


DenisG

#2
Geez Nibbler, that was like QUICK, many thanks.

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

Denis.

DenisG

Quote from: DenisG on March 04, 2005, 03:10:39 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 :-[

Nibbler

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

Joachim Müller


DenisG

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?? ;).................

Nibbler

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 ?

Quote from: GauGau on February 15, 2005, 06:02:10 AM
I guess I know what you mean: edit themes/yourtheme/template.html, find{GAL_NAME}and replace with<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. :)

DenisG

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.

Nibbler

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.

DenisG

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

Joachim Müller

thanks for letting us support you >:(.

Quote from: DenisG on March 04, 2005, 04:52:37 PM
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