mautic landing page setup & case study
TRANSCRIPT
![Page 1: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/1.jpg)
Landing Page Setup & Case Study
Presented by Tim Plummer24/06/2015
![Page 2: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/2.jpg)
![Page 3: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/3.jpg)
Inserting YouTube
• Had some issues initially, but within a couple of days a fix was available (now included in current release so no need to apply manually)
• https://github.com/mautic/mautic/pull/443
![Page 4: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/4.jpg)
Form
![Page 5: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/5.jpg)
Assets
• Form triggers PDF download
![Page 6: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/6.jpg)
Issues with form
• Couldn’t insert $50 in text, had to use words fifty dollars
![Page 7: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/7.jpg)
SMTP configuration
![Page 8: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/8.jpg)
Landing Page
![Page 9: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/9.jpg)
Customising the themes
• Start by copying one of the existing themes• /themes/yourtheme• config.php – contains the theme name and
the module positions• For landing page, edit
/themes/yourtheme/html/base.html.php
https://www.mautic.org/docs/themes/theme_structure.html
![Page 10: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/10.jpg)
Update issues
![Page 11: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/11.jpg)
Troubleshooting
• Check log file /app/logs/mautic_prod.php
![Page 12: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/12.jpg)
Fixing update issues
• Log showed errorColumn not found: 1054 Unknown column 'm0_.form_type' in 'field list‘
https://www.mautic.org/community/index.php/476-is-there-a-way-to-force-database-schema-update/
There's a few commands available in the CLI which may help:• Runs the updater:
php app/console mautic:update:apply• Updates the database schema:
php app/console doctrine:schema:update --force
Still working on solving this
![Page 13: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/13.jpg)
Moving web host
• Exported MySQL database, imported into database on new host
• Zipped files, copied to new server, and extracted
![Page 14: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/14.jpg)
Moving web host
• Had to update database details /app/config/local.php
'db_name' => 'mydatabase','db_user' => 'mydatbaseusername','db_password' => 'mypassword','upload_dir' => '/home/myhostingaccount/public_html/app/../media/files',
• Also had to clear cache /public_html/app/cache/prod
![Page 15: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/15.jpg)
Still a work in progress
• Still working on a few minor issues like header image not mobile responsive
![Page 16: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/16.jpg)
Questions?
![Page 17: Mautic landing page setup & case study](https://reader031.vdocuments.mx/reader031/viewer/2022032503/55be0763bb61eb4e278b46f6/html5/thumbnails/17.jpg)
Tim Plummerwww.timplummer.com.au
@bfsurvey