I have followed the standard tutorial here:
for creating a customized theme to the letter multiple times, and each time when I go to look at the result at the various stages of the tutorial, all I get is a blank page.
The tutorial makes this look rather straightforward but does not really deal with troubleshooting ...
I have followed the video then the written instructions, gone back and tried it again.
Using a general html template with Bootstrap as a test. There is general content from the html template in the file so SOMETHING should have been showing up.
I am using
Core Version - 8.5.1
Database Version - 20190301133300
If someone would be so kind as to enlighten me, I doubt I am the only one who has experienced this...
If your server is not setup to allow php short_open_tag then the code will fail.
If this is the case you have two options.
1 In your server PHP settings, allow php short_open_tag
2, Change that line of code to this
<?php echo $view->getThemePath()?>
As a general rule-of-thumb where you find this
'<?php echo '
Here I am enclosing the code in ' ' this is just to show any necessary spaces
Kinda stuck until I figure this out, appreciate the info!
It might not solve your particular issue here, but could be useful as another example.
I wasn't sure if this latest concrete5 version is doing things differently than the version in the tutorial I watched.
The theming part of the tutorial starts here:
Here is an old package that helps out with building your first theme:
some of the code is deprecated