DevFuse Products (View All Products)
Issue information
-
#000144
-
0 - None Assigned
-
Fixed
-
-
-
1.2.0
Issue Confirmations
-
Yes (0)No (0)
Updating status to: Flagged for future version
Will include this in the next version. In the mean time can provide the file edits necessary to do this if you want? If you know what date variables you want, it's a simple edit.
Will include this in the next version. In the mean time can provide the file edits necessary to do this if you want? If you know what date variables you want, it's a simple edit.
Another thought on this one... When a new topic is created there's the topic title and also the optional topic description field. That topic description could also be used to show the date and/or other event info.
Oh, and yes to your question. If the edits are easy to follow, I can do them myself.
Oh, and yes to your question. If the edits are easy to follow, I can do them myself.
BogeyMan, on 24 October 2009 - 06:50 AM, said:
Another thought on this one... When a new topic is created there's the topic title and also the optional topic description field. That topic description could also be used to show the date and/or other event info.
Oh, and yes to your question. If the edits are easy to follow, I can do them myself.
Oh, and yes to your question. If the edits are easy to follow, I can do them myself.
Open admin/applications_addon/other/ctopics/sources/ctopics.php
Find:
$search = array( "/%title%/", "/%author%/", "/%content%/", "/%calendar_name%/", "/%event_link%/", "/%event_date%/" );
$replace = array( $event['event_title'], $author['members_display_name'], $event['event_content'], $calendar['cal_title'], $eventURL, "{$event['mday']} {$event['month_text']} {$event['year']} {$de} ($type)" ); Replace With:
$search = array( "/%title%/", "/%author%/", "/%content%/", "/%calendar_name%/", "/%event_link%/", "/%event_date%/", "/%event_date_sort%/" );
$replace = array( $event['event_title'], $author['members_display_name'], $event['event_content'], $calendar['cal_title'], $eventURL, "{$event['mday']} {$event['month_text']} {$event['year']} {$de} ($type)", "{$event['mday']} {$event['month_text']} {$event['year']}" );
Save admin/applications_addon/other/ctopics/sources/ctopics.php
You can use the tag %event_date_sort% in place of the sort date. It will display day/month/year.
I need to sort out events in chronological order in the forum, even if the are created out of chronological order.
So I have set the forum where they are shown, to sort them by title in alphabetical order, so they would look like:
2009-08-28 : Seminar on Devfuse products
2009-08-29 : Beer with the lads
Then I would like to have the event title use the %event_date% tag. But in order for this to work, I need to use the format YYYY-MM-DD.
I have tried to change the suggest above in post to: {$event['year']} {$event['month']} {$event['mday']} but this gives 2010 8 28 instead of 2010 08 28.
Is it possible to get it to make the event title to 2010-08-28 in some way?
Thanks
PS: Maybe make this a suggestion for a future version too. It makes browsing the event forum much easier that events can be listed in order of date.
So I have set the forum where they are shown, to sort them by title in alphabetical order, so they would look like:
2009-08-28 : Seminar on Devfuse products
2009-08-29 : Beer with the lads
Then I would like to have the event title use the %event_date% tag. But in order for this to work, I need to use the format YYYY-MM-DD.
I have tried to change the suggest above in post to: {$event['year']} {$event['month']} {$event['mday']} but this gives 2010 8 28 instead of 2010 08 28.
Is it possible to get it to make the event title to 2010-08-28 in some way?
Thanks
PS: Maybe make this a suggestion for a future version too. It makes browsing the event forum much easier that events can be listed in order of date.
Confirmed while working on next version, also see what suggestions from here can be made standard http://www.devfuse.c...alendar-topics/
Added the reverse date tag.
1 user(s) are reading this issue
0 members, 1 guests, 0 anonymous users













