Customizing cutesoft gallery does not work

Last post 05-31-2012, 11:35 AM by Kenneth. 5 replies.
Sort Posts: Previous Next
  •  05-30-2012, 5:10 AM 73788

    Customizing cutesoft gallery does not work

    hello guys,
    I just installed and got cutesoft gallery up and running.
     
    However the name of the file appears of the bottom.
     

    <

    dotnetgallery:gallerybrowser AllowPostComment="false" AllowShowComment="false" runat="server" GalleryFolder="~/images/fashion" id="GalleryBrowser2" Width="780" Height="400" />

     
    And I tried to
    1. Disallow comments and showing of comments as seen above, but it still shows comments.
     
    2. I want to add custom text below every picture.
     
    3. I want to randomize mutliple pictures from folders to appear in the home page, is this possible
     
    4. I want the category ( or folder name ) of the root gallery to appear below.
     
    How can I achieve this
     
    many thanks
    Ehi
  •  05-30-2012, 7:16 AM 73789 in reply to 73788

    Re: Customizing cutesoft gallery does not work

    hi afrika,
     
    1. Disallow comments and showing of comments as seen above, but it still shows comments.
     
     If you want to shows the comments but do not allow to add new comments. Please use the settings below
     
    <DotNetGallery:GalleryBrowser runat="server" ID="GalleryBrowser1" Width="780" Height="400"
                        AllowPostComment="false" AllowShowComment="true" />
      
    2. I want to add custom text below every picture.
     
    Which layout you are using? Classic/Explorer/GridShow/Modern/ProminentSlideShow?
     
    3. I want to randomize mutliple pictures from folders to appear in the home page, is this possible
     
    Does not support this feature for now. 
     
    4. I want the category ( or folder name ) of the root gallery to appear below.
     
    If you want to shows the special category of the album, please set property "CategoryID". This property will only shows the category what you set for.
     
    GalleryBrowser1.CategoryID = "1"; 
     
    Regards,
     
    Ken 
  •  05-30-2012, 9:25 AM 73790 in reply to 73789

    Re: Customizing cutesoft gallery does not work

    thakns for your reply
     
    1. I want to disallow comment and NOT show any comments. However with the above custom configuration above, it still shows and allows comments.
     
    2. Am using element theme
     
    3. ok
     
    4.  Where do I put that GalleryBrowser1.CategoryID = "1";   ??? In the property of the glarrerybrowser ???
     
    many many thanks
    Ehi
  •  05-30-2012, 10:08 AM 73791 in reply to 73790

    Re: Customizing cutesoft gallery does not work

    by the way, layout is classic.
     
    tnx
  •  05-30-2012, 5:00 PM 73794 in reply to 73791

    Re: Customizing cutesoft gallery does not work

    If I add this to the onload page, the image gallery does not display anything
     
    protected override void OnInit(EventArgs e)
    {
     base.OnInit(e);
     
     GalleryBrowser2.Theme="Element";
        GalleryBrowser2.CategoryID = "1";
     
    // if(Context.User.Identity.Name=="Admin")
    // {
      GalleryBrowser2.AllowEdit=true;
      GalleryBrowser2.AllowPostComment=true;
      GalleryBrowser2.AllowShowComment=true;
    // }
    }
  •  05-31-2012, 11:35 AM 73802 in reply to 73794

    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 as RSS news feed in XML