Kubrick Header switching Plugin

Creating and modifying plugins.
Post Reply
commanderx
Regular
Posts: 59
Joined: Mon Apr 18, 2005 8:18 am
Contact:

Kubrick Header switching Plugin

Post by commanderx »

Well..i think its only my stupidity.
Which Path do i have to enter in the config if the Plugin should choose the image?

Is it for example: /var/www/kubrick_images/
or
http://www.mydomain.de/kubrick_images/

I tried both...but none of them works.

Any idea?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Kubrick Header switching Plugin

Post by garvinhicking »

In your case when /var/www/ is your document root, you need to enter the path from your your main URL on.

If http://mydomain.de/ is your domain and /kubrick_images/ the directory, you can enter "/kubrick_images/".

If the URL would be http://mydomain.de/serendipity/kubrick_images, you need to enter "/serendipity/kubrick_images".

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
commanderx
Regular
Posts: 59
Joined: Mon Apr 18, 2005 8:18 am
Contact:

Post by commanderx »

Hm...i thought i tried it this way...but i may had a dream.

Ill try again, thx :)
commanderx
Regular
Posts: 59
Joined: Mon Apr 18, 2005 8:18 am
Contact:

Post by commanderx »

Well...i think i totally misunderstood the meaning of this plugin.

I thought it changes the Header Image randomly.....

Well...hit me...:)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Actually the latest version of the kubrickheader plugin DOES shuffle a random header image if you supply a PATH instead of a FILE in the input...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
commanderx
Regular
Posts: 59
Joined: Mon Apr 18, 2005 8:18 am
Contact:

Post by commanderx »

Hmm..wont work.
The Plugin config is:
/var/domains/www.bobbes.de/serendipity/kubrick_header/
The Content of kubrick_header is:
kubrickheader_emily.jpg

When i open the page, there is no header image.
It trys to show http://www.bobbes.de/var/domains/www.bo ... ck_header/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!
That's wrong. Read again what I posted above:
In your case when /var/www/ is your document root, you need to enter the path from your your main URL on.

If http://mydomain.de/ is your domain and /kubrick_images/ the directory, you can enter "/kubrick_images/".

If the URL would be http://mydomain.de/serendipity/kubrick_images, you need to enter "/serendipity/kubrick_images".
That means you must enter: "/serendipity/kubrick_header/".

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
commanderx
Regular
Posts: 59
Joined: Mon Apr 18, 2005 8:18 am
Contact:

Post by commanderx »

Im so dumb.

Thx a LOT! :)
Post Reply