Fork me on GitHub

Random Quotes block directly applied to page  Bottom

  • For reasons I don't even begin to want to have to explain, I need to add the Random Quotes block inside my home.htm page. Specifically, inside the same "cell" that I have created to call specific content content. Here is what I have:

    Code

    <div id="content2"><div class="feature clearfloat" id="lead"><!--[pnmodfunc modname="content" type="user" func="view" pid="10"]-->
    <br />
    <h5>What people are saying about NBE:</h5>
    <p><!--[$quote|pnmodcallhooks:"Quotes"|pnvarprephtmldisplay]--></p>
    -- <!--[$author|pnmodcallhooks:"Quotes"|pnvarprephtmldisplay]-->
    </div></div>


    Obviosly, this isn't working. It displays nothing but the afforementioned/called content content.

    Any suggestions?

    PS: I got the Quote code directly from the /modules/Quotes/pntemplates/quotes_block_quote.htm file.
  • This may help:

    http://leadershipnexus.com/index.php

    Bottom center of page in the "Evangelism" area...
  • videokid helped me:

    Code

    <div id="content2"><div class="feature clearfloat" id="lead"><!--[pnmodfunc modname="content" type="user" func="view" pid="10"]-->
    <br />
    <h4>What people are saying about the book Needs Based Evangelism:</h4>
    <br />
    <!--[pnblockshow module="quotes" blockname="quote" block="14"]-->

    </div></div>


    I just called the block, DUH!

This list is based on users active over the last 60 minutes.