Modify default buttons

  •  02-04-2009, 7:28 AM

    Modify default buttons

    I am running the VB editor, parsing file locations using requested variables.
     
    Public ReadOnly Property var1() As String
    Get
    Return Request.QueryString("var1").ToString()
    End Get
    End Property
    Public ReadOnly Property var2() As String
    Get
    Return Request.QueryString("var2").ToString()
    End Get
    End Property
    Public ReadOnly Property var3() As String
    Get
    Return Request.QueryString("var3").ToString()
    End Get
    End Property
    Public ReadOnly Property var4() As String
    Get
    Return Request.QueryString("var4").ToString()
    End Get
    End Property
     
    Editor1.Setting("security:ImageGalleryPath") = var1
    Editor1.Setting("security:FlashGalleryPath") = var2
    Editor1.Setting("security:MediaGalleryPath") = var3
    Editor1.Setting("security:FilesGalleryPath") = var4
     
     <security name="TemplateGalleryPath">d:\html template</security>
     
    My question is:
    Can you add a seond "Template" button by modifying the default config files?
    I am already using the default "TemplateGalleryPath" and reuire a second path defined by a variable.
     
View Complete Thread