Developer forum

Forum » Templates » ParagraphId from website item

ParagraphId from website item

Anders Ebdrup
Reply

Hi Dw,

 

How is the best way to reference to a paragraph id in the website settings, where the website settings is an item?

I would like to include a paragraph with this:

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

When using the new feature only to select a paragraph id or page id, then output for a paragraph id is: "Default.aspx?id=4#80" and not only the paragraph id. See also the attached screen dump.

 

Best regards, Anders

 

 

dw.png

Replies

 
Mikkel Ricky
Reply

This looks like a bug. The output should only be 80 and not Default.aspx?id=4#80.

Which version of Dynamicweb are you running?

 

 

 
Anders Ebdrup
Reply

 

Original message by Mikkel Ricky posted on 09/01/2014, 08:53:

This looks like a bug. The output should only be 80 and not Default.aspx?id=4#80.

Which version of Dynamicweb are you running?

 

 

Hi Mikkel,

 

We are running 8.3.1.9

 
Mikkel Ricky
Reply

I have now confirmed this bug. It works when using the item as a page, but not when using it as website settings. We'll fix this.

 

You must be logged in to post in the forum