drupal panel or regions? - drupal

I want to make my Drupal 7 site look like exactly like
www.io1.biz
what should I do?
the difference is that I want to add three views of latest content types instead of that three columns below the biggest image... and I want to change the pictures.
what should I do? should I user panels or customize drupal regions? It looks like simple.
if the answer is panels,my site has some ajax problems with panels,that I don't know how to fix this at the moment.[issue is here and here ]
and which theme should I use? the only thing is to add border-bottom to the h1 tags! I think....
is there any theme that I can make this subtheme simply with drag n drop??
thank you masters

Use Zeropoint theme it have three regions option and copy paste the page.tpl.php and rename it to page--front.tpl.php and customize it to your requirement.
io1.biz website is very simple, you can easily make a copy of this site.

I'd suggest using regions. It's more flexible and maintainable.
And if these blocks are going to be present ONLY in the front page, it will be better to use a separate template for the front page page--front.tpl.php.

Related

What is the best way to create a modular Wordpress theme?

I'm going to create a theme and I would like to create a functionality that I have seen in other themes that I have used: for example every page can be created with different modules in different order (videos, images, texts, etc...) so its up to the person creating the page to decide which elements are going to be used.
What is the best way to achieve this? I have created custom templates but I have never tried to separate the content with modules, my first guess is that it can be done using WPBakery or a similar plugin because that is what I have seen in the themes I have bought but I'm wondering if that's the best option. Do you have any recommendations or maybe a tutorial where I can see how I can accomplish this?
Thank you.
Use Advanced Custom Fields plugin and create a field with multiple possible elements. So you decide how elements will look like and the client can build his own site with that modules. The chance the client will break the layout because of superfancy layout builder is nearly zero.

How to make multiple editable parts on homepage/other pages in Silverstripe CMS?

I am new to Silverstripe so am still learning the best way to achieve certain results.
I have the following website: http://i.imgur.com/HHHIlwA.jpg - that I have converted into a silverstripe theme etc. I have setup the front page as a HomePage.ss.
Now I want to be able to edit most parts of the page from the CMS. I have followed this tutorial on this website: http://www.silverstripe.org/learn/lessons/working-with-data-relationships-has-many - and have created a region under the "Articles" heading in the pic which comes up as a tab on the CMS in the admin panel. http://i.imgur.com/Gi7kZmq.png
My question is, is the best way to make parts editable to make them regions like what the video has shown etc? E.g if I wanted to edit the section in the pic that has the picture of the big ring and the text next to it, am I best to make this another region? What about for things like headings etc?
Thanks in advance :)
There are several possibilities to solve this problem:
either use several $has_many for each group if you have a fixed structure
if you need flexibile structure you can use one of the several 'block' modules like https://github.com/bummzack/page-blocks or https://github.com/NobrainerWeb/Silverstripe-Content-Blocks.
There are some more modules like this around, each have pros and cons, depending if you need reusable blocks, translatable blocks, want to save the relations with Versioned etc... #lerni made an overview about those modules.

How can i add multiple elements on a single wordpress page

I want to use wordpress as a cms. Is it possible to define standard layout elements which can be combined to edit the layout of a page similar like other cms like "drupal" for example. Ie you could design a row with a picture on the left, one with a picture on the right and one without a picture. Than I combine these templates in any order to built the layout of the pages main content.
Is this possible, maybe with plugins?
Yes of course! You just need to Edit the already made template your way or you can Create your own Wordpress Template. But for that you should be confident with your HTML & CSS skills!
Here are some resources you may refer :
http://blog.spoongraphics.co.uk/tutorials/how-to-build-a-custom-wordpress-theme-from-scratch
http://themeshaper.com/modify-wordpress-themes/
Hope this helps!

creating arbitrary page layouts in wordpress

I want to add a theme or plugin to my wordpress install such that I can quickly build pages with arbitrary layouts, mixing bars of 2, 3, and 4 columns, containing widgets, HTML, etc.
I've been looking at carrington build but it doesn't let me reuse bars across different pages, and it seems to be limited in the bar layouts (no 4 column bar for example).
i've also looked at plugins like widgets on pages but in that case I have to do a lot of CSS hacking to create a 4 column bar, for example.
is there a recommended plugin or theme or way to solve this problem? i'm not a design guru, i'm looking for a simple solution that just works. I love the unbounce.com editor of pages, why isn't there something like that for wordpress???
You can make different template files for different pages/categories/etc. There is more than one way to get there, the easiest is with naming.
If you like to have a page with different layouts, just create a page-<my-pagename>.php and copy the content of page.php in it.
Now to make your own markup. Go to the Wordpress backend and edit your page. At the right-hand side, select the template you wish to use for this page, select page-<my-pagename>. Other ways are described here.

How to have a three column home page in Drupal

The home page of this site will have basically a 3 column layout.
I can create these as either content or blocks. I like using content because its easy for the user to understand, they login to the site, they browse to the page they want to edit, they click edit, but with blocks they have to go into Administer > Blocks etc
Any suggestions on this?
I would be managing the actual content as nodes(content) and then looking at blocks(or something like it) to arrange them how you like in your template regions.
If you are looking at creating custom home and/or landing pages, you might also want to look at http://drupal.org/project/panels - it can be a little heavy, but quite powerful for arranging content into columns and whatnot.
Not really sure what you're asking...
Administer > Blocks is for moving the blocks around into regions / disabling them, not really for creating content.
You can use the Node as Block module to easily turn your nodes into blocks, and they would still edit it from the content administration section.
Or, you could create a blank block, and in its associated template file (block-whatever.tpl.php) embed the node (node_embed, pretty much what the Node as Block module does) or query for it with a view and embed that (views_embed_view)
Or, if you're using views, you could create a view that queries for the node(s) you want and create a block display for that.
When you're actually building the Drupal site, you should consider what paradigm you're most comfortable with since there are so many ways to get your content together.
i would say boxes will help you. http://drupal.org/project/boxes
Many themes have block edit links/images as a part of them. Fusion is one such example.
I would suggest looking into Panels for layout and block editing, and also to download a version of open atrium. The layout management is uses is much easier than the administer blocks pattern.

Resources