Hi afrika,
1. Each category has a category id, please open the category folder, find this file "category.config". You will find the setting below. You set CategoryID to "1", then please ensure that you have a category id is 1.
<category id="1" title="2" description="" properties="" />
2. If you do not want to show any comments, please set AllowShowComment="false", try the example below.
- <%@ Page Language="c#" AutoEventWireup="false" %>
-
- <%@ Register TagPrefix="DotNetGallery" Namespace="DotNetGallery" Assembly="DotNetGallery" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>example</title>
- </head>
- <body>
- <form id="form1" runat="server">
- <DotNetGallery:GalleryBrowser runat="server" ID="GalleryBrowser1" Width="720" Height="400"
- Layout="Classic" Theme="element" AllowShowComment="false" />
- </form>
- </body>
- </html>
Regards,
Ken