I need some help to theme my website a test project to learn cakephp 1.3.4. I have created files for these like default.ctp for website default layout. and home.ctp for home page layout, I try Google for help but there I found nothing a good tutorial for a beginner to help me understand how to use any theme or layout for cakephp website.
Can some give a reference link to any material that helps me to understand what exactly I have had to do with cakephp design techniques?
Look at this: Themes in CakePHP overall site book.cakephp.com is the best resource for learning CakePHP
Related
I am building a personal website with Photofocus theme (https://catchthemes.com/themes/photofocus-pro). I completed the website design, now designing a blog page. Actually, I need a custom theme for my blogs ie 4 column thumbnail design. Please see the design below.
Design website link: https://blog.bitdiscovery.com/
But Photofocus blog theme looks different(See image attached)
Following are my doubts?
How to customize the Photofocus blog theme to meet my requirement?
Do I need to manually edit PHP files to achieve the design?
Can I purchase a different theme for the blog only(ie my desired design is
also a WordPress site - https://blog.bitdiscovery.com/)
Suggest me the ideal solution?
Your help is much appreciated.
Thank you.
From the Theme Instructions
You can customize this theme using cool additional features through Customizer at "Appearance => Customize" from your WordPress Dashboard.
If needed, you could contact them as mentioned on this page to customize it for you.
It should be possible to use another theme for your blog when 1) The site is on a subdomain (and thus a separate WordPress installation) or 2) when the theme provides a "blog" template option (but that would be only partially different).
If you are looking for a flexible, totally customizable solution, I can recommend Oxygen Builder. But you'll need some knowledge about HTML/CSS/PHP for it.
I'm making a portfolio page for a photographer. The photographer should be able to add new projects via wordpress. I am not really familiar with how wordpress uses the inputs for an "post" or "project" to create a new portfolio project.
Currently I have an intermediate knowledge of HTML and CSS. How would I be able to assign my own styles to content that is yet to be created? I figure this requires knowledge of PHP?
I understand this is a pretty general question and I apologise for my question is too vague. Searching for solutions has yet only given me plugin solutions.
In order to create a custom WordPress template not only requires some basic PHP knowledge, but also WordPress template knowledge. You can read all about them here.
I would suggest to use a theme instead. There are countless (the link is just an example) amazing portfolio themes, lots of them free and all of them responsive. If you want to go along with your current theme and use just a plugin to create those portfolio items, I suggest a plugin like Advanced Custom Fields.
I've been trying to create different themes in wordpress but it seems difficult to me as it requires some core functions of Php which I am unable to understand. Now I want to ask the question in details whether we can convert HTML theme to wordpress theme? I know that every theme is made in HTML but what If I make a theme in HTML/CSS or even bootstrap. How to integrate it with wordpress Posts and Pages thing? How can I tell wordpress that when a user adds a post through wordpress, it should go here or wherever? I think the question is vague but I myself is confused. Please do let me know if you understood! Thanks
You will need a combination of PHP, HTML, and CSS (at the least) to create a WordPress theme. Luckily, the PHP requried for a basic theme is pretty simple. I'd like to refer you to: https://www.siteground.com/tutorials/wordpress/wordpress_create_theme.htm . It gives a basic overview on theme development where the PHP isn't too involved.
I am new to Yii framework. I was working on drupal earlier, and the theming of drupal made sites are not difficult to manage. But I just want to know that how to create theme for the site with Yii framework.
I have gone through many sites, but still don't know where to start. For example I have checked http://www.yiiframework.com/doc/guide/1.1/en/topics.theming.
Now my doubts are:
Where to start for creating Yii themes? Suppose I want to change drupal theme to Yii, How can I do this?
Is it possible to have different theme for different pages? Like in drupal by using themekey module, we can have multiple theme for different pages.
It will be good if anybody will explain it step by step.
You can edit the layouts (protected/views/layouts/..). These are the wrapper views which are rendered around individual views rendered with render(), for example the site/index calls the index view (located at protected/views/index.php) using:
$this->render("index");
You can change the layout per action using:
$this->layout = "differentlayout";
You can set the layout for all actions within a Controller using:
public $layout='//layouts/differentlayout';
Obviously each layout can have a custom structure and loads different CSS and JS files. I know this isn't using the themes and theming but it is by far the most common way of customizing the look and feel of a Yii project
Here are some helpful links regarding YII theme development:
http://www.yiiframework.com/doc/guide/1.1/en/basics.view
http://www.yiiframework.com/wiki/249/understanding-the-view-rendering-flow/
http://mushfiq.me/2011/05/30/creating-a-yii-application-theme-from-a-html-template/
you can always download some of the simpler Yii Themes and see how they work.
--iM
I need a custom template for the 'frontpage' and a custom template for all the other pages.
What are the best practices to accomplish this?
Do I need to make 2 themes or can I use the same theme?
Create 2 template files:
page--front.tpl.php for the front page.
page.tpl.php for other pages.
For further reading, check out Drupal 7 Template Suggestions.
Don't forget to clear the site cache after the creation of each new template file.
Hope this helps... Muhammad.
If you're new to Drupal theming, try using the Devel and the Themer Developer module (http://drupal.org/project/devel_themer)
I would like to direct you towards "The Drupal Way" (do it with flexible UI-based modules) if you are not already familiar with.
I would approach this problem using Panels and possibly Views if you need to display listed information on the page (such as a news-feed or similar).
This gives a whole different approach to setting up your site's content displays and it is the general direction of the Drupal ecosystem.