Link to home
Start Free TrialLog in
Avatar of charmingduck
charmingduck

asked on

drupal panel

how do i create a two panel page using panel module and then add text content to one panel?
ASKER CERTIFIED SOLUTION
Avatar of tbsgadi
tbsgadi
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
There are many ways to use Panels, but a short and quick tutorial:
Install and enable panels.
Go to admin/build/pages/add
Give the panel name and a path.
Choose the "Two column layout".
Give the panel a Title, if you wish.

You should now be looking at two fields, called "Left Side", and "Right Side".
Click the cog on the one you want to add text to, and choose "Add content".
Sorry, accidentally clicked submit before I was done. Continuing here.

Pick "New custom content", and you will be presented with a "new node interface". Fill it in, accept, and you will have the text you added in the left panel.

Done :)
Avatar of charmingduck
charmingduck

ASKER

http://www.grammy.com/photos/pre-telecast-dj-david-guetta

how do i create a page like this? can I do it this way?

two panels, then on the left side, fill in a view, on the right side, fill in a couple views?

and how to do the left side view?
Well, that could be done with panels, but I think you could do it much easier without panels. Think of the left side as a node, with a view, if you would like. The left side could be blocks, also made out of views.

Actually, if you look at the source of that page you linked to, I'd say that's how it has been done.
im new to drupal, and now im so confused with all the concepts, is view a node?

so you are saying you can create different views and put them into different blocks?
what do i need to learn about drupal to accomplish a site like this?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
okay, what i wanna accomplish is duplicate a site like this. It has pretty much all the functions i need except a shopping cart.

if you dont mind, i really hope someone can walk me through this, it doesnt have to be very specific.

how to create the facebook icon block and the photo album block on the right?
I don't mind, but this could be a looong thread ;)
Anyway, for the social networks block, it's fairly simple, and mostly static, so I'd "hardcode" it.
Upload the images to sites/site.com/files/socialblock/
Create a new block (site building/blocks/add block), throw in <img> -tags, and save it.
Go to the blocks list, and put the block in the right sidebar.

For photo/video galleries:
You'll want "Views Slideshow", and probably "Advanced help". I haven't actually used the slideshow on one of my own sites, so I'm gonna have to refer you to the docs on the details of that :)
okay, i have a question already, actually, a couple, i already added a social media block and a video block on right sidebar.

1)
i want the layout of every page of the site different, how do i do this? i dont want the video block to show up on every page.

2)
looks like you can hardcode everything in the block body? how do i do a simple jquery slideshow that requires the jquery library and

a piece of javascript like below?

<script type="text/javascript">
         $(document).ready(
                        function(){
                              
                              
                              $('ul#portfolio').innerfade({
                                    speed: 1000,
                                    timeout: 5000,
                                    type: 'sequence',
                                    containerheight: '220px'
                              });
                              
                              
                  });
        </script>
sorry about the first question, i didnt look at the bottom
1)


but how do i add a unique view to certain block?

are panels more flexible than blocks?
if i go with blocks, will it be easy for people with no html knowledge to do the daily updates? including picture, video and text.
>but how do i add a unique view to certain block?
>are panels more flexible than blocks?
"Blocks" are just like the name implies a "building block" of Drupal websites. Both views and panels can help you in creating more interesting/useful blocks.

Most of the time you won't want to add a view to a block (even though that is doable), but rather display a view AS a block.
When you create a view and have selected the information it's supposed to display, you can give it one or more "displays". One of these should be a block. When you have done so, a new block will show up in your blocks list, and you can place it where you want it.

>if i go with blocks, will it be easy for people with no html knowledge to do the daily updates? including picture, video and text.
If you are going to leave the site to someone who has little technical knowledge, I suggest you replace the "raw html code" with less intimidating looking forms for altering the content.
Drupals "Form API" will greatly assist you in creating configurable blocks.
I have a website with a block containing a single link to an external site. From time to time this link needs to be changed. I have added a simple text-field allow the sites admin to put any URL into the block. No understanding of <A/> or other html necessary.
>how do i do a simple jquery slideshow that requires the jquery library
I have not personal experience with this, but I do know jquery is in the Drupal Core, so it shouldn't require much work.
This: http://www.slideshare.net/katbailey/jquery-in-drupal looks like a nice introduction.
now on to the photo block, how do i duplicate a photo block just like it?

http://www.grammy.com/
when i tried to add content, i keep getting "invalid pane id" what's going on?

and how to use views to accomplish the social media block?