Using Blueprint CSS with Zend

January 14th, 2009

This video looks at the HeadLink view helper and how blueprint can easily be integrated into an existing zend_layout. 

13 Responses to “Using Blueprint CSS with Zend”

  1. Todd says:

    Thank you for these podcasts, they have helped me tremendously.
    Are you going to get the Model part any time soon.
    every other tutorial I have looked at is completley different from each other and I am having trouble trying to figure out what is the best way.

    again thanx

  2. Joe says:

    Thank you very much for the video tutorials. It has really helped by giving me a very good kick start with Zend Framework.

    But i have a little problem that i need urgent help solving.

    If i access my zend application by going to http://localhost/zendapplicationfolder/contact it displays correctly with css applying correctly but if i access the zend application by going to http://localhost/zendapplicationfolder/contact/ , the page displays but css is not applied, but if i view the source, the css link is embedded normally between the head tags.

    pls i need urgent help with this.

    thanks.

  3. Udo says:

    Really great webcasts. Nice work!

    Noted one thing in this webcast. You could also do this if you have multiple stylesheets to append:

    headLink()->appendStylesheet(‘/css/screen.css’, ’screen, projection’)
    ->appendStylesheet(‘/css/print.css’, ‘print’)
    ->appendStylesheet(‘/css/main.css’);
    echo $this->headLink();
    ?>

    Udo

  4. Udo says:

    Seeing that you like CSS frameworks, you should also take a look at YAML (http://www.yaml.de/en/home.html)

    Don’t miss the YAML builder (http://builder.yaml.de/) and the YAML debugger (http://debug.yaml.de/).
    Note: you have to click the bookmark link for the debugger. After that, the debugger works on every website…

  5. You can also declare the css in the bootstrap class (in > ZF 1.8)exactly as Udo said. but thanks for this! i was going mad trying to figure it out.

  6. Rich says:

    What can I say, I have tried everyones different approach to zend. But after failing I decided to start watching all your videos.

    You guys rock! :D

    Already I have a grasp of how Zend works and how to use it. Many tutorials regarding zend are a nightmare and dont get down and dirty like these vids!

  7. Matt says:

    I know this zendcast is a bit over a year old but I think blueprint may have changed a bit. I haven’t found exactly what has changed but the push-1 class seems to throw off the content (nav ends up on the right) with 0.9.1

  8. Matt says:

    One more note for anyone following along. headlink should be headLink with a cap. ‘L’

    I think they made a change in ZF since this was made.

  9. miholeus says:

    Jon,

    Thanks for webcasts. I started learning ZF. Your videos are really helpful!

  10. Jonathan says:

    Framework version 1.10.2

    One note: for the conditional headLink you must use a string and not a boolean.

  11. Andrew says:

    |January 27, 2010 at 7:26 pm
    |
    |I know this zendcast is a bit over a year old
    |but I think blueprint may have changed a bit.
    |I haven’t found exactly what has changed but
    |the push-1 class seems to throw off the
    |content (nav ends up on the right) with 0.9.1

    I found how to fix it.
    use

    instead of

  12. Andrew says:

    arrgh.. html filter
    use
    div class=”span-4″
    div class=”push-1 navigation”
    /div
    /div

    instead of
    div class=”push-1 span-4 navigation”
    /div

Leave a Reply

Desktop RSS feed iPhone + iPod