Topics
You create topics in the admin section by going to the Manage Content -> Topics section (in versions >= 8.0.0.0) and by going to Misc -> Topics (in versions < 8.0.0.0). You can then do one of several things with the topic. You can - Access the topic page directly at t-your_topic_name.aspx
- Emped the topic in an .aspx page using
Code:
<aspdnsf:Topic runat="server" ID="someIDhere" TopicName="your_topic_name"/>
- Access the contents of the topic in a code-behind page (.aspx.cs or .aspx.vb) or from a class by invoking a new instance of the Topic class with using the topic name or ID
Code:
Topic t = new Topic(14);
String topicContents = t.Contents();
or
Code:
Topic t = new Topic("your_topic_name");
String topicContents = t.Contents();
- Embed the topic in an xmlpackage using
Code:
<xsl:value-of select="aspdnsf:Topic('your_topic_name')" disable-output-escaping="yes" />
<a href="http://www.aspdotnetstorefront.com">Shopping Cart Software</a>