Hi,
I want to create a new custom input field on admin interface of blog pages. Also I want to display value of this custom field on front end.
So can any one help me on this tweak. Is there any tutorials to add new custom field?
Posted 23 May 2016 - 04:59 AM #1
Hi,
I want to create a new custom input field on admin interface of blog pages. Also I want to display value of this custom field on front end.
So can any one help me on this tweak. Is there any tutorials to add new custom field?
Posted 23 May 2016 - 07:07 AM #2
I am afraid, there is no guide for this. You should correct the following files:
Update blog post:
design/backend/templates/addons/blog/hooks/pages/detailed_content.post.tpl
View blog post:
design/themes/YOUR_THEME/templates/addons/blog/hooks/pages/page_content.pre.tpl
and the cscart_pages table in the database
Posted 17 June 2016 - 09:32 AM #3
I am afraid, there is no guide for this. You should correct the following files:
Update blog post:
design/backend/templates/addons/blog/hooks/pages/detailed_content.post.tpl
View blog post:
design/themes/YOUR_THEME/templates/addons/blog/hooks/pages/page_content.pre.tpl
and the cscart_pages table in the database
Thanks @eComLabs for your help.
Is it possible to override the design/backend/templates/addons/blog/hooks/pages/detailed_content.post.tpl template via another custom addon?
I have created new addon, activated that addon & copied same template in to design/backend/templates/addons/my_new_changes/hooks/pages/detailed_content.post.tpl and edited. But there is no changes happened.