Maybe as a ds newb I missed something obvious..
So I am also writting up some of the steps/missteps in case someone else can benefit....
I wanted to have display suite rearrange some of the views content.
This is what I tried:
As I understand,
To use display Suite to affect View, that is an extra,
and here is where I enabled:
STRUCTURE -> DISPLAY SUITE -> DISPLAYS -> EXTRA
or /admin/structure/ds/list/extras
click "OTHER"
Checkmark "Views Displays" then "Save Configuration"
( I could select more fieldtempaltes/extrafields/other extras but did not)
Now when I go back to adminstration toolbar I can get to
STRUCTURE -> DISPLAY SUITE -> view Displays
or /admin/structure/ds/vd
I had some custom views already, When I use the drop down
on the "SELECT VIEW" I see it twice with something like:
My_VIEW: Whateverview (Views template)
My_VIEW: whateverview (Fields)
So I select the My_VIEW: whateverview (Views template)
and yes I was able to Manage Layout and I discovered
that if I hid "Views content" save...
Refresh a web browser with view page/block and the content dissappears
then I put it back...
So that makes sense, the Views template is the template of the view....
And project ds does affect it, at least with one column and hiding unhiding...
Okay so I add the My_VIEW: whateverview (Fields) to Manage Layout.
Now I see the screen to manage the fields being used by the view -so far good...
I pick a layout, move fields around - hide or not hide and so on...
Save...
Refresh a web browser and --- aRrrrrrGGhhhh --- no difference.
It seems the display suite is working for the views template
but not the Views fields?
well maybe it is my theme I think?
So I add the module "SwitchTheme" set permissions to use and make block available
on several themes including garland and bartik
Then as anonymous looking at view I switch themes, refreshing also and sadly
it does not seem that garland nor bartik show any changes for My_View whatever(Fields)
---
Am I missing something as a newb to ds?
BTW, I had tried with ds 7.x-1.5 thinking it may work of 7.2x ...
I had uninstalled including database part,
started over and tried 7.x-2.x-dev 2012-Apr-11 with no better luck.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1528856-2.patch | 1.04 KB | swentel |
Comments
Comment #1
swentel commentedYou are absolutely right, there is a bug here.
Comment #2
swentel commentedHere's a patch that fixes the wrapper regions. Also make sure you select 'Display Suite Fields' format, not fields.
Tested and works fine now.
Comment #3
webengr commentedI had watched one of the videos and at one point I knew I was suppose to change the format for VIEWs, but in the many attempts I had forgotten that step.... oopss
And yes when I did it I got errors again.
I put your patch on the 7.x-2.x-dev and the errors went away!
So in answer to my newb question...
I forgot to edit my whatever view and change FORMAT from "fields" to "display suite fields"
and I needed to patch a bug that I did not know for sure I found - lol.
Thanks!
Comment #4
webengr commentedbtw....
did you get all the regions like header footer ?...
I did not test for stacked originally, just 2 column
I just did a view display with stacked and got errors, put back to two column
I looked and the April 14th does include the patch,
it also did the error... but I got so much wacky going on I can not say for sure
it is ds!