Home › Forums › Calendar Products › Events Calendar PRO › Help editing single_venue.php & list/content.php
- This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
October 4, 2013 at 11:29 pm #69451
mcnultyco
ParticipantHi guys, I need some direction. I am trying to reverse the position of the venue description and the events list on each venue’s post, so that the venue description is at the bottom and the events list is at the top. I started by moving the code that gets the content (which was at the bottom of single_venue.php) above the div with the class “tribe-events-venue-meta vcard tribe-clearfix”.
The results are not what I’m going for. That lead me to list/content.php and it appears what I tried didn’t work because content.php loads the footer.
Is there a conditional I can use get it to wait on loading the footer until I can slip in a div with the venue description text, image, and map?October 7, 2013 at 4:25 pm #69750Barry
MemberI’m not sure if what you linked to demos a single venue page with your change in place or if you reverted to the default version of the template, but what you’re outlining seems to work for me (ie, placing the venue description, map etc below the list of events).
Can you clarify what the problem is / can you share your modified template code (using a service like Pastebin or Gist, instead of posting directly into the forum)?
Thanks!
October 7, 2013 at 7:25 pm #69780mcnultyco
ParticipantI did change it back to the unedited template. I need a time frame when the client wont be testing the site to show you the results. Can you give me a window? Here is how I edited the code: http://pastebin.com/tEASt7uW
October 7, 2013 at 8:51 pm #69790Barry
MemberUnfortunately it’s difficult for us to provide a window – but your code looks fine and is what I pictured when you described the change you had made initially. At least when testing on a default theme like Twenty Twelve it all looks fine to me – if you can explain why it doesn’t work for you / perhaps link to an example on a testing site that would be fantastic 🙂
October 9, 2013 at 10:45 am #70153mcnultyco
Participant10-4. I have uploaded the single_venue.php file above to the site. give it a look: http://www.farawayentertainment.com/wp/venue/bainbridge-cinemas/
October 10, 2013 at 7:57 am #70290Barry
MemberAh ok. Not sure why I couldn’t replicate that before but I can now 🙂 … would this sort of approach work for you as an alternative?
October 10, 2013 at 3:42 pm #70450mcnultyco
ParticipantIt does seem to work, and the client doesn’t mind the loss of some of the styling.
Can you tell me a bit about what was going on?
From looking it over quickly, the output buffer wrapper was all that was needed, is that right?October 10, 2013 at 3:58 pm #70457Barry
MemberTo display the list (of events) a new loop is started and the original venue data disappears. So there are other ways of accomplishing the same thing, this was really just a quick and easy way of rendering the venue information and retaining that piece of output but not displaying it until after the list of events had rendered.
Since it sounds like you’re all sorted though I’ll go ahead and close this thread. Thanks!
July 7, 2015 at 6:29 am #981390Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Help editing single_venue.php & list/content.php’ is closed to new replies.
