I had created a custom page(test) in concrete5 through UI.
Dashboard->Sitemp->Addpage
I created a form in this page.After form submit I want to store those details in DB.I just want to where this page is saved in app folder structure.So that I can connet Db and save records.
The page is not saved anywhere in the folder structure. It is saved in the database.
If you are using any of the forms add'ons however they will save the data in the db and you'll have access to it from the dashboard report section.
If you really want to be able to control it yourself then you will need to create a single page through code, add the form to it and write the code to process the page.
The single page would be in the single_pages folder and its controller in the controllers folder
Replace "my_profile" with your php file name following the instructions below:
Sign in to the concrete5 dashboard, and go to Themes & Page Types > Single Pages. Find the "Add a Single Page" form at the bottom of the list, and enter "my_profile" at the bottom (or whatever the name of your single page.) Do not include ".php" in the field.
Per the instructions on Concrete5:
http://www.concrete5.org/documentation/developers/pages/single-pages
Related
I want to integrate external elaqua form(external form) in wordpress site.I have elaqua form source code.I want to integrate this elaqua contact form in wordpress.
How to integrate elaqua form in WordPress 4.7.7
Steps For To embed a form in a web page:
Navigate to Assets , then click Forms.
Open an existing form, or create a new one.
Click Actions , then select View Form HTML to open the Form Integration Details window.
Copy any styles in your form and paste them into the header of your external web page's code. Then copy the rest of the form after and paste it where you'd like the form to appear in the body of the external page.
Click the Integration Details tab, then copy the tracking scripts into the web page.
Required tracking script HTML for this form: Copy this script and paste it to the bottom of your form before the .
Required hidden tracking fields for this form: Copy these fields and paste them after the hidden fields at the top of your form body HTML.
Note: First party cookies must be enabled by a customer administrator.
You can check your form submission data by navigating to Actions >> Form Submission Data to ensure your form has been embedded properly.
I'm in the process of building a new website and I am making use of the Kentico new website wizard.
On step 5, you get to select a master page. Currently I see 2 default options.
How am I able to add my own custom master page that I created and saved in the CMSTemplates folder?
Any help would be great.
Thanks
After you created the template in CMSTemplates - I assume it is ASPX template, have you registered it in Kentico as master page template? If not, please see the documentation on creating ASPX templates.
It really does not matter. You can go with default blank master page or any other option and later on you can change it. After creating a site you will end with one root element in the tree and the master template assigned to it (the one you chose in the wizard). Now you can change your master template: go to page templates and create a new one, then go back to the root page and go to root page properties/template and assign the one you created.
This root master template is not some "read only? frozen forever" thing. You can change it to different one at any point at time.
P.S. If you want your template appear in the site wizard - just create it in advance, mark it as master template and it will appear.
There are two things required to do.
Put the newly created template in the "Templates" folder then run an insert statement in SQL to "register" the template so that it will show up when in Kentico when you want to create a new site from the internal web templates.
This is how I did it.
In order for the user to click to add a new website so that our new custom website template is displayed in the list of websites,we need to add this information to the CMS_WebTemplate database table so that Kentico can map or “register” the physical path to the custom website template.
The script is as follows:
INSERT INTO CMS_WebTemplate
SELECT 'New Site For Testing',
'~\App_Data\Templates\BlankNewSite',
'{$webtemplate.blanksite.description$}',
NEWID(),
GETDATE(),
'BlankNewSite',
10,--order of the website template so you need to look for the last digit and increment by 1
'F;B;N;X;V',
'a928c1d2-1bcd-459c-abcb-9f5a08978017', --default web thumbnail id for the blank site
The Blank New Site for testing provides a template for creating new websites from scratch, based on the portal engine.'
Now, the user will be able to create a new website using the new template that was placed in the C:\inetpub\wwwroot\Kentico10\CMS\App_Data\Templates directory which lives inside of the Kentico CMS web application
Steps:
1. Clone and rename existing website templates from C:\inetpub\wwwroot\Kentico10\CMS\App_Data\Templates
2. Run script in the database to map the website template and it’s physical path
3. Run wizard to create new website
I have a form created by gravity forms which will allow the user to enter the data and upload two files (form has two input file fields - gravity forms provided file upload field). Once the user submit the page, I will save the data in to custom table with file path as one of the column inside the table.
But once form reloads, it will show the same form with already entered data, but don't know how to show the file link inside the form.
What I am trying to do is, I have to show the link with remove button if file already uploaded or show the file upload field again to allow user to upload the file again.
Could somebody help me please?
I guess when you will store the entered data on the custom table, store the file names as well.
Then have another function to check if the file is in the specified directory (ex. uploads).
This is a lazy solution, so keep an eye on your thread for a better one.
I am not using gravity forms file upload field as even sent mail with priority support asking for is there any hook to know when user clicked "X" button of uploaded file(this will be shown once user clicks on submit button after uploading the file), but they replied, they don't support customization and pointed to 3rd party developers.
So what I did is, removed file upload field and used html field, which I am showing manual file upload (html input type file) field if no file uploaded or showing the file link with remove button. This remove button handled via javascript which will update some hidden field and after submit I know user removed the file or not.
TL;DR: Can I upload hundreds of files via WordPress (vanilla or with free/premium plugins) which will appear on my website as downloadable files, or would another CMS be better suited to this task?
More info: I'm building a site to replace an old WordPress MU site. My (non-technical) client needs to be able to create a single profile page for each of their employees. Each employee page must include some or all of:
A header image
A text intro
A photo gallery
A list of links
Multiple audio embeds
Multiple video embeds
A list of ~1000 downloadable files, mostly pdf/jpg, divided into subgroups
Ideally the last point would be achieved something like this:
Client adds a custom field and must name it
Client drags any number (realistically 1-100) of files onto the field, or uploads via "add files" function
Files are saved in the backend to a folder named after the custom field
File order is editable by client
The field is output to the HTML page like this:
<h1>Custom Field Name</h1>
<ul>
<li><a>file1.pdf</a></li>
<li><a>file2.jpg</a></li>
...~100
</ul>
Employee A is totally separate from Employee B, C, etc. All employees' pages will be managed by a single user. Their files should exist separately in the backend. The paths to their files will ideally include their name, but only the filename itself needs to be printed to the page. A file system like this would be perfect:
/EmployeeFirstName-EmployeeLastName/Media/YYYY/Filename.xxx
I believe WP's default media file save directories can be customised via plugins.
I'm trying to do this in WP because it's what I've used in the past and it's what my client is familiar with. A friend recommended the Advanced Custom Fields plugin for WP, which I am looking into. I'm an experienced designer but a beginner developer. I accept my naïveté and I'm keen to learn.
Possible structures:
A single WP install with a Page per employee
A Multisite WP install with a Site per employee
Other?
After much searching I'm beginning to think WP might not be a suitable platform for long and busy pages (~80 video embeds per page, added via ACF) with this type of file management requirement. The admin page for my test page is already very slow to update and I haven't even started the file list part.
Since the key feature of this page template will be the ability to list hundreds of downloadable files, it seems logical to me to pick a CMS based on that requirement, rather than pick a familiar CMS and try to force it to do what I want.
Thanks for reading!
I have used
Download Attachments plugin which provide facilities to upload attachment as post meta from admin panel and user can download it from front end. Try it might help you.
Im doing an asp.net project with dynamic data.
I've used a hyperlink to navigate to a new page which I have created, which isnt iside te dynamic data folder. This works fine, but to keep everything tidy i've tried to do the same by adding an aspx page inside the custom pages, so where inside Bill folder I have details, edit,insert,list I now have 'UpdateBillPrices'
Although when I navigate to this I am getting the 'page cant be found error'
is this because its running inside the dynamic data folders?
the path is not wrong btw ta
If you want to build a custom List Page for a DB table and POCO named Foo, then you would add a Page named List.aspx to the folder DynamicData/CustomPages/Foo/ .