Hi,
(vers: 6.1.6)
I want to add some TEXT/DESCRIPTION at the top of the "Add Events" page ( just above "Title:").
How can I do this?
Thanks in advance.
Blaine.
Hi, (vers: 6.1.6) I want to add some TEXT/DESCRIPTION at the top of the "Add Events" page ( just above "Title:"). How can I do this? Thanks in advance. Blaine. Thanks in Advance, Blaine |
inc/classes/BxDolEvents.php almost at the bottom of the page find this code, $sRetHtml = <<<EOF You can add code 2 places, I have added both...added code is bold
|
okweb, You're amazing! Thanks again. Blaine. Thanks in Advance, Blaine |
Thanks again okweb, I have another idea, what if I wanted to change the "Your text here" into a Language String so in the future I can just change it in the language string and NOT MESS with the BxDolEvents.php file, what would I change "Your text here" as indicated in your instructions above?.... I'm guessing something like: {$EventsPageDescription} with the Language Key _EventsPageDescription Thanks in advance, Blaine. Thanks in Advance, Blaine |
By looking through the file BxDolEvents.php and with a little trial & error, I found that if I insert (for example) {$sTagsC} in place of "Your text here" from your instructions it will pull "Tags" from the Language String.... so, I created the Language String: Add your Local GLBTQ Pride Event/Celebration to our world wide list to help keep local citizens informed and educate those who live in small towns wishing to travel to a larger city to participate. ... with the Key: _EventsPageDescription ... and Category: Page Description But when I insert {$EventsPageDescription} in place of "Your text here" is DOES NOT pull the language string.... what am I doing incorrectly. Thanks in advance, Blaine. Thanks in Advance, Blaine |
I GOT IT!!!!!!!!!!!! In file /inc/classes/BxDolEvents.php search for --> // collect information about current member
below this....
add: $EventsPageDescription = _t('_EventsPageDescription'); then insert: {$EventsPageDescription} in place of "Your text here" in your instructions above! Now anytime I want to change the description at the top of the page (and a Language Translation) I can do it in the Language Strings! Thanks for helping me learn! Blaine. Thanks in Advance, Blaine |
Hi, (vers: 6.1.6) Now I would like to do the same with the JOIN PAGE (and add a description at the top of the page just above the first set of join questions. Which file do I need to look at and where would I insert the Language String?
Thanks in advance. Blaine. Thanks in Advance, Blaine |