Removing the ‘Content’ part from HomePage ‘Page Type’
Last Updated on Monday, 6 May 2013 06:14 Written by Teet Bergmann Thursday, 9 May 2013 12:00
We had a code for HomePage pagetype like so:
Learn MoreBuilding a Theme for the Extended ‘Page Type’ in SilverStripe
Last Updated on Sunday, 5 May 2013 01:46 Written by Teet Bergmann Wednesday, 8 May 2013 12:00
As we made HomePage.php Page we added two fields to the page type + the one that’s always in pagetype the content. In this tutorial I will tell you how to use them in theme and in next how to remove the content part from the CMS. So for starting lets make the theme file.
Learn MoreCreating a Basic ‘Page Type’ in the Silvestripe CMS
Last Updated on Tuesday, 30 April 2013 01:54 Written by Teet Bergmann Monday, 6 May 2013 12:00
- Create a new file called ‘HomePage.php’ in your ‘mysite/code/ folder. This time HomePage.php:
How to Fix MIME Type Problems in Elgg 1.8
Last Updated on Wednesday, 17 October 2012 07:27 Written by Rodolfo Hernandez Thursday, 18 October 2012 12:00
There has been a big problem for a while involving recognizing MIME types in elgg 1.8 This is due to the fact that the latest elgg release quietly requires php 5.3 to properly recognize MIME types as pointed out for one of our elgg users in our forum. For that reason in this article I will show you to fix this issue.
By default, all of our Linux accounts use of PHP 5.2 as not all scripts are compatible with PHP 5.3, but since elgg relies on php 5.3, we are going to do the following solution, which was extracted from one of our articles written by Ryan.
Open the .htaccess file of your elgg installation, and of the top of the file, add this line:
AddHandler application/x-httpd-php53 .php
Learn MoreHow to Add a Custom MIME Type in cPanel
Last Updated on Tuesday, 8 February 2011 07:02 Written by Naveed Ashraf Tuesday, 8 February 2011 02:13
Applied on: cPanel (Linux) Hosting
MIME types relay information to the browser about how to handle file extensions. Adding MIME types is useful for enabling visitors’ browsers to handle new technologies as they come out. cPanel lets you add new MIME types to your web server by defining a name, directory, and corresponding file extension.
Learn More
Recent Comments