Forums

[Plugin: AmazonSimpleAdmin] Add to sidebar text widget (3 posts)

  1. dnorth
    Member
    Posted 10 months ago #

    When I add the code to post an amazon ad or collection of ads in a text sidebar widget it just shows as text and doesnot get processed. Is there a way to get it to prcess like it does in a post?

  2. CarolineBogart
    Member
    Posted 10 months ago #

    First get Exec-php plugin. This will allow you to run php from the sidebar without any special widgets.

    Use the text widget. Add the code inside

    <?php your ASA code; ?>

    such as:

    <?php asa_collection ('mybooks');?>

    a http://www.bogartcomputing.com/web-programming-answers/

  3. electric_angel
    Member
    Posted 8 months ago #

    i'm struggling to get any templates to work other than collection_sidebar_default

    i've used the following code:

    <?php asa_collection ('mybooks', 'my_template');?>

    obviously with the name of my template in place of my_template, but no joy. if i remove the file collection_sidebar_default.htm from the server nothing shows at all.

    any ideas?

Reply

You must log in to post.

About this Topic