Home › Forums › Calendar Products › Events Calendar PRO › Can't Figure out Templating – what gives?
- This topic has 7 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
January 6, 2012 at 2:13 pm #12976
Jason
ParticipantI may not be doing something right, but here goes….
I have my default event template set to a template I created, which calls my header, footer & sidebar, and within the content area is the wordpress loop, calling an include for the /events/single.php template that i copied from the plugin folder into my template directory.
I modified the single.php template to my liking, and to my understanding this only applies to singular events, however when i visit the page
I get the output of my event (there is only 1 entered in wordpress), and then it begins to start another event below the one that is supposed to be output?
For troubleshooting reasons i’ve output the ID of each piece of content into the containing
Each containing div should be as follows..
If you use Chrome or Firebug to inspect the 2nd event containing div, the ID is blank/NULL. Can’t figure out why this is appearing.
January 6, 2012 at 2:16 pm #12977Jason
Participantugh…thing keeps stripping out my code, lets see if code tags work
[code]
[/code]
January 6, 2012 at 2:17 pm #12978Jason
Participantoh well..
January 9, 2012 at 4:03 pm #13047Rob
MemberHey Jason. You should be able to drop code in here with < code >. It’d look like this:
This is my sample code text.Your core question here is an interesting one. This is a bit outside my area of expertise, but I’ve asked our developer Jonah to chime in on it. You should be hearing from him this afternoon. If you want to drop that code in whenever you can, it should be helpful for us.
January 10, 2012 at 8:46 pm #13168Joey Kudish
MemberHi Jason,
I’d love to give you a hand with this. But we’ll need to see your code to be able to tell exactly what’s up. The best solution to copy your code is to use http://pastebin.com or https://gist.github.com/, or as Rob recommended the
tag (without the extra spaces)Let us know for your code and we can take a look!
ThanksJanuary 11, 2012 at 5:21 am #13176Jason
Participantthis was fixed along with the css issue i had when i changed my template to use singletons and declared $post as global. You can close this issue out. Thanks again!
January 11, 2012 at 12:15 pm #13209Joey Kudish
MemberGreat, glad you figured it out Jason!
July 2, 2015 at 5:00 pm #975060Support 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 ‘Can't Figure out Templating – what gives?’ is closed to new replies.
