Re: Customizing cutesoft gallery does not work

  •  05-31-2012, 11:35 AM

    Re: Customizing cutesoft gallery does not work

    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.
     
    1. <%@ Page Language="c#" AutoEventWireup="false" %>  
    2.   
    3. <%@ Register TagPrefix="DotNetGallery" Namespace="DotNetGallery" Assembly="DotNetGallery" %>  
    4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">  
    5. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">  
    6. <head>  
    7.     <title>example</title>  
    8. </head>  
    9. <body>  
    10.     <form id="form1" runat="server">  
    11.         <DotNetGallery:GalleryBrowser runat="server" ID="GalleryBrowser1" Width="720" Height="400"  
    12.             Layout="Classic" Theme="element" AllowShowComment="false" />  
    13.     </form>  
    14. </body>  
    15. </html>  
     
    Regards,
     
    Ken 
View Complete Thread