Closed nikosdion closed 3 years ago
Template name: 'overlay' Width: 1200 Height: 640 Text color: #ffffff Textbox width: 500 Textbox height: 270 Position from y center: yes Y adjustment: -55 Position from x center: yes X adjustment: 0 Extra image: Yes, background, full cover
Template name: 'solid' Width: 1200 Height: 640 Text color: #ffffff Textbox width: 600 Textbox height: 280 Position from y center: yes Y adjustment: 0 Position from x center: yes X adjustment: 0 Extra image: No
Font selection and size doesn't really matter. Maybe 48 pt font, Open sans bold?
One more, which shows how you can get creative:
Template name: 'cutout' Width: 1200 Height: 640 Text color: #ffffff Textbox width: 430 Textbox height: 415 Position from y center: yes Y adjustment: -20 Position from x center: No X adjustment: 165 Extra image: Yes, background Extra image width: 420 Extra image height: 420 Img y position: 90 Img x position: 660
Joomla does not allow realistically shipping defaults for repeatable fields. However, that's not a big issue — just a nuisance.
We need to create two default templates:
Once we set them up manually we can take the generated JSON from the database and apply it with our post-installation's script on fresh installations (and only then; we don't want to overwrite people's templates!).
This consistency will allow us to easily document the plugin. Assigning to @crystalenka for the image assets and templates setup. When done please assign to @nikosdion for the implementation of the post-installation script.