Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

ul lists #128

Closed
nkhine opened this Issue · 2 comments

2 participants

@nkhine

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.

  • @bminer
    Owner

    @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
    @bminer bminer was assigned
    @nkhine

    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
    Something went wrong with that request. Please try again.