Javascript backend

Creating and modifying plugins.
Post Reply
NickW
Posts: 3
Joined: Tue Aug 07, 2007 12:02 pm

Javascript backend

Post by NickW »

I'm using the Javascript backend plugin, so i can use the feature to post parts of newsposts on different areas of my website. The aim is to have the headlines elsewhere.

http://s9y.org/205.html is the plugin.

Anyway, i've tried setting it up and testing it, but i can't seem to get it to work seemingly as it should. The CSS is not taking effect, and right now, i'm getting double posts for an unknown reason. Would anyone be so kind to take a look and see where i am going wrong? www.nickwalker.nu/test.html

Thanks in advance.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Javascript backend

Post by garvinhicking »

Hi!

Which CSS should be taking effect? Your test.html site doesn't have any CSS!

As for the duplication: Could it be you installed the javascript backend plugin twice?

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/
NickW
Posts: 3
Joined: Tue Aug 07, 2007 12:02 pm

Post by NickW »

Hi Gavin, thanks for the reply.

I was playing with the page, sorry i removed the CSS i've put it back now and will use a different page to play with.

Yes! The plugin was installed twice, that is why it was showing twice. That's solved that at least.

I was following the guidelines in the readme regarding the CSS, but seemingly nothing is taking effect. Any ideas on that one ? (Css is now as i said back in the HTML file.)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Ah, okay. If you open the URL http://www.lmcaudio.co.uk/news/index.ph ... ls=0&num=2 in your browser and view the HTML source, you'll see that no HTML classes are used. That's why no CSS takes effect.

If you want the CSS to take effect, you need to use http://www.lmcaudio.co.uk/news/index.ph ... ls=1&num=2 -- then you can see the embedded HTML tags!

HTH,
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/
NickW
Posts: 3
Joined: Tue Aug 07, 2007 12:02 pm

Post by NickW »

Hmm, i think i understand. Although from the looks of things that means i have to have details switched on.

Thanks for the help though, i'll have a play around.
Post Reply