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
|
I thought someone would know this one for sure, No replies? |
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! |
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! |
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 |
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 |
Modzzz,
Your awesome!!!
Thanks for your help "again".
Mel
|
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?
|
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
|
I still, sooooooooo need help with this issue. Please, anyone with 7.09 code skills, I really need this one.
Mel
|
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 |
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
|
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 |
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??? |