Reputation: 493
I have been trying to Google this for quite a while and haven't been able to find any "real" answers to the question.
I am creating a website using cake and have decided to buy a template at themeforest.
Now most of the templates on this site is meant to be used in CMS systems. But what about Cakephp?
Is it possible to implement these layouts in cake and if so are there any restrictions? (Does all template work or only specific templates that supports some sort of feature).
Also does anyone know if there is a guide for implementing them into the cake framework?
Upvotes: 3
Views: 4758
Reputation: 730
It seems themeforest offers no specific templates for CakePHP (I searched for 'cakephp'). That means no templates work from scratch and, as you hint, you will have to adjust them to fit CakePHP.
Not knowing how well-versed you are with CakePHP layouts I suggest you take a close look at default.ctp in /app/View/Layouts. Here you can see different parts of the default CakePHP website being echoed. You would want to exchange template content with <?php echo $this->fetch('content'); ?>
and so on.
Depending on how specifically tailored the template is to another CMS the difficulty of re-tailoring it to CakePHP will vary. The more features tied to features in the CMS the harder it will be.
Have a look at Introduction to layouts and theming and the following tutorials, theming in real life one and two. Every template you want to fit to CakePHP will be different. Good Luck!
EDIT: I found this question regarding CakePHP themes. The answer explains well why it is difficult to find themes/layouts/templates specific for CakePHP.
Upvotes: 7