示例#1
0
        public void ExecuteOnInstallation(XmlDocument doc, string tempFolderPath)
        {
            ModuleSinglePageInfo        mpi = new ModuleSinglePageInfo();
            List <ModuleSinglePageInfo> multiplePageInfo = new List <ModuleSinglePageInfo>();

            mpi.FolderName   = "AspxCommerce/AspxSpecialsItems";
            mpi.FriendlyName = "AspxSpecialItemsDetail";
            mpi.PageName     = "SpecialDetail";
            mpi.PageTitle    = "SpecialDetail";
            mpi.Description  = "Display All Special Items";
            PageControlInfo        pci     = new PageControlInfo();
            List <PageControlInfo> pciList = new List <PageControlInfo>();

            pci.ControlSource = "Modules/AspxCommerce/AspxSpecialsItems/SpecialItemsViewAll.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.50.00";
            mpi.SupportPartialRendering = false;

            multiplePageInfo.Add(mpi);


            mpi               = new ModuleSinglePageInfo();
            mpi.FolderName    = "AspxCommerce/AspxSpecialsItems";
            mpi.FriendlyName  = "SpecialItemsRssFeed";
            mpi.PageName      = "SpecialRss";
            mpi.PageTitle     = "SpecialRss";
            mpi.Description   = "Heavy Discount Rss Feed View";
            pci               = new PageControlInfo();
            pciList           = new List <PageControlInfo>();
            pci.ControlSource = "Modules/AspxCommerce/AspxSpecialsItems/SpecialItemsRss.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.50.00";
            mpi.SupportPartialRendering = false;

            multiplePageInfo.Add(mpi);
            CreateModulePackage cmp = new CreateModulePackage();

            cmp.CreateMultiplePagesModulePackage(multiplePageInfo);// for multiple page
        }
示例#2
0
        public void ExecuteOnInstallation(XmlDocument doc, string tempFolderPath)
        {
            ModuleSinglePageInfo mpi = new ModuleSinglePageInfo();

            List <ModuleSinglePageInfo> multiplePageInfo = new List <ModuleSinglePageInfo>();

            mpi.FolderName   = "AspxCommerce/AspxBrandView";
            mpi.FriendlyName = "AspxBrandViewAll";
            mpi.PageName     = "Brands";
            mpi.PageTitle    = "Brands";
            mpi.Description  = "Display All Brand Page";
            List <PageControlInfo> pciList = new List <PageControlInfo>();
            PageControlInfo        pci     = new PageControlInfo();

            pci.ControlSource = "Modules/AspxCommerce/AspxBrandView/BrandView.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;
            multiplePageInfo.Add(mpi);


            mpi               = new ModuleSinglePageInfo();
            mpi.FolderName    = "AspxCommerce/AspxBrandView";
            mpi.FriendlyName  = "AspxBrandRssView";
            mpi.PageName      = "Brand Rss";
            mpi.PageTitle     = "Brand Rss";
            mpi.Description   = "Brand Rss View";
            pciList           = new List <PageControlInfo>();
            pci               = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxBrandView/BrandRss.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;

            multiplePageInfo.Add(mpi);
            CreateModulePackage cmp = new CreateModulePackage();

            cmp.CreateMultiplePagesModulePackage(multiplePageInfo);
        }
示例#3
0
        public void ExecuteOnInstallation(XmlDocument doc, string tempFolderPath)
        {
            ModuleSinglePageInfo mpi = new ModuleSinglePageInfo();

            List <ModuleSinglePageInfo> multiplePageInfo = new List <ModuleSinglePageInfo>();

            mpi.FolderName   = "AspxCommerce/AspxServiceItems";
            mpi.FriendlyName = "AspxServiceViewAll";
            mpi.PageName     = "Services";
            mpi.PageTitle    = "Services";
            mpi.Description  = "View All Services";
            List <PageControlInfo> pciList = new List <PageControlInfo>();
            PageControlInfo        pci     = new PageControlInfo();

            pci.ControlSource = "Modules/AspxCommerce/AspxServiceItems/ServicesAll.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;

            multiplePageInfo.Add(mpi);

            mpi               = new ModuleSinglePageInfo();
            mpi.FolderName    = "AspxCommerce/AspxServiceItems";
            mpi.FriendlyName  = "AspxServiceItemDetails";
            mpi.PageName      = "Service Item Details";
            mpi.PageTitle     = "Service Item Details";
            mpi.Description   = "Display Service Item Details";
            pciList           = new List <PageControlInfo>();
            pci               = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxServiceItems/ServiceItemDetails.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;
            multiplePageInfo.Add(mpi);

            mpi               = new ModuleSinglePageInfo();
            mpi.FolderName    = "AspxCommerce/AspxServiceItems";
            mpi.FriendlyName  = "AspxBookAnAppointment";
            mpi.PageName      = "Book An Appointment";
            mpi.PageTitle     = "Book An Appointment";
            mpi.Description   = "Book An Appointment";
            pciList           = new List <PageControlInfo>();
            pci               = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxServiceItems/BookAppointment.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;
            multiplePageInfo.Add(mpi);

            mpi               = new ModuleSinglePageInfo();
            mpi.FolderName    = "AspxCommerce/AspxServiceItems";
            mpi.FriendlyName  = "AspxAppointmentSuccess";
            mpi.PageName      = "Appointment Success";
            mpi.PageTitle     = "Appointment Success";
            mpi.Description   = "Appointment Success";
            pciList           = new List <PageControlInfo>();
            pci               = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxServiceItems/AppointmentSuccess.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;
            multiplePageInfo.Add(mpi);

            mpi               = new ModuleSinglePageInfo();
            mpi.FolderName    = "AspxCommerce/AspxServiceItems";
            mpi.FriendlyName  = "AspxServiceItemRss";
            mpi.PageName      = "Service Rss";
            mpi.PageTitle     = "Service Rss";
            mpi.Description   = "Service Rss";
            pciList           = new List <PageControlInfo>();
            pci               = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxServiceItems/ServiceItemRss.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;
            multiplePageInfo.Add(mpi);

            mpi               = new ModuleSinglePageInfo();
            mpi.FolderName    = "AspxCommerce/AspxServiceItems";
            mpi.FriendlyName  = "AspxServiceDetails";
            mpi.PageName      = "Services Detail";
            mpi.PageTitle     = "Service Details";
            mpi.Description   = "Service Details";
            pciList           = new List <PageControlInfo>();
            pci               = new PageControlInfo();
            pci.ControlSource = "Modules/AspxCommerce/AspxServiceItems/ServicesDetails.ascx";
            pci.ControlType   = "View";
            pciList.Add(pci);
            mpi.PageControls            = pciList;
            mpi.HelpURL                 = "http://www.aspxcommerce.com/default.aspx";
            mpi.Version                 = "02.05.00";
            mpi.SupportPartialRendering = false;
            multiplePageInfo.Add(mpi);
            CreateModulePackage cmp = new CreateModulePackage();

            cmp.CreateMultiplePagesModulePackage(multiplePageInfo);// for multiple page
        }