Personal Video Database

English => Support => Topic started by: afellwalker on July 13, 2009, 05:26:13 pm

Title: Director, Producer and Actor links.
Post by: afellwalker on July 13, 2009, 05:26:13 pm
When clicking on these links is there a way of keeping the link the same colour (blue) instead of changing to (brown).
I have this set this on my browser (blue to blue), but this does not work with PVD.
Any idea's
afellwalker
Title: Re: Director, Producer and Actor links.
Post by: rick.ca on July 13, 2009, 06:37:50 pm
Welcome, afellwalker.

Yes, they can be changed in the skin. See New tags and attributes for skins here (http://www.videodb.info/forum_en/index.php?topic=1261.msg4661#msg4661).

Changing people links to blue is fine, but for other links, brown means the link is internal and blue means the link is external.
Title: Re: Director, Producer and Actor links.
Post by: afellwalker on July 14, 2009, 04:00:09 pm
Thanks for the reply, i checked out your link but i don't know how to change the people links to blue!
afellwalker
Title: Re: Director, Producer and Actor links.
Post by: rick.ca on July 14, 2009, 09:58:54 pm
Add the following to your skin(s)—the XML file(s) located in your \Skins\ directory:

...
</fieldfont>
<linkdefs>
   <linkcolor1>$FF0000</linkcolor1>
   <linkcolor2>$0000FF</linkcolor2>
</linkdefs>
<section>
...

I have included "</fieldfont>" and "<section>" only as a suggestion of where to place the additional code—it can go anywhere, but must be properly placed within the structure of the XML.
Title: Re: Director, Producer and Actor links.
Post by: afellwalker on August 01, 2009, 04:41:29 pm
Where it says "linkcolor1 and linkcolor2", do i change it with the word "blue" or do i change  "$FF0000 and $0000FF" with the word "blue" ?
Title: Re: Director, Producer and Actor links.
Post by: rick.ca on August 01, 2009, 07:58:56 pm
No, those are hex codes denoting the exact color. Use a color picker like this one (http://www.pagetutor.com/colorpicker/index.html) to get the hex code for the color you want to use. Blue is "$0000FF" and red is "$FF0000."
Title: Re: Director, Producer and Actor links.
Post by: afellwalker on August 02, 2009, 07:12:24 pm
I inserted the text as you said in the skin XML file and used the same hex code $0000FF for both link colours using "note tab", but the actor's link which is blue still changes to brown (I want it to stay blue).
Sorry for my lack of pc knowledge.
Title: Re: Director, Producer and Actor links.
Post by: rick.ca on August 02, 2009, 10:10:01 pm
Sorry, I don't know what to suggest. The modification described turns my people links blue.
Title: Re: Director, Producer and Actor links.
Post by: nostra on August 03, 2009, 01:31:25 pm
Are you sure you have made changes to the right skin?
Where did you place the changes?
Have you restarted PVD after changing the skin?
Title: Re: Director, Producer and Actor links.
Post by: afellwalker on August 03, 2009, 05:31:39 pm
I put the following in the "classic skin" inbetween "fieldfont and section" as suggested by rick.ca;
 <linkdefs>
  <linkcolor1>$0000FF</linkcolor1>
  <linkcolor2>$0000FF</linkcolor2>
  </linkdefs>
PVD has been restarted several times.
Title: Re: Director, Producer and Actor links.
Post by: nostra on August 04, 2009, 12:28:27 am
That's really strange, because it should work then (I have tried it right now). Does your code look like this?

Code: [Select]
<fieldfont><size>10</size></fieldfont>
 
  <linkdefs>
  <linkcolor1>$0000FF</linkcolor1>
  <linkcolor2>$0000FF</linkcolor2>
  </linkdefs>

  <section>
Title: Re: Director, Producer and Actor links.
Post by: afellwalker on August 05, 2009, 05:06:41 pm
Yes!! got it now, my mistake, I had made the changes on the wrong skin.
Thanks for all the help, good work.