Hi all,
this is my very first challenge with Drupal, fall in love for the scalability and strength. So, I decide to use it for a corporate website and I've some troubles to accomplish my first theme.
The layout is quite simple but I don't reach to a good solution yet.
Here's the file: http://emberapp.com/funkwarrior/images/euroinox/sizes/o
So, I create a new content type with:
A. CCk Image field (for the top Big Image)
B. CCk Text Field (for the title of the sidebar)
C. CCK text field (for body text of the sidebar)
D. CCk File Field (for the link pdf of the sidebar)
I want to assign the A field out of the body content node ina different region instead of $content.
The same with B, C, D, wants ti assign to right sidebar.
Well, I need simply split che content of the node between regions I choose. I already trying to use Node Display but I don't like it: trying to assign the B, C, D fields to sidebar but it creates another div inside the content div, not to the sidebar.
Somebody can give me some advice?
Thanks a lot!
Comments
Try the Panels and Views
Try the Panels and Views module, among them and your CCK fields, you should be able to work out all the functionalities you need without messing with the code.
Thanks for the quick
Thanks for the quick response!
Now I try them...
Thank you!
I forgot to mention that
I forgot to mention that every A,B,C,D elements are different on every page... still the "Panels and Views" solution remain the same?
Thanks again.
...
Why do you need a sidebar? Why cant the node fill the whole width and do all theming withing the node div?
Put it this way, its far easier to embed a region in a node (if you need more blocks in a "sidebar") than it is extract node elements and print them in other regions, although if you know how this shouldn't be that hard to do in a preprocess function.
One nice solution to this could be the composite layout module - http://drupal.org/project/composite
While a combination of Panels and Views could achieve this it seems like a hell of a lot of code (not to mention set up) to do something that is really very simple.
Pimp your Drupal 8 Toolbar - make it badass.
Adaptivetheme - theming system for people who don't code.
It's true, I can theming all
It's true,
I can theming all within the node....
But, for example, the Big Top Image is inside the <$content> variable and I need to place the breadcrumb between the big image and the body text... There's a simply solution to resolve this problem?
Thank you!
Someone?
Someone?
Maybe a found a solution with
Maybe a found a solution with contemplate.module... Any other solutions?