Posted by jundolor on December 6, 2007 at 3:20pm
Hello all:
I have successfully installed the Panels module and have created a multi-column layout. I'm just wondering now how to assign the layout to the front page, stories, pages, cck nodes contents.
Many thanks, Jun D!
Life is like a box of chocnut, you never know if its durog or not

Comments
Here is what I usually
Here is what I usually do:
To make your panels show as the frontpage, make the url of the panel as www.mysite.com/node.
This apply for all panel pages, if you want to show panel_design_cat to cat page, use the cat page url like www.mysite.com/cat
collectivetech.org
Technology for organizations. Open Source. Consultancy. Training.
What I'm trying to do....
Hi DL,
Thanks for the info...
I've installed the Views module and got to play around with it. I was able to have a Panel display a View. The power of Views that I've appreciated is its being able to filter nodes.
However, what I'm trying to do is to layout a node in such a way that its CCK fields are positioned in specific areas, such as:
* On the top
- CCK_field:Kicker appears
- CCK_field:Title is below CCK_field:Kicker
* On the left column
- CCK_field:Description appears
* On the right column
- CCK_field:Picture appears
- CCK_field:PhotoCaption appears below CCK_field:Picture
- CCK_field:Photographer appears below CCK_field:PhotoCaption
I'll try to look more into Panels and Views how I can do this.
Many thanks,
Jun D!
Life is like a box of chocnut, you never know if its durog or not
in views there are two
in views there are two types, a block view and a page view. aside from that you can select whether it is full nodes, teaser, table and list view. I suggest you use the list view and then select the appropriate fields you like to output then arrange them accordingly, placing the field you want to display on top on top of the list of the fields to be displayed.
IF you want the fields displayed accordingly in a node, you have to tweak the node.tpl.php. if you try to open the node.tp.php, drupal outputs everything, including the cck fields as content so default output will be like this:
Title
CCK Fields
Body
but if you tweak the node.tpl.php you can have it any way you want it.
and as marc have said, tweak it further in css.
collectivetech.org
Technology for organizations. Open Source. Consultancy. Training.
Doing that is not as easy as 1,2,3.
Jun D,
If you wish to change how the fields are positioned, you will need to do that via CSS.
Panels will only help you put your content in a panelized manner. Make sure to check out Sections module and the Views Bonus module to give you more flexibility (and unfortunately more to study) in displaying your content.
In your CSS:
You can even change the field width, height, color and the like by just modifying the CSS.
However, if you only wish to change the position of the field-labels either "Above, Inline, or Hidden" via CCK Manage Fields page.
And if desperately needed, you may use Contemplate to hide/show fields that are abstracted by the Drupal theme render engine. This way, you can really control the look of your site, but, with cautionary hazards.
But if you ask me, I rather have "functionality" come first before "aesthetics". This way you preserve the value of your site.
--
marc.robinsone caballero
Marckee for Short
Doing it with CSS requires a
Doing it with CSS requires a some advance knowledge with CSS. There would also be a possiblity that your CSS would interfere with your other Views, worst, your site layout. I suggest you theme your View using using PHP snippet. Try Views Wizard module which is packaged with Views. Just enable it and select a View to override the display :) Refer to this page: http://drupal.org/node/42597 to see how it works.
Thanks for the tips
Hello all,
Thanks for the tips. I'll be looking at each one of them and decide which is the best option.
:-)
Jun D!
Life is like a box of chocnut, you never know if its durog or not