Developer forum

Forum » Templates » Item.Area with Paragraph.Content tags

Item.Area with Paragraph.Content tags

Andrew Mannell
Reply

I need to make a Area specific paragraph content that can be edited by a normal content user. I have used translate codes before but wanted to use the great new Item.Area tags.

 

 <!--@Global:Paragraph.Content(<!--@Item.Area.OtherresourcesPage_ID-->)--> 

 

Unfortunately it does not render the Paragraph.Content tag

 

 

Resultis rendered like this:

<!--@Global:Paragraph.Content(6641)-->

 

Also tried adding it to the master file as snippet to see if it would render it first but this was not the case:

<!--@SnippetStart(otherresources)-->
<!--@Global:Paragraph.Content(<!--@Item.Area.OtherresourcesPage_ID-->)-->
<!--@SnippetEnd(otherresources)--> 

 

 

Could it be possible to have the Item.Area Tags rendered in the master before the snippets are placed in the page templates


Replies

 
Andrew Mannell
Reply

After trying several ways it renders the first one but not the rest?

     <!--@SnippetStart(websitelinks)-->
              <!--@Global:Paragraph.Content(<!--@Item.Area.TopTextGlobalWebsitesParagraph_ID-->)-->
                        <!--@If(Global:Area.ID==150 || Global:Area.ID==126 || Global:Area.ID==112 || Global:Area.ID==139 || Global:Area.ID==140 || Global:Area.ID==142 || Global:Area.ID==143 || Global:Area.ID==145 )-->
          <div id="globalwebsitelist" class="floatwrapper"><!--@Include(../globalwebsiteslinkdisclaimer.html)--></div>
            <!--@Else-->
          <div id="globalwebsitelist" class="floatwrapper"><!--@Include(../globalwebsiteslinks.html)--></div>
            <!--@EndIf-->
                        <!--@Global:Paragraph.Content(<!--@Item.Area.LocationsLinkGlobalParagraph_ID-->)-->
    <!--@SnippetEnd(websitelinks)-->   
    <!--@SnippetStart(footertext)-->
    &copy; <!--@DwDate.Year--> <!--@Item.Area.FooterCopyrightText-->
    <!--@SnippetEnd(footertext)-->
<!--@SnippetStart(Searchbox)-->
<div id="search" class="floatwrapper">
 <!--@Global:Paragraph.Content(<!--@Item.Area.SearchModuleParagraphID-->)-->
</div>
<!--@SnippetEnd(Searchbox)-->
<!--@SnippetStart(otherresources)-->
<!--@Global:Paragraph.Content(<!--@Item.Area.OtherresourcesPage_ID-->)-->
<!--@SnippetEnd(otherresources)-->
   

 

 
Andrew Mannell
Reply

I have seen that the pages holding paragraphs where set with "hide in menu" this seemed to cause most of the issues but will inverstigate further.

 

You must be logged in to post in the forum