Custom template not appearing in block dropdown

Permalink
Hello,

I've created a new template for the survey block. I created a new template folder, so the file structure is /var/www/concrete/concrete/blocks/survey/templates/my_template. Within that folder I have a
view.php
and
view.css
. I have made only one very slight change in the view.php file (changing the available colors array to have different hex colors), but the template does not appear when i attempt to change the template of a survey block.

Can you help me get that template to appear in the dropdown?

 
robodev replied on at Permalink Reply
I believe there is more involved than just the view.php and view.css

http://www.concrete5.org/community/forums/customizing_c5/contributi...
enlil replied on at Permalink Reply
enlil
you need to put the custom templates in the root /blocks folder, not in the /concrete/blocks folder.

So assuming the "concrete" folder is your root, place the templates here:
/var/www/concrete/blocks/survey/templates/my_template