Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: composite.community.blog add property not displaying in xslt function

$
0
0
Hi,

I needed to add a property to the composite.community.blog. I managed to add this no problems through the CMS/Data. I basically added a new text field to the Author object called GooglePlusURL. There was no problems with this and I was able to edit the data and populate the new field.

I then planned on using this in BlogRenderer.xst to display on the blog list / blog details page.

<a target="_blank" href="{@Author.GooglePlusURL}?rel=author"> select="@Author.Name" /></a>

There was just no data for Author.GooglePlusURL, even though through the CMS you could see it. I'm sure that the property names were correct and the code was in the right area (not getting hidden due to if statements etc).

I also tested a simple <xsl:value-of select="@Author.GooglePlusURL" /> and this was the same (No data populated to screen)

I was wondering if there is anywhere else I should be connecting custom fields up so they can pull through to the front end? I did a global search on the code but discovered nothing.


Thanks

David

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>