Page 1 of 1

Javascript backend

Posted: Tue Aug 07, 2007 1:17 pm
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.

Re: Javascript backend

Posted: Tue Aug 07, 2007 1:28 pm
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

Posted: Tue Aug 07, 2007 1:47 pm
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.)

Posted: Tue Aug 07, 2007 2:08 pm
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

Posted: Tue Aug 07, 2007 2:18 pm
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.