events and venues together?

If you are planning to organize any conference or festival, there are many ways to get help via our forum.
GK User
Tue Feb 17, 2015 9:59 pm
Would it be possible to put the venues/the names of the places above the events on the upcoming events page (the one on the frontpage:http://itef.kalemkultur.com/). I want to put 4 places on top of the event calendar/list. And when each place/venue is clicked on i would see the events that take place there... (similar to the way the dates work). The visual version of the thing i mean is something like that:http://randevuistanbul.com/gosterim-cizelgesi/
User avatar
Senior Boarder

GK User
Wed Feb 18, 2015 8:42 am
Hello,

If you want to change the order - venues above the events, please change the publish name of your frontpage subpages, but I'm not sure if you additional modifications are possible.
User avatar
Moderator

GK User
Wed Feb 18, 2015 10:25 am
no this is not what i mean. i want events and venues in the same page. the table of events (the one under frontpage) should contain the names of the venues which would look like this:http://randevuistanbul.com/gosterim-cizelgesi/
User avatar
Senior Boarder

GK User
Thu Feb 19, 2015 8:28 am
Do you mean thes events block, generated by [Agenda] shortcode? https://www.gavick.com/documentation/th ... rtcode.jpg

Unfortunately it's not possible - it requires a lot of modifications (unortunately beyond our technical support).
User avatar
Moderator

GK User
Thu Feb 19, 2015 11:28 am
ys i meant that.... then would it be possible to add venue inside the boxes? there are only the title of the eventand the hour but i want to see where it takes place... so there will be three items in each box....how can we decide which custom field goes into these boxes? i would be glad if you can answer me today....
User avatar
Senior Boarder

GK User
Fri Feb 20, 2015 9:14 am
It's possible but it requires a agenda shortcode modifications ( unfortunately beyond our technical support ), I'll check the issue exactly when I'll find some free time.
User avatar
Moderator

GK User
Fri Feb 20, 2015 6:19 pm
i would be grateful if you do.... if it is some changes in codes on style.css or sth, maybe you can instruct me do do it, if it is easier for u...
User avatar
Senior Boarder

GK User
Tue Feb 24, 2015 8:37 am
were u able to check the issue?
User avatar
Senior Boarder

GK User
Fri Feb 27, 2015 8:29 am
Try to edit Events/shortcodes.php file and add this fragment:
Code: Select all
foreach ((array) $keys as $key) {
                           // trim the key name
                           $key = trim($key);
                           
                           if($key === 'event-venue') {
                              $event_venue = get_post_custom_values($key);
                              break;
                           }

                        }

after this line:
Code: Select all
if ($keys = get_post_custom_keys()) {


and this fragment:
Code: Select all
if(trim($event_venue[0]) !== '') {
                        $item_output .= '<small><i class="gk-icon-clock"></i>'.$event_venue[0].'</small>';
                     }


after:
Code: Select all
if(trim($event_hours[0]) !== '') {
                        $item_output .= '<small><i class="gk-icon-clock"></i>'.$event_hours[0].'</small>';
                     }
User avatar
Moderator

GK User
Wed Mar 04, 2015 4:49 pm
i couldnt have time so far to make these changes but i will asap. many thanks for all
User avatar
Senior Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.