Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#91 2006-05-10 10:47:59

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: [plugin] [ORPHAN] jmc_event_manager

Minor bug: The category manager says “Venue Manager” above the group of yellow buttons and “Edit Venue” below the buttons.

Offline

#92 2006-06-16 13:56:17

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] jmc_event_manager

I’ve got a quick question…
How do you output the contents of the ‘Other Info’ field for a category?
I guessed at <code><txp:jmc_category_otherinfo /></code>, but it didn’t work…

Offline

#93 2006-06-21 11:22:26

jufemaiz
Archived Plugin Author
From: nth narrabeen, sydney, nsw, au
Registered: 2005-03-17
Posts: 91
Website

Re: [plugin] [ORPHAN] jmc_event_manager

pieman wrote:

I’ve got a quick question…
How do you output the contents of the ‘Other Info’ field for a category?
I guessed at <code><txp:jmc_category_otherinfo /></code>, but it didn’t work…

Sorry – not yet implemented… noted to be updated

This may be of interest

Last edited by jufemaiz (2006-06-21 11:24:47)


BE + MEngSc = engineer with a side dish of frustrated designer/developer with a penchant for photography outside

Offline

#94 2006-06-21 11:32:15

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] jmc_event_manager

OK, no problems!

Ollie is working with me on a record label site and we’ve abandoned our own custom events CMS in favour of trying to find some short-term hacks/extensions to your destined-to-be-legendary plugin.
We’ve got the upm_image_popper working, now we’re heading off into the unchartered world of categories!

It may not be a purist’s dream, but I’ll keep you posted with what we come up with.
:)

Offline

#95 2006-06-21 22:10:11

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [plugin] [ORPHAN] jmc_event_manager

jufemaiz wrote in other thread:

maniqui – of interest would be the fact that there’s an even/odd option implemented in jmc_event_manager
<txp:jmc_even_odd />
outputs even/odd depending on whether the row # is even/odd

Cool! thanks jufemaiz!
That one is a secret tag (it’s not list in the plugin help!)


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#96 2006-06-21 22:56:25

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] jmc_event_manager

This plugin rocks! Thank you!

Now if someone can explain to me how I can get this thing to sync with iCal I will be STOKED :D

Offline

#97 2006-06-22 07:15:23

jufemaiz
Archived Plugin Author
From: nth narrabeen, sydney, nsw, au
Registered: 2005-03-17
Posts: 91
Website

Re: [plugin] [ORPHAN] jmc_event_manager

was there a new post here or not? something seems missing


BE + MEngSc = engineer with a side dish of frustrated designer/developer with a penchant for photography outside

Offline

#98 2006-06-22 07:28:46

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] jmc_event_manager

ghosts in the machine

Offline

#99 2006-06-25 12:27:12

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] jmc_event_manager

jufemaiz wrote:

was there a new post here or not? something seems missing

Indeed there was.

I posted a question on how to sync this plugin with iCal but for some reason you cant see it (?)

Edit: Also, I forgot to mention that I would like to list one-off events (Which means only starting time) and it seems your plugin requires an end time. Hopefully there is an easy workaround…

Last edited by Ace of Dubs (2006-06-25 12:32:22)

Offline

#100 2006-06-25 12:48:59

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] jmc_event_manager

weird!

you first need to mark up your event html as a valid hcalendar microformat

then to enable subscription with iCal, you could pass the url of an event page through an engine like the like the one offered by Technorati
like this: <code> webcal://feeds.technorati.com/events/http://www.secretshine.co.uk/gigs </code>

or if you just want to offer a one off ‘add this event to iCal’ with no subscription, you could pass an event URL to Brian Suda’s XSLT script
like this: <code>http://suda.co.uk/projects/X2V/get-vcal.php?uri=http://www.secretshine.co.uk/gigs </code>

I seem to remember those two engines require a couple of different tweaks in your hCalendar markup to work properly, but it’s possible to get both working from the same HTML.

Offline

#101 2006-07-18 15:25:39

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] jmc_event_manager

jufemaiz,

This plugin is really excellent man. My ony gripe is that your form tags generate p tags when all I want is the text. As maniqui suggested, wraptag is key. I could simply put wraptag=”“ and that would solve my problem. In the meantime, I am poking through your code to see if I can figure out where exactly you have set the default wraptag to <code><p></code> Wish me luck!

Edit: So I have localized the problem. Apprently you have enabled Textile by default within some of the textfields. Perhaps it would be best to provide a dropdown so folks can turn it on or off. For now instead of hacking your code I will have to resort to putting a space in front of all my entries. Kind of ghetto but it works for now

Edit2: Okay so I couldnt resist and the curiosity is killing me:

bc..
$textile = new Textile();

extract(gpsa(array_merge($vars_events,$calendar_start,$calendar_finish))); $CategoryID = $CategoryID?$CategoryID:0; $OtherBands_html = $OtherBands?$textile->TextileThis($OtherBands):”“; $OtherInfo_html = $OtherInfo?$textile->TextileThis($OtherInfo):”“;

Am I correct in guessing that the problem lies here? You have this code repeated a few times (post,save,etc) I imagine it would be a simple affair to disable textile for these fields.. but I am not PHP savvy enough to figure out exactly how..

Edit3: LOL.. I cant believe how simple it actually was…

All I did was change every instance of

bc..
$OtherInfo_html = $textile->TextileThis($OtherInfo);

To this

bc..
$OtherInfo_html = $OtherInfo;

And it WORKS!! This calls for a celebration :D

Last edited by Ace of Dubs (2006-07-18 17:07:23)

Offline

#102 2006-07-18 20:27:55

Ace of Dubs
Member
Registered: 2006-04-17
Posts: 446

Re: [plugin] [ORPHAN] jmc_event_manager

Okay so all is well in jmc-land. The only weird thing is that I get this error every time I delete a category or venue:

bc..
Notice: Undefined index: category in /usr/home/housecaf/public_html/textpattern/lib/txplib_misc.php(459) : eval()’d code on line 214

I get this warning but apparently everything still works fine. I tried this on another install of TXP without my hack and still getting this message. just an FYI

Edit: I repaired my tables with rss_admin and now everything is perfect.

Have I mentioned how awesome this plugin is?

Last edited by Ace of Dubs (2006-07-18 21:06:53)

Offline

#103 2006-07-27 19:41:14

mungy
Member
Registered: 2006-03-12
Posts: 22

Re: [plugin] [ORPHAN] jmc_event_manager

I’m trying to list by venue.

what i want is:

Dyserth
12th Aug 2006
15th Sept 2006

Liverpool
29th July 2006
5th August 2006

anyone know how to do it?

edited to clarify my requirements.

Last edited by mungy (2006-07-27 21:16:24)

Offline

#104 2006-07-28 07:41:25

pieman
Member
From: Bristol, UK
Registered: 2005-09-22
Posts: 491
Website

Re: [plugin] [ORPHAN] jmc_event_manager

I don’t think that’s possible with the curent version

Offline

#105 2006-07-28 17:55:53

mungy
Member
Registered: 2006-03-12
Posts: 22

Re: [plugin] [ORPHAN] jmc_event_manager

pieman wrote:

I don’t think that’s possible with the curent version

Thanks for the response.
what about:-

july
1-4th Dyserth
12th Liverpool

august
5-9th Rhyl
15-18th Chester

My guess is that isn’t possible yet either. Maybe I could do list of the venues in a box on the side and the user clicks on the link to get the list of the dates in that venue. It’s still better than having to wade through a big list and getting the order of the dates muddled up ;)

Offline

Board footer

Powered by FluxBB