New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Template Options #146

Closed
webbird opened this Issue Aug 12, 2013 · 6 comments

Comments

Projects
None yet
2 participants
@webbird
Copy link
Contributor

webbird commented Aug 12, 2013

Forum member "digitalbricks" suggested a new feature here:
http://forum.blackcat-cms.org/viewtopic.php?f=6&t=52

Template options can be:

  • Different color scheme (note: already possible with 'variants')
  • (De-)Activate Social media icons
  • Save Social media profile URLs
  • Set background- and/or header-picture
  • ...

This will require some more settings in the info.php and/or headers.inc.php and a new database table at first sight.

Please place your thoughts and suggestions here. Thank you.

@digitalbricks

This comment has been minimized.

Copy link

digitalbricks commented Aug 12, 2013

These Template Options could also be used for

All without touching the template code by the site administrator. I think there are many exciting use cases for that and i would really like to see this in later versions of BlackCat CMS.

@webbird

This comment has been minimized.

Copy link
Contributor Author

webbird commented Aug 12, 2013

META tags are already planned and will work if get_page_headers() is used in the template, so this is already done. :) They will be set in the SEO settings.

@webbird

This comment has been minimized.

Copy link
Contributor Author

webbird commented Aug 13, 2013

A few thoughts:

  • We'll have to distinct between global settings and template options. META tags are global options, color schemes are template options.
  • This is a big deal. I'm afraid we have to postpone it.

I am going to write a concept concerning this later.

@digitalbricks

This comment has been minimized.

Copy link

digitalbricks commented Aug 13, 2013

Good point! META tags are global - if the template is changed the meta tags should stay intact. So the bounding of the METAs to a single template with template options (as suggested by me above) is no good idea. Therefore the template options should only be used for specific needs as defining header height, header- and background images, define a logo image etc. As you wrote above, switching color schemes is already possible using template variants – so this desire is already done.

@webbird

This comment has been minimized.

Copy link
Contributor Author

webbird commented Aug 13, 2013

In one later version, I am going to implement the wblib FormBuilder. This will enable dynamic (extensible) forms. A module or template can add a list of form elements (as PHP array at the moment, maybe XML later) the Backend will show, check and store automatically. But this is also a big change, as we have to rewrite the complete settings part. I've planned this for v2.0.

@webbird

This comment has been minimized.

Copy link
Contributor Author

webbird commented Oct 22, 2013

@webbird webbird closed this Oct 22, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment