D6: a homepage with only blocks? - drupal

the homepage of the design im currently converting in to a drupal site has 6 equally sized blocks of content (im not using the drupal term "blocks" here), showing a tagcloud, a list of the last 5 published titles, a delicious tagcloud, a "what is this site about" area etc.
my question is: is it possible / acceptable / standard practise to output only "blocks" and no "page" on the homepage, using Views? id assume a "page" would be the "main content area" of the homepage but since there isnt such an area im thinking of going just with blocks.
how does that sound?

I think the panels module may do what you are looking for here. Panels 3 is just out and looks like it can do just what you want.

Using two definitions for 'blocks' doesn't help you here. Page content, a view for instance, or a "what's the site about page" can still be page content if it's small and fits into a grid.

You have a choice of either using the panels module or of defining your own home page template by creating a page-front.tpl.php within your theme. Within the page-front.tpl.php you could specify in the markup the regions you want, defined in your .info theme file. In this case your page-front.tpl.php would contain 6 regions and you could simply then assign blocks to those regions within the adminstration area of Drupal.

Related

How do I add a module to a block/region in drupal 7?

How do I add a module to a block/region in Drupal 7?
I am starting to format my Drupal 7 site to look like I want it do.
I have an empty block on the home page on the right side that I want to put a module in. I am thinking about a nice accordion menu or tree menu. How do I add a module to a block in Drupal 7?
I am new to Drupal and so I am probably confusing terminologies here.
If I click on Structure -> Blocks in the admin panel I am taken to a page where blocks are assigned to regions
If I click on the hyperlink to "Demonstrate block regions (Porto)", I am shown a page that represents regions (I guess) on the page as yellow fields/blocks and the name assigned to each of them. This is what I am referring to as "blocks" and I suppose this is a misnomer.
Earlier, I was trying to find a way of changing the width of a of a MD Slider and no matter what I tried in the configuration of this (Module?) nothing seemed to work. But then I noticed that could assign this to the "Content" area on the page and put something else in the "Right Sidebar" and this trick managed to change the layout of the page closer to what I was looking for like this:
and the result of my efforts is a home page that looks like this:
Which is getting close to how I want the home page to be arranged. Here, as an example, this is the previous layout I had before switching to the current theme:
Notice the "Navagation" UI control on the right side. This is what I am talking about here. If I add a module, like a tree or accordian, how do I get this to be put in the Blocks page such that it can be added to the region I want, which is the "Right Sidebar"?

Home page manageable content in wordpress

I have a WP website which has a home with a top banner and 2 more controllable panel like here.
My question is what is the best way to keep this controllable via admin?
The way I did it was to create two categories by the names "Latest Updates" and "New in 2013!" and then coded it such that the posts coming under the categories gets displayed in their respective panels on the home page. The image as usual controlled via the Featured Image of the post. A pretty basic setup to manage its content via posts to keep the layout intact and at the same time do the task.
I had suggestions where we should keep it right there in WP editor for control i.e. put all the div / ul / li etc. right there in the WP editor using the text part and have the admin control it right from there.
I need to know which method is better for implementation i.e. managing via posts like it is now or keep it right there in the editor and put HTML content in the editor.
All recommendations much appreciated.
Your first one method is correct ,easy and safe.
Safe Because,If accidentally any change in editor then all showing content breaked

Drupal contextual block above view?

I'm using Drupal 7 along with the Views and Context modules. I have a particular view with a page display, and I want to put a particular block in the content region. When I do that, the block appears below the view.
I want the block to appear above the view, instead. Is this possible, or do I have to create another region to go above the content region?
Like you mention in your question, you'll need a region above the content region for this. The default theme for Drupal 7, Bartik, has several such regions (the 'Featured' region is probably the closest to what you're after), so if you're making a custom theme, you can refer to that theme for an example.
Go to edit your page view and click add on the header region. Navigate to your block view and insert it .
This may be the quick solution as it will display the block directly above the page content. It also allows the option of inherit contextual filters so the header display can receive the same contextual filters as its parent.
This can be also done in the footer region and works on all themes.

Navigation within pages in Wordpress

Some friends of mine am starting an art blog and am aiming to use WordPress for usability reasons as their PHP/HTML/CSS experience is minimal. However, we are running into a roadblock in that we are finding it difficult to accomplish multi-level navigation within Wordpress: that is; for each WordPress 'page', there must be several 'sub-pages'. For example, each artist page (eg Zac) must have several separate sub-pages: an "About", a "Gallery" (which will be accomplished with a separate WordPress plugin) and a blog sorted by a specific category. An additional road block is presented in the form that each sub-page navigation must be separate from the main navigation: ie, not a drop-down menu, but rather a separate menu located elsewhere on the page.
I've looked around at some WordPress multi-level navigation plugins but haven't found any that adequately meet these needs. Has anyone had the same problem, and if so, how did you work around it? Is there a suitable plugin or will I need to create a separate Page template and then hand-code About/Gallery sections in separate PHP files?
Thanks!
I normally use categories to do that. What I suggest you to do is to create a category for each person and then create sub-categories, sub-pages or posts under each one.
You can then create template that will target different type of pages, you can also target some keywords.

Multiple sections in Content Block for Drupal

How to create multiple sections in Content block in Drupal?
When a user visits my homepage, a mainpage will be displayed; this page will contain a few sections at the middle panel. One of these sections would be a news update section, another would be a video channel, much like how mtv UK is looking in the middle portion of the homepage.
http://lh6.ggpht.com/_SDci0Pf3tzU/Sd7SEwzEbhI/AAAAAAAAEqc/ROuP7fXkRSk/s400/section.png
What modules are needed to create this kind of website layout?
That site is using mainly Panels, and Nice Menus
A combination of the Views and Panels modules would be able to do it.
You may also want to try the composite layout module (which I find simpler to use & theme than Panels) : http://drupal.org/project/composite (unfortunately not yet available for D7)

Resources