Managing Drupal Views, the proper way

Comments

5 comments posted
Thanks for the info Damien.

Thanks for the info Damien. I'm still learning Drupal and your tips is highly appreciated...I could surely use them and add them to my knowledge, and I do agree with you when you said that the most useful and powerful modules on Drupal is Views.

Winni's picture
Posted by Winni (not verified) on Sun, 01/03/2010 - 7:42am
Great tutorial. Exporting

Great tutorial. Exporting views into a module is essential for smooth deployment.

I am thinking that I will implement my module in a very similar fashion as you have outlined, but I will have the _views_default_views function loop through all .inc files which start with 'views.' so that I don't have to manually write in the include every time I export a new view into code.

Also, I think it would be better if you post your code samples as code instead of screenshots.

Michael Thorne's picture
Posted by Michael Thorne (not verified) on Tue, 03/16/2010 - 9:38pm
My biggest disappointment

My biggest disappointment with the Ipad was that I didn't have full access to edit views. I could access all the major areas and could edit a view if it existed but if I tried to create a view I couldn't access all options available. Anything that required me to scroll through a list was out. So I could select the first few node options but not anything past the first screen. That really bugs me.

Dallas's picture
Posted by Dallas (not verified) on Mon, 06/07/2010 - 11:21pm
@anonymous, I haven't noticed

@anonymous, I haven't noticed that, but I haven't specifically looked either. It sounds like it is checking to see if there are any overridden views to match the one that is loaded via the default_views hook. Do you have caching enabled on your site?

Damien's picture
Posted by Damien on Sun, 06/20/2010 - 5:18pm
This post really taught me a

This post really taught me a lot about managing Drupal Views which is one of the most important modules and plays such an important role and allows you to do so much!! The step by step guide on how to manage the “Views”! These are such useful tips which really help to utilize the Drupal to the maximum and it is truly appreciated!! Will definitely pass this on to my friends who’ll really find it useful!!angies list

Anonymous's picture
Posted by Anonymous (not verified) on Wed, 02/09/2011 - 7:14am

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Potential spoilers can be hidden between [spoiler][/spoiler] tags to hide them by default.

More information about formatting options

CAPTCHA
Fill in the two words you see below - it's case sensitive so uppercase letters are different to lowercase letters. Apologies for this inconvenience but my site has been bombarded by spammers lately.
 
flyingmonkey