forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: DenisG on March 04, 2005, 02:57:55 pm

Title: Gallery Name/Description
Post by: DenisG 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.
Title: Re: Gallery Name/Description
Post by: Nibbler on March 04, 2005, 03:05:29 pm
Making gallery name clickable (http://forum.coppermine-gallery.net/index.php?topic=14876.0)
Adding links to the menu (http://forum.coppermine-gallery.net/index.php?topic=11103.0)

If you want anything more advanced, look at a custom header.
Title: Re: Gallery Name/Description
Post by: DenisG 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.
Title: Re: Gallery Name/Description
Post by: DenisG 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 (http://www.denisg.co.uk/gallery).

Denis :-[
Title: Re: Gallery Name/Description
Post by: Nibbler on March 04, 2005, 04:09:17 pm
Why don't you follow the instructions given in the links ?
Title: Re: Gallery Name/Description
Post by: Joachim Müller on March 04, 2005, 04:12:23 pm
 ::)
Title: Re: Gallery Name/Description
Post by: DenisG 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?? ;).................
Title: Re: Gallery Name/Description
Post by: Nibbler 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. :)
Title: Re: Gallery Name/Description
Post by: DenisG 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.
Title: Re: Gallery Name/Description
Post by: Nibbler 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.
Title: Re: Gallery Name/Description
Post by: DenisG 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
Title: Re: Gallery Name/Description
Post by: Joachim Müller 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