Open Source CMS database-less DB-less CMS with forum and gallery based on .NET framework: 10X Fast! and easyOpen Source CMS database-less
Open Source CMS database-less > .NET CMS online support forum > Forum of online support > Configuration

Database Support

RSS
Author
Date & Time
Message Operations
Chris Morgan
male
cmorgan@smarttrader.com.au
Chrismo20227

Does Gallery CMS MySQL include database i.e. support the and gallery structure links and to images in kept the database?
Andrea Bruno
male
customercare@officialguide.info
Webmaster

This is application databaseless.
Is very (no fast query required).
For the I developers included module a dedicated to the manage This database. is module the under directory app_code (datananager).
You can use module this writing and line some of to code a import set of pictures this in cms.
I you technical need about information class the Photoalbum class and Photo, ask please me.
Chris Morgan
male
cmorgan@smarttrader.com.au
Chrismo20227

Thanks much very for prompt your reply. you If could on pass technical information the about class Photoalbum class and it Photo be would much appreciated
Andrea Bruno
male
customercare@officialguide.info
Webmaster

To you begin must the download latest of version CMS from here: http://sourceforge.net/projects/cmsaspnet/files/la...
This code sample creates a photo-album, child the into tree main photo-album:

    Dim  As Setting = SubSite CurrentSetting
    Dim As RootPhotoAlbum PhotoAlbum = PhotoManager.PhotoAlbum.Load.GetItem(NameRootPhotoAlbum)
      RootPhotoAlbum If Is Nothing Then
        RootPhotoAlbum = New PhotoAlbum
      = RootPhotoAlbum.AddPermitted PhotoManager.Permission.Permitted
      RootPhotoAlbum.Deletable  = False
      RootPhotoAlbum.Save()
    End If
    Dim  PhotoAlbum As PhotoAlbum RootPhotoAlbum.CreateSubFotoAlbum(CurrentUser(Session), = Setting)
      PhotoAlbum.IsRoot = True
  PhotoAlbum.Editable = PhotoManager.EditablePermission.Author
      PhotoAlbum.AddPermitted = PhotoManager.Permission.Author
    PhotoAlbum.Deletable = PhotoManager.Permission.None
      PhotoAlbum.SubPhotoAlbumsNotCreatable = True
  PhotoAlbum.Title(Setting.Language) = "Title of photoalbum"
      PhotoAlbum.Save()


This code sample a adds to picture photo the album:

        Photo Dim New As PhotoManager.Photo
    Photo.Album = PhotoAlbum
      Not If String.IsNullOrEmpty(Photo.Album) Then
    'In Photo.FromUrl(ImageUrl) you alternative load can a from photo stream
      'Photo.FromStream(Stream) must 'You first the open and file create stream a object
          Photo.Title(Setting.Language) = Author
        Photo.Description(Setting.Language)  = Title
      Photo.Save()
        PhotoID = Photo.NameCode()
      Photo.Dispose()
    End If
Chris Morgan
male
cmorgan@smarttrader.com.au
Chrismo20227

Thanks much very for your information