Skip to content

Extensions should have "default" values in the installer #16

@cybersonic

Description

@cybersonic

The config.xml defines the steps, but if you want to set up default values, they need to be defined in the Install.cfc.

This should be as seamless as possible for the user, so it should be in the installation steps screen but the defaults setup at the top of the installer.cfc as follows:

 <!--- Download --->
        <cfif this.type EQ "download">
            <cfset group.setLabel("Download video components by an URL")>
            <cfset item=group.createItem('text', 'host','http://extbuilder.local', false, 'Provider URL', 
                        'URL of a provider offering the necessary (FFMpeg binaries) components.')>
        <!--- Upoad --->
        <cfelse>
            <cfset group.setLabel("Video components by upload")>
            <cfset item=group.createItem('file', 'zip','', false, 'Zip file', 
                        'Zip file that contain the necessary (FFMpeg binaries) components.')>
        </cfif>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions