Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ul lists #128

Closed
nkhine opened this Issue Jan 22, 2013 · 2 comments

Comments

Projects
None yet
2 participants

nkhine commented Jan 22, 2013

Hi again,

I have this code http://blade.eu01.aws.af.cm/js/network.js that builds a links menu into this blade file

footer
    ul#footer.fullwidth.footer-i18n
        li#footer_home
            a(href="/")
                img(src="/images/phx-logo-30x34.png" alt="Home")

        li
            a.dropup(href="#" data-i18n="footer.network")
                #tzm-network-popup.footer_dropup.drop12columns
                    .col_8
                        h5(data-i18n="footer.chapters")
                    .col_4
                        h5(data-i18n="footer.official_sites.official_sites")
                    .clear
                    .col_2
                        ul.chapters-col-0
                    .col_2
                        ul.chapters-col-1
                    .col_2
                        ul.chapters-col-2
                    .col_2
                        ul.chapters-col-3
                    .col_4
                        p.note
                            a(href="http://www.thezeitgeistmovement.com/" data-i18n="footer.official_sites.tzm_global" target="_blank")
                        p.note
                            a(href="http://zeitgeistmediaproject.com/" data-i18n="footer.official_sites.zeitgeist_media_project" target="_blank")
                        p.note
                            a(href="http://www.blogtalkradio.com/zmglobal" data-i18n="footer.official_sites.tzm_global_radio" target="_blank")
                        p.note
                            a(href="http://www.zeitnews.org/" data-i18n="footer.official_sites.zeitnews" target="_blank")
                        p.note
                            a(href="http://blog.thezeitgeistmovement.com/" data-i18n="footer.official_sites.blog" target="_blank")
                        p.note
                            a(href="http://www.zbnlive.com/" data-i18n="footer.official_sites.zeitgeist_brodcasting_network" target="_blank")
                        p.note
                            a(href="http://www.blogtalkradio.com/v-radio" data-i18n="footer.official_sites.v_radio" target="_blank")
                    .clear
    // Trigger Button
    a#footer_trigger.trigger_active(href="#")

normally ul.chapters-col-x should get populated with the

  • block from the arrHtml https://github.com/TZM/chapters-dev/blob/master/js/network.js#L42

    but when i ported this section of code to blade https://github.com/TZM/chapters-dev/blob/master/index.html#L122 it did not work! i am trying to get it like on http://chapter.zmgc.net/

    is there a way to build this directly so that the app calls the $.ajax within the footer.blade template rather then pulling the data through network.js and then writing the loop?

    any advise and suggestions much appreciated.

  • Owner

    bminer commented Jan 23, 2013

    @nkhine - Let's take this conversation offline. The Github issue tracker is designed to report bugs and feature requests for Blade. Please feel free to email me at miner [dot] blake [at] gmail [dot] com. Thanks!

    To address your question... I honestly am a bit lost. I understand that you are trying to port code from plain-old HTML to Blade. What, exactly, in your Blade template is causing a problem? What is the output Blade is generating that is different from your original HTML?

    Closing this issue. Again, I'd suggest that we have this conversation via email, rather than going through Github.

    @bminer bminer closed this Jan 23, 2013

    @ghost ghost assigned bminer Jan 23, 2013

    nkhine commented Jan 24, 2013

    if you have time, please reply to my email or let me know as i am stuck on this, thanks!

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment