Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • bigboy 16 posts 36 karma points
    Oct 14, 2011 @ 20:40
    bigboy
    0

    can I use contentplaceholder in Content pages?

    hi,

    I have a page with 3 child pages

    i.e. 

    products 

    -catagory1

    -catagory2

    -catagory3

    Each of them links to a seperate page. All the four pages are based on the same template which includes a sitemap of the products node and javascripts i needed to implement a image gallery. 

    I created a gallery macro which generates a complete image gallery based on the image folder you makes it pointing to. I would like each of the four pages to have its own gallery pointing to a specific folder. 

    Therefore, i went on and create a contentplaceholder in the tamplate. Now, in the Content, i can insert the gallery macro, however, i cannot destinate it to the contentplaceholder i created. 

    Is it possible to implement contentplaceholder in Content 

     

    PS: I think instead of using one template, i can create 3 different templates for each child pages and use gallery macro in the templates right way so that the contentplacehodler should work just fine. 

  • bigboy 16 posts 36 karma points
    Oct 14, 2011 @ 21:23
    bigboy
    0

    nvm. figure it out. 

    insteading of using contentplaceholder, use something like in the template

    <umbraco:Item ID="galleryfolder" runat="server" field="bodyText" />

    now, in the content, simply insert the macro

Please Sign in or register to post replies

Write your reply to:

Draft