Hello,
I am trying to find a way to add the DTRegister JEvents Patch to the JEvents List view so that users don't have to click all the way through to the full event description to register. I have added a slightly modified copy of the patch to the views/default/cat/tmpl/listevents_body.php file. The problem seems to be that the list view doesn't include the Event ID with each event so the PHP code in the patch is simply skipped.
I'm not familiar with JEvents enough to know, is there a way to get the patch to work in the list view? If so what modification(s) do I need to make?
I don't know what version DT Register or JEvents you are using... if you have the latest DT Register 2.5.7, you do not need any JEvents hack. Our plugin automatically adds the registration buttons into the event details page. However, we have never provided a hack for the list view. Are you wanting users to click the event name in list view and go right to registration?? If so, why even use the frontend of JEvents at all? You should just use the event list that DT Register creates. Besides looking more professional, it lists the events by date already.
Sorry for the delay in responding to this request. The client has totally changed the layout of the registration portion of their site which makes this point no longer relevant for my current project although here is why I made the request. I decided to use the JEvent list view becuase JEvent menu item allows me to select a particular category from JEvent. The DTRegister menu item does not have this capability. I needed the ability to display only one category at a time. If the DTRegister menu item had this capability then it would have worked great.
What I have had to do is to create 120 DT Register modules and categories.
I have a client who teaches computer training classes. They have 120 different courses. Each course is given once a month. They schedule anywhere from 3-6 months in advance. Each Course has it's own Joomla article and at the bottom I am inserting a module with that one course's DT Registered Module listing so that people may instantly register for that one particular class. The link you posted was interesting but I would need a way to combine two articles or get the full course description to appear in the DTRegister module. Plus my client would need to know how to easily make updates. Not sure if this will work. Thanks for the response.