Hope you are doing well and enjoying my blog :)
I am here going to give you a small idea about region
Regions in Drupal are defined by the theme layer. This is problematic in instances where you want to add blocks / boxes to a specific region that is theme independent. Some examples of when you would want to use this module:
- You want to place a top branding bar on your site that you can drop blocks into
- You create a feature that has context positioned blocks that should ALWAYS function a certain way
- You want an area that's theme independent so you don't need to worry about different devs ignoring theme region naming conventions
- You want to make admin-esk places for those tasks to exist without adding blocks to the layout of your design (changing the way it functions for some users over others)
By using a simple function call, additional regions can be added to the system.
How Add a New Region:
First of all you have need to open your theme info files (yourtheme.info) in your code editor.
regions[left] = Left sidebar
regions[right] = Right sidebar
regions[content] = Content
regions[header] = Header
regions[footer] = Footer
] = Your Region
add your region(like here i have added the
) in info file and save the file.
You can now access you newely added region like give below
<div class="region andyregion">
<?php print $
Enjoy my blog!
95 Replies to “How to add a new region to a theme in drupal”
i love your blog!
this is awesome blog! i really love this blog
I love this blog!
i really enjoy your blog. thanks for sharing your thought. you are great guy
Lawyers […]here are some links to web sites that we link to because we feel they’re worth visiting[…]
I dont normally look at these types of internet sites (Im a pretty modest person) – but even though I was a bit shocked as I was reading, I was surely a bit excited as properly. Thanks for creating my day
There are some fascinating closing dates on this write-up but I dont know if I see all of them middle to heart. Theres some validity nonetheless Ill take preserve opinion until I look into it further. Good write-up, thanks and we want extra! Added to FeedBurner as effectively
Wow i like yur web site. It actually helped me with the details i wus searching for. Appcriciate it, will bookmark.
I am constantly searching online for posts that can facilitate me. Thx!
I conceive this website has very great indited content material material posts.
You produced some decent points there. I looked on the net to the issue and identified a lot of people go together with together along with your web site.
Private Krankenversicherung – Nur dann, wenn Sie sich für die Absicherung über die Rentenversicherung entschieden haben, dann können Sie sich sicher sein, dass Sie im Alter so viel Geld haben, damit Sie Ihren Lebensstandard halten können.
Thank you for the good writeup. It if truth be told was once a entertainment account it. Look advanced to far delivered agreeable from you! By the way, how can we be in contact?
Thanks for post a good comment!
You can find me on :
Facebook : http://www.facebook.com/RaghunathPrasadGurjar
Linkdin : http://in.linkedin.com/in/raghunathgurjar
Google Plus : https://plus.google.com/111591514616265267934
Twitter : https://twitter.com/raghunathgurjar
Wow, superb blog layout! How long have you been blogging for? you make blogging appear straightforward. The overall look of your site is magnificent, as effectively as the content! xrumer
Thanks for all your valuable labor on this web site. Gloria delights in acquiring into investigations and its obvious why. Most people hear all concerning the dynamic method you present powerful guidelines on this web site and as nicely boost response from other individuals on the subject matter so our own daughter is truly studying plenty of points. Take pleasure within the remaining portion with the new year. Youre the 1 carrying out a splendid job.
Keep in touch whilst functioning from your own home workplace with out all with the hassle of purchasing or procurment costly office equipment. Debtors are allowed to apply with their a bad credit score background whenever.
I see something truly unique in this internet site.
A extremely informationrmative post and lots of actually honest and forthright comments made! This undoubtedly got me thinking a whole lot about this problem so cheers a lot for dropping!
I went over this internet site and I conceive you have a lot of excellent information, saved to my bookmarks (:.
I like what you guys are up too. Such smart work and reporting! Carry on the superb works guys I?ve incorporated you guys to my blogroll. I feel it will improve the value of my internet internet site
Some truly good stuff on this web site, I adore it.
Exceptional post nonetheless, I was wanting to know if you could write a litte a lot more on this subject? Id be very thankful in case you could elaborate a little bit more. Thanks!
I like this web site because so a lot valuable material on here : D.
I like what you guys are up too. Such clever work and reporting! Carry on the excellent works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my web site :).
Thanks for a good comment!
Would enjoy to always get updated excellent web site !.
I truly wanted to post a brief comment to appreciate you for some with the remarkable ways you’re giving out on this site. My long internet appear up has at the end of the day been recognized with reliable data to talk about with my companions. I d declare that most of us visitors are undeniably fortunate to live in a amazing location with extremely a lot of awesome professionals with fantastic techniques. I feel really significantly blessed to have encountered your entire web pages and appear forward to some more fun times reading here. Thanks once once again for all of the details.
Your always Welcome!
very excellent post, i surely enjoy this site, go on it
Thanks for a visit my blog!
find me on facebook https://www.facebook.com/aboutraghunath.
I gotta bookmark this web site it seems really beneficial.
Your always welcome on my blog! :)
You’ve talked some good info on the subject, are you working to do a FAQ about this issue inside the future, as i have some more doubts that is going to be common to other readers.
I truly prize your function, Great post.
Thanks for comment! :)
Good post. I discover out some thing far more challenging on different blogs everyday. Most commonly it really is stimulating to read content material utilizing their company writers and exercise a little something from their site. Id pick to apply certain together with the content material on my own weblog regardless of whether you do not mind. Natually Ill offer you a link within your internet weblog. Several thanks sharing.
I really love this blog!
When I initially commented I clicked the Notify me when new comments are added checkbox and now each time a comment is added I get three emails with the same comment. Is there any way you can remove me from that service? Cheers!
An attention-grabbing dialogue is worth comment. I think that it is greatest to write extra on this subject, it wont be a taboo subject even so normally individuals are not sufficient to speak on such topics. To the next. Cheers
Soon after study a handful of the websites on your personal internet site now, and that i truly like your technique for blogging. I bookmarked it to my bookmark web site list and you will be checking back soon. Pls check out my internet page too and told me what you feel.
I really enjoy studying on this site, it has got excellent content. “Something unpredictable but in the end it’s right, I hope you have the time of your life.” by Greenday.
Thanks for visit my blog!
Exceptional post nevertheless, I was wanting to know if you could write a litte far more on this subject? Id be really thankful in case you could elaborate slightly bit a lot more. Thanks!
Nice post. I learn something tougher on distinct blogs everyday. Most commonly it is stimulating to see content off their writers and use a bit there. Id want to use some with all the content material on my blog whether you dont mind. Natually Ill offer you a link on the web weblog. A lot of thanks sharing.
thanks for post a good comment :) :) :)
This is really interesting, You are a very skilled blogger. I’ve joined your feed and look forward to seeking more of your great post. Also, I have shared your web site in my social networks!
Thank you :)
Hey, excellent weblog you have here, feel I came across it on Yahoo but im not certain nowanyway, Ill check back again! Are guests allowed to post here?
Thanks for post a good comment! :)
Just wanna comment which you have a extremely good internet website, I really like the design it in fact stands out.
Aw, this was a genuinely good post. In concept I wish to put in writing like this moreover ?taking time and actual effort to make an exceptional article?nevertheless what can I say?I procrastinate alot and by no means seem to get something done.
We are a group of volunteers and opening a new system in our community. Your web website given us with valuable info to work on. Youve done an impressive job and our entire community will probably be grateful to you.
You must be a part of a contest 1st with the most effective blogs online. Let me suggest this weblog!
There is noticeably a bundle to realize about this. I assume you made various good points in attributes also.
I got what you intend, appreciate it for posting.Woh I’m lucky to discover this web site via google.
When I originally commented I clicked the -Notify me when new surveys are added- checkbox and already when a comment is added I get four emails with the exact same comment. Will there be in any manner you’ll be able to remove me from that service? Thanks!
Rattling good info can be found on website.
Thanks, I’ve recently been searching for info approximately this topic for a long time and yours could be the very best Ive discovered till now. But, what about the conclusion? Are you positive concerning the source?
Hello! Amazing post! Please when I could see a follow up!
Thank you thank you :)
I like this blog it’s a master piece! Glad I found this on google.
Woh I like your posts, saved to fav!.
Thank you :)
Any way Im going to be subscribing for a feed and I hope you article once again soon
Thank you :)
Hello there, just became aware of your blog through Google, and located that it’s truly informative. Im going to watch out for brussels. Ill be grateful in case you continue this in future. Numerous people is going to be benefited from your writing. Cheers!
Dead composed subject material, Really enjoyed looking through.
Thanks for comment :)
I undoubtedly did not realize that. Learnt something new today! Thanks for that.
Your welcome! :)
Just wanna remark that you have a very nice web site, I like the layout it really stands out.
Great day! This post could not be written any much better! Reading this post reminds me of my previous room mate! He always kept chatting about this. I will forward this write-up to him. Fairly certain he will have a very good read. Thanks for sharing!
I just wanted to thank you once again for this incredible internet site you’ve got built here. Its full of valuable suggestions for those that are certainly interested in this subject, especially this very post. Your all so sweet and also thoughtful of others and reading the blog posts is a excellent delight to me. And thats a generous surprise! Jeff and I are going to have excitement creating use of your points in what we should do inside the near future. Our listing can be a distance long and tips is going to be put to fine use. Prishtina Reisen
hey there and thanks in your information Ive definitely picked up something new from right here. I did then again expertise a few technical issues the usage of this web site, as I skilled to reload the web site lots of instances previous to I may just get it to load properly. I had been considering if your web hosting is OK? No longer that I am complaining, however sluggish loading cases times will often affect your placement in google and can harm your high-quality rating if ads and ***********|advertising|advertising|advertising and *********** with Adwords. Well I am adding this RSS to my e-mail and can look out for a lot extra of your respective fascinating content. Make sure you update this once more very soon..
I almost got an heart attac, due to your set of volume. Great stuff nonetheless!
Just wanna comment on few general things, The website style and design is perfect, the content material is very great : D.
Thank you for sharing excellent informations. Your web-site is so cool. I’m impressed by the details that you have on this site. It reveals how nicely you perceive this subject. Bookmarked this website page, will come back for extra articles. You, my friend, ROCK! I found simply the information I already searched everywhere and just could not come across. What an ideal web-site.
Its superb as your other posts : D, regards for posting.
Its rare for me to uncover something on the web thats as entertaining and intriguing as what you have got here. Your page is sweet, your graphics are excellent, and whats far more, you use source that are relevant to what youre saying. You’re definitely 1 in a million, properly done!
Quite good design and style and fantastic topic matter, really small else we want : D.
I dont normally comment but I gotta say thankyou for the post on this remarkable 1 : D.
Some truly nice stuff on this internet website, I like it.
That is the greatest blog for anyone who desires to search out out about this subject. You comprehend so a lot its nearly exhausting to argue with you (not that I truly would need to have aHa). You positively put a brand new spin on a topic thats been written about for years. Fantastic stuff, merely great!
Nice post. I learn some thing much harder on different blogs everyday. It will always be stimulating you just read content material from other writers and employ a specific thing at their store. Id opt to apply certain utilizing the content material on my own weblog whether you dont mind. Natually Ill supply a link on your own internet weblog. Many thanks sharing.
Hi! Do you know if they make any plugins to safeguard against hackers? Im kinda paranoid about losing everything Ive worked hard on. Any ideas?
Great site you have here but I was wanting to know if you knew of any discussion boards that cover the same topics discussed here? I’d really love to be a part of community where I can get suggestions from other knowledgeable individuals that share the same interest. If you have any suggestions, please let me know. Cheers!
I recognize there is a great deal of spam on this site. Do you require aid cleaning them up? I might aid in between courses!
Whats Going down i am new to this, I stumbled upon this I’ve found It positively useful and it has aided me out loads. I hope to give a contribution & help other users like its aided me. Good job.
Thank you a bunch for sharing this with all folks you really recognize what you are talking approximately! Bookmarked. Kindly additionally discuss with my website =). We could have a hyperlink change contract between us
No matter if some one searches for his necessary thing, so he/she desires to be available that in detail, therefore that thing is maintained over here.
Solid post. I had not consider the linkage rule. I had been linking back and forth with out giving a believed. Thanks for your details.