![]() ![]() You are now saving ExpressionEngine Templates as files. Open the config.php file (located under sys > expressionengine > config > config.php) and directly underneath the settings for themes (we add in Part 1), add the following lines: $config = 'y' We like to keep ours in an templates directory under an assets directory, see below for example. Next is the Server path to site's templates preference, here we want to put the direct server path to where we want to store our templates. The Save Templates as Files is set to 'No' as default, lets change that to 'Yes'. At this time we are solely worried about the last two preferences, Save Templates as Files and Server path to site's templates. ![]() On the Global Template Preferences page you'll be presented with a number of preferences. There are two ways to set templates to save as files one is via the Control Panel (see image below), two is through the config.php file. This way is a personal preference for us at Blue Fish. This allows for editing of the templates straight from the server rather than the ExpressionEngine Control Panel. Save Templates As Filesįirst thing we are going to do is setup our templates to be saved as files on our server. This part of the series is going to be diving into some basics of ExpressionEngine Template creation, so having a basic understanding of how EE and its templating works please check out the Ellislab docs here. We are now ready to setup the templates and make our blog ready for viewing. Before we begin, if you haven't read Part 1: Installation, you can do so here, Part 2: Channel Fields, Categories, Channels, you can do so here and Part 3: Publishing Entries, here. Welcome back to the Blue Fish ExpressionEngine Tutorial - Create a blog series.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |