Should I use views for this ?

Hi, I like the front page layout of this site (http://www.masterofmalt.com/ )and wanted a implement a similar layout for my site

I was thinking of creating many views and using them as blocks but I am worried abt the performance.

What are your suggestions ?

Cheers,
Vishal

Modify $page['header'] in file template.php?

I'm creating a subtheme of Zen, and want to add an area to the top right of the screen for a search box and 2 important links.
I'm thinking that I should modify the header region for this.
I've read that you should put your modifying code in the file template.php, so if the base theme gets upgraded, your own modifications are kept separately.
So, I'm assuming that to accomplish this (add an area to the top right of the screen for a search box and 2 important links), I should modify $page['header'] in file template.php.
Could I get advice on:

Modules And Blocks

Is it possible to place a module inside a block? I am building a social network, and rather than have a menu link taking people to the forums, I want the forums to be in a block, (not sure which one yet), that shows up on every profile on the site.
Thanks for any help given
Tim

How to onclick-trigger a non-native jQuery plugin's action?

I've installed a 3rd-party jQuery plugin (it's an accordion). It displays on my page, and works as expected.

I want to trigger one of the plugin's actions (open a particular slide) when I click on an image on my page.

I can't seem to get the code &/or syntax for doing that right.

The plugin I've installed is "EasyAccordion" (http://www.madeincima.eu/blog/jquery-plugin-easy-accordion/). It's .js source is posted here: http://pastebin.com/55JB4pr2.

I'm using the plugin on a Drupal7 page.

I don't think that the specific plugin, or the fact that it's been used in Drupal, is relevant to the proper jQuery usage.

jQuery's bundled with Drupal. I init the plugin on my page with:

        ( function ($) {
            Drupal.behaviors.myEasyAccordion = {
                attach: function(context,settings) {
                    $('#accordion1',context).easyAccordion({
                        autoStart:     false,
                        ...
                    });
                }
            };
        })(jQuery);

In my markup, I have

        ...
        <div id="accordion1">
         ... EASYACCORDION MARKUP ...
        </div>
        ...

Again, with this init & markup, the accordion appears/works as expected.

On the same page, in another

I've added an image-link, i.e.,

...

How to display Content Like

Hi everyone.I am new to Drupal. I just wanna know how to show content in Drupal as in this site (it is in Joomla for reference) update automatically as the post is posted in category and subcategory.

http://infosansar.com/index.php/computer (Reference for Category).
http://infosansar.com/index.php/computer/windows (Reference for Sub-Category).

Strange render under Dupral

Hello,
I'm a total newbee under Drupal.
I have installed Drupal on my local computer and everything is OK but the render isn't nice. This is true what the browser i use (IE9, Firefox 5, Chrome). I join a picture to show you what happen with the administrative console.

I'm running with Windows 7 64 bits and i have installed Easyphp since Wampserver doesn't works on my computer.

So, for your informations, here my configuration:
PHP 5.3.6
Apache 2.2.17
Mysql 3.3.9.2
Drupal 7.4

Sorry for my langage, i'm not an english native ;)

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x