Hi,
Thought I'd make this its own thread, since it wasn't really the original question of my last thread.
I've installed the plugin, but can't quite figure out what URL to use in the <script src> attribute.
The Serendipity installation is here:
http://www.mydomain.com/serendipity
I don't quite understand what the "Backend Url" attribute is for on the plugin config screen. I've read the documentation but can't seem to hit on the correct path to use in the <script src>.
Can anyone recommend a path to use in the <script src> tag to make this work?
For instance, based on the documentation, I'm using:
<script src="http://mydomain.org/serendipity/plugin/ ... "></script>
but nothing displays. Do I have to initialize this script in the document head or something?
Any advice would be great; really would love to get this working!
Thanks,
Joe
Javascript to show entries on external site plugin??
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Javascript to show entries on external site plugin??
Hi!
"Backend URL" is what you configure inside the plugin itself. There, you should actually simply enter "backend". You only need to that keyword, that is inserted on www.mydomain.com/serendipity/plugin/KEYWORD
- also note if your site does not support URL rewriting or you don't have that active, you need to index mydomain.com/serendipity/index.php?/plugin/KEYWORD.
Regards,
Garvin
"Backend URL" is what you configure inside the plugin itself. There, you should actually simply enter "backend". You only need to that keyword, that is inserted on www.mydomain.com/serendipity/plugin/KEYWORD
- also note if your site does not support URL rewriting or you don't have that active, you need to index mydomain.com/serendipity/index.php?/plugin/KEYWORD.
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/
# 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/
Re: Javascript to show entries on external site plugin??
Garvin,
You were right... URL rewriting was not active. Indexed the page and all is good!
Thanks!
Joe
You were right... URL rewriting was not active. Indexed the page and all is good!
Thanks!
Joe
Re: Javascript to show entries on external site plugin??
Hi, I was wondering a couple of things about this plugin.
I have managed to make it work quite easily (I haven't installed it yet but the trials have been successful), but I'd like to pimp it a bit more and I don't know if it is possible.
First of all, I would like to know if there is a way of displaying recent entries, but only after a certain one. For example, I might like to display only the second recent entry, up to the fifth, but not the first one.
The other question I've got is: I have a photoblog. Is is possible to display just the pictures, instead of the titles? Or the thumbnails?
The idea is to have a main page on my website where I can display the first entry as a picture and the second to fifth entries as thumbnails or titles. So basically, the idea of the backend plugin, but with pictures instead of titles.
Thanks
I have managed to make it work quite easily (I haven't installed it yet but the trials have been successful), but I'd like to pimp it a bit more and I don't know if it is possible.
First of all, I would like to know if there is a way of displaying recent entries, but only after a certain one. For example, I might like to display only the second recent entry, up to the fifth, but not the first one.
The other question I've got is: I have a photoblog. Is is possible to display just the pictures, instead of the titles? Or the thumbnails?
The idea is to have a main page on my website where I can display the first entry as a picture and the second to fifth entries as thumbnails or titles. So basically, the idea of the backend plugin, but with pictures instead of titles.
Thanks
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Javascript to show entries on external site plugin??
Hi!
That's not possible with the current plugin; you'd need to modify the PHP code there to add such specific rules...
Regards,
Garvin
That's not possible with the current plugin; you'd need to modify the PHP code there to add such specific rules...
You could achieve that by using CSS to hide the things you don't want to see? Other than that, you'D also have to modify the PHP code output... (which is not so hard at all!)The other question I've got is: I have a photoblog. Is is possible to display just the pictures, instead of the titles? Or the thumbnails?
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/
# 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/
Re: Javascript to show entries on external site plugin??
Ok, I'll play with the css then. Thanks a lot 