In easyblog, when you create custom templates, the preview for it is blank.
So I wanted to add previews for my custom templates.
I could not find a way to do this in the interface, so here a tip on how to do that.
1. Create your post template preview (I've attached some I created myself)
2. Go to the database table xxx_easyblog_post_templates
3. Edit the lineitem for the new template, or create a sql update query
4. In the column "screenshot" add the path to the image. (e.g. /components/com_easyblog/assets/images/template-foto-gallerij.png)
5. Upload your image to that path
Voila; you now have your own preview for the post template.
So I wanted to add previews for my custom templates.
I could not find a way to do this in the interface, so here a tip on how to do that.
1. Create your post template preview (I've attached some I created myself)
2. Go to the database table xxx_easyblog_post_templates
3. Edit the lineitem for the new template, or create a sql update query
4. In the column "screenshot" add the path to the image. (e.g. /components/com_easyblog/assets/images/template-foto-gallerij.png)
5. Upload your image to that path
Voila; you now have your own preview for the post template.