ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Building a Bug Tracker: Template Groundwork

February 29, 2008 8:04pm

Subscribe [4]
  • #1 / Feb 29, 2008 8:04pm

    Lisa Wess

    20502 posts

    In parts one and two of the Building a Bug Tracker, we got our infrastructure setup - our weblog, our path.php variables, and our custom groups.  We’ve also added some entries to our Bug Tracker so that we have some data to work with as we do the real core of the work - building the templates.

    So now it’s time to decide is what template to use for the Bug Tracker. For this tutorial, I decided to go with the liquid two column layout from Floatutorial.  This is a nice, clean, simple layout that is really easy to build on top of. 

    This particular entry is going to be a bit longer than previous articles.  The reason for this is that we’re doing the real work of getting recurring elements into Embeds and User Defined Global Variables.  This will let us quickly churn out the templates we need for use throughout the Bug Tracker.

    Shall we begin?

    Onwards!

  • #2 / Feb 29, 2008 8:55pm

    Crssp-ee

    572 posts

    Nice choice of a very simple clean 2-column layout.
    Not the exact 2-column layout I’m used to using, but should be just great to build on.
    Attaching a reset stylesheet isn’t a bad idea, there are plenty of flavors of those out there.
    thanks.

  • #3 / Feb 29, 2008 8:59pm

    Lisa Wess

    20502 posts

    That’s a great suggestion, tzMedia - and would be great for people that want to build off of this.  For the purposes of this tutorial, though, the reason this template is great is it really lets us focus on the ExpressionEngine parts.  You are welcome to customize and “fancy it up” to your liking. =)

  • #4 / Mar 01, 2008 5:03am

    stinhambo

    1268 posts

    Is there a reason you don’t include <body> in the head section?

    You can always pass another variable here in case you want to attach an id for styling purposes.

  • #5 / Mar 01, 2008 1:51pm

    Lisa Wess

    20502 posts

    stinhambo, I’m mostly including a whole lot of varying methods to make sure that they’re highlighted in the series, so that people going through the series know they exist and how to use them.  The choices I make may not be ideal for everyone, or what you would choose.  Everyone should feel free to vary things around if they want to. =)  There was no particular reason for not including the body, I was simply moving “logical” groupings into their own areas.

  • #6 / Mar 03, 2008 4:30pm

    Crssp-ee

    572 posts

    I missed something there was the html_begin variable, and then in the template there is {doctype}, did I miss where doctype got defined from the html_begin?

  • #7 / Mar 03, 2008 4:31pm

    Lisa Wess

    20502 posts

    No, that should be {html_begin}, I made it more generic and missed updating it. *sighs*  Updating it now, thank you. =)

  • #8 / Mar 03, 2008 4:33pm

    Crssp-ee

    572 posts

    Cool I qwas with it all the way, and actually had the correct code in there and removed it.
    Ahhh a baby “light bulb moment” lol, maybe I prefer doctype then, since I’ld like to move on to a Strict doctype later on.
    Good to go here then.

  • #9 / Mar 03, 2008 4:40pm

    Crssp-ee

    572 posts

    My includes are not showing, could it be that using the .incName does not work on a windows host(best guess blame windows iis hosting)?

    Oops the blame game got me, I remembered I went with bt_inc instead of just inc, that should do it.

    My stylesheet is maybe the only thing not being found now?
    http://crssp.com/EE/index.php?/bt_inc/index/
    Something’s muddled.

  • #10 / Mar 03, 2008 4:56pm

    Lisa Wess

    20502 posts

    It should work, the operating system should not effect how the templates work.

    If you visit your stylesheet directly, you’re getting an error.  I’d recommend starting a new thread in Technical Support about this one.

    http://crssp.com/EE/index.php?css=bug_tracker/bug_tracker_css

  • #11 / Mar 03, 2008 4:58pm

    Crssp-ee

    572 posts

    Yes but is:http://crssp.com/EE/index.php?css=bug_tracker/bug_tracker_css
    the same thing as http://crssp.com/EE/index.php?css=bug_tracker/bug_tracker_stylesheet ?
    Also probably my index page should of been in a different template group then the inc group, maybe bug_tracker or something?

  • #12 / Mar 03, 2008 5:01pm

    Lisa Wess

    20502 posts

    Yes, the main index should be in bug_tracker, not in inc.  The inc index template won’t be used.

    [edit] Updated the tutorial.  I thought I had found all those inconsistencies, sorry about that. The stylesheet should be bug_tracker_css.

  • #13 / Mar 03, 2008 5:42pm

    Crssp-ee

    572 posts

    Wow I was worried, maybe I’m good now with this:
    http://crssp.com/EE/index.php?/bug_tracker/index/

    I added to the .head:
    <meta http-equiv=“Content-Type” content=“text/html; charset=utf-8” />
    And got the green light from the validator anyways.
    Looks ok to me, have to wait and see how the next lesson works out.

    This error pops up once in awhile, it’s a php/iis thing, my obscure host is promising to fix soon.
    Error in my_thread_global_end(): 1 threads didn’t exit
    when I don’t get that everything’s fine.
    thanks guess that makes me current on this little project, on w/ the show.

  • #14 / Mar 09, 2008 8:36am

    DeadFire

    1 posts

    “New Template Form
    Template Name
    The name must be a single word with no spaces
    (underscores and dashes are allowed)”

    In the name cannot a little?
    How do you achieve?

    .head
    .banner
    .leftnav
    .footer

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases