Can't Figure out Templating – what gives?

Home Forums Calendar Products Events Calendar PRO Can't Figure out Templating – what gives?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12976
    Jason
    Participant

    I 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

    http://www.barnumfestival.com.php5-19.dfw1-2.websitetestlink.com/event/tom-thumb-lavinia-warren-contest/

    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.

    #12977
    Jason
    Participant

    ugh…thing keeps stripping out my code, lets see if code tags work

    [code]

    [/code]

    #12978
    Jason
    Participant

    oh well..

    #13047
    Rob
    Member

    Hey 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.

    #13168
    Joey Kudish
    Member

    Hi 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!
    Thanks

    #13176
    Jason
    Participant

    this 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!

    #13209
    Joey Kudish
    Member

    Great, glad you figured it out Jason!

    #975060
    Support Droid
    Keymaster

    This 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.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Can't Figure out Templating – what gives?’ is closed to new replies.