Can you add a implementation of @RenderParagraphContent which is language aware?
I'd like to get rid of hardcoded paragraphids which need to be changed when switching to a different language layer.
Can you add a implementation of @RenderParagraphContent which is language aware?
I'd like to get rid of hardcoded paragraphids which need to be changed when switching to a different language layer.
We will not add this.
You can use a website property item (see http://manual.dynamicweb-cms.com/Default.aspx?ID=7558) with a Link field for picking the id of the paragraph you want to show using @RenderParagraphContent().
Rather than using @RenderParagraphContent you should consider using items and publish them using @RenderItem or @RenderItemList (see http://developer.dynamicweb.com/releases/dynamicweb-8-4-1.aspx#item14614 and http://templates.dynamicweb.com/TemplateTags/Dynamicweb-template-tags/Module-tags/Item-publisher/Item-Render.aspx). Or if the content is to be used site-wide you can add it to a website property item and use it directly in your template.
Best regards,
Mikkel