Dates displayed on events on the homepage.

On the home page, in the events block, events are displayed with the picture for the event w/

Event Name: <title>
From: <posting member's name>
Location: <Country, City, State>
In: <## days>

The most important thing for me here would be the actual date of the event. Is there a way to display the <Start> & <End> dates on the next line? or even better, to add in after the <In ## days> line?

Also: Country is not important here either, can that be removed also?

Thanks in advance,

Mel - Ohhellmel

Quote · 26 Jul 2013

I thought someone would know this one for sure, No replies?

Quote · 30 Jul 2013

 

Also: Country is not important here either, can that be removed also?

 you will be able to change what is shown here..

modules/boonex/events/templates/base/unit.html; there are other "html" files, they pretty much explain where or what they do by the name.

e.g. to remove the city/country, you can comment out or remove

<div class="bx-twig-unit-line">__country_city__</div>

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 30 Jul 2013

Please make backups of all your files BEFORE you change, and after each change, you will have to clear the system cache.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 30 Jul 2013

You also need to remove it in modules/boonex/events/templates/base/unit_admin.html

 

Also: Country is not important here either, can that be removed also?

 you will be able to change what is shown here..

modules/boonex/events/templates/base/unit.html; there are other "html" files, they pretty much explain where or what they do by the name.

e.g. to remove the city/country, you can comment out or remove

<div class="bx-twig-unit-line">__country_city__</div>

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 7 Aug 2013

To add the start and end date :

In modules\boonex\events\classes\BxEventsTemplate.php

Find :

            'event_start' => $this->_oMain->_formatDateInBrowse($aData),

Replace with  :

            'event_start' => $this->_oMain->_formatDateInBrowse($aData) . ' ('. date('M d, Y', $aData['EventStart']) .' - '. date('M d, Y', $aData['EventEnd']) .')',

 
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 7 Aug 2013

Modzzz,

Your awesome!!!

Thanks for your help "again".

Mel

Quote · 8 Aug 2013

I can't find the exact line mentioned. the line mentioned actually reads,

                'event_start' => defineTimeInterval($aData['EventStart']),

Is this the line I need to add too?

Quote · 8 Aug 2013

None of the lines you guys are directing me to, say what you say they should say, is it because I'm running a different version?

I'm running 7.90 I believe.

Mel

Quote · 9 Aug 2013

I still, sooooooooo need help with this issue. Please, anyone with 7.09 code skills, I really need this one.

Mel

Quote · 9 Sep 2013

For Dolphin 7.0.9 .....

In modules\boonex\events\classes\BxEventsTemplate.php

Find :

            'event_start' => defineTimeInterval($aData['EventStart']),

Replace with  :

            'event_start' => date('M d, Y', $aData['EventStart']) .' - '. date('M d, Y', $aData['EventEnd']),

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 10 Sep 2013

In that Same area, What would I need to change to display City & State instead of Country & City. I'm toying with a bit to see if I can figure it out, but not sure I will be able to.

Any help?

Mel

Quote · 12 Sep 2013

 The default Events mod does not have State. Do you have a third party mod with States ?

In that Same area, What would I need to change to display City & State instead of Country & City. I'm toying with a bit to see if I can figure it out, but not sure I will be able to.

Any help?

Mel

 

Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz
Quote · 12 Sep 2013

no, but I do pull state info on the profile sign-up. wonder if we could add a field to the event sign-up page? I guess that would be needed if the person hosting the event lived in one state but hosted in another???

Quote · 16 Sep 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.