hi all,
I am at the tail end of writing a plugin and am stuck. I want to display a large-form month calendar using the entry column.
I know that I can do this using the entry_display hook, but what I don't understand is how to build the URLs that allow me to do this. I have tried parsing thorugh the static pages plugin which does this, but unfortunately this is complete gibberish to me.
Any help would be muchly appreciated. Without this stuff, my plugin is essentially useless.
how does entry_display hook work?
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: how does entry_display hook work?
Hi!
I agree that the static page plugin is too complex an example for that. What would be a better example is the serendipity_event_wrapurl example. This also defines permalinks, I think. Or it works via the index.php?serendipity[subpage]=XXX backwards-compatibility hook.
If that small hinter doesn't help you, please reportr back
Regards,Garvin
I agree that the static page plugin is too complex an example for that. What would be a better example is the serendipity_event_wrapurl example. This also defines permalinks, I think. Or it works via the index.php?serendipity[subpage]=XXX backwards-compatibility hook.
If that small hinter doesn't help you, please reportr back
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/
thanks muchly, that example was much simpler to follow.
I have completed to my satisfaction a calendar of events plugin which allows users to add one-time, weekly, and monthly events. It is for a club I am a part of, but for now I am testing it on my own blog. The monthly calendar is visible at http://www.strangely-normal.com/serendi ... endar.html.
if anyone is interested in seeing the plugin themselves, please let me know. There are a number of bugs I need to squish, but I wanted to get it live.
I have completed to my satisfaction a calendar of events plugin which allows users to add one-time, weekly, and monthly events. It is for a club I am a part of, but for now I am testing it on my own blog. The monthly calendar is visible at http://www.strangely-normal.com/serendi ... endar.html.
if anyone is interested in seeing the plugin themselves, please let me know. There are a number of bugs I need to squish, but I wanted to get it live.
shannon
http://www.strangely-normal.com
http://www.strangely-normal.com
thanks muchly, that example was much simpler to follow.
I have completed to my satisfaction a calendar of events plugin which allows users to add one-time, weekly, and monthly events. It is for a club I am a part of, but for now I am testing it on my own blog. The monthly calendar is visible at http://www.strangely-normal.com/serendi ... endar.html.
if anyone is interested in seeing the plugin themselves, please let me know. There are a number of bugs I need to squish, but I wanted to get it live.
I have completed to my satisfaction a calendar of events plugin which allows users to add one-time, weekly, and monthly events. It is for a club I am a part of, but for now I am testing it on my own blog. The monthly calendar is visible at http://www.strangely-normal.com/serendi ... endar.html.
if anyone is interested in seeing the plugin themselves, please let me know. There are a number of bugs I need to squish, but I wanted to get it live.
shannon
http://www.strangely-normal.com
http://www.strangely-normal.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Wow, that calendar really looks nifty! I do think many people would have an interest in this!
Did you create a plugin all new, or did you extend the current serendipity_event_mycalendar plugin? Maybe both plugins could be combined?
Best regards,
Garvin
Wow, that calendar really looks nifty! I do think many people would have an interest in this!
Did you create a plugin all new, or did you extend the current serendipity_event_mycalendar plugin? Maybe both plugins could be combined?
Best 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/
It's all new. There's a lot more in the backend because I had to write it to cater to the non-technical in my club.
I have only tested it on my home server running serendipity 0.9.1 and the server that my domain is hosted on which is running 1.0beta2, so I'm sure there will be a lot of bugs float to the surface as others test it out. That being said, I would love seeing other people able to use it.
I have only tested it on my home server running serendipity 0.9.1 and the server that my domain is hosted on which is running 1.0beta2, so I'm sure there will be a lot of bugs float to the surface as others test it out. That being said, I would love seeing other people able to use it.
shannon
http://www.strangely-normal.com
http://www.strangely-normal.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
I'd love to get your plugin into our Spartacus repository, but we have to try to keep it simple there, so I'd really love to combine the two plugins into one.
If yours is the more complex one, are there any features that mycalendar can do that yours doesn't? Because then we could use your plugin as a drop-in replacement of that plugin. If they have a different Table structure, we would only need to convert the "old" tables into your new structures, which should not be that hard, I think.
What do you think? Would it be possible for you, and would you be interested into trying to replace the old plugin for that officially?
I only need current users of the plugin to be able to use their old inputs, so they would need to be imported. And the sidebar plugins must be able to format the output similar to the current output, at least as a config option?
Best regards,
Garvin
I'd love to get your plugin into our Spartacus repository, but we have to try to keep it simple there, so I'd really love to combine the two plugins into one.
If yours is the more complex one, are there any features that mycalendar can do that yours doesn't? Because then we could use your plugin as a drop-in replacement of that plugin. If they have a different Table structure, we would only need to convert the "old" tables into your new structures, which should not be that hard, I think.
What do you think? Would it be possible for you, and would you be interested into trying to replace the old plugin for that officially?
I only need current users of the plugin to be able to use their old inputs, so they would need to be imported. And the sidebar plugins must be able to format the output similar to the current output, at least as a config option?
Best 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/
I know the plugin isn't ready for spartacus yet. What I am planning on doing is now that I have a stable version of it, going through and refactoring all the code that needs to be re-written for whatever reason (such as I forgot about the server time offset). my code right now is not what I would consider up to par.
When I complete that, I will release the code on my site, and if you are still interested in integrating it with the original mycalendar plugin, I will work on it.
When I complete that, I will release the code on my site, and if you are still interested in integrating it with the original mycalendar plugin, I will work on it.
shannon
http://www.strangely-normal.com
http://www.strangely-normal.com
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
Sure, that's great. Take all the time you need, there's no real hurry. I would be very happy if your code is contributed, and I know it takes time to polish up all things.
Keep us posted, and of course: Have fun!
Best regards,
Garvin
Sure, that's great. Take all the time you need, there's no real hurry. I would be very happy if your code is contributed, and I know it takes time to polish up all things.
Keep us posted, and of course: Have fun!
Best 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/