Hi,

when I set "content display" to show pages teasers as a grid, it doesnt work for me at all (front page http://www.imav.cz and example of taxonomy http://www.imav.cz/katalog/motorove-oleje). Grid works only on page made with views (http://www.imav.cz/katalog/oleje-maziva-provozni-kapaliny). It doesnt matter what is max number of grid column (now it is 3). I do not think I changed anything else in settings so far except option "desktop first" and font styles. In previous versions (like 7.x-2.0-rc3) grid worked well.

I use latest dev version of at commerce (2012-May-04) and 7.x-3.0-rc1 version of Adaptive theme. I might be missing something, but I just do not know what.

Thank you for any help,
nyristai

CommentFileSizeAuthor
#8 Screenshot.jpg45.2 KBadrian pearce

Comments

Jeff Burnz’s picture

Looks like the grids CSS is not loading correctly. Please be patient, this is low prioritization in the grand scheme of the 7.x-3.x updates which are major and a huge undertaking across the board.

Views has nothing to do with this setting, they are something different and not affected by this setting.

FYI - to move an issue just use the "Project:" field in "Edit issue settings" and move it. No need to create a new issue and close the original.

nyristai’s picture

Ok, I wanted to find out whether the problem is on my site or in at commerce and I also wanted to let you know about this problem. Thank you for an answer and sorry for causing problems. I will be patient with this great theme.

Jeff Burnz’s picture

Its most probably in AT Commerce, I still need to debug it, its on the TODO list ;)

enzo de simone’s picture

Same problem for me

tito.brasolin’s picture

In my opinion the problem is caused by AdaptiveTheme Core (I'm using 7.x-3.0-rc4).
Look at adaptivetheme/at_core/inc/process.inc line 156: http://drupalcode.org/project/adaptivetheme.git/blob/refs/tags/7.x-3.0-r...

156 // Wait, some blocks look like shit with wrappers, blow them away...
157 if ($vars['block_html_id'] === 'block-system-main') {
158 $vars['outer_prefix'] = '';
159 $vars['outer_suffix'] = '';
160 $vars['inner_prefix'] = '';
161 $vars['inner_suffix'] = '';
162 $vars['content_processed'] = $vars['content'];
163 }

Unfortunately AT Commerce needs the wrappers for "block-system-main", so I removed lines 156..163

It's obviously a quick-and-dirty hack, but in fact the grid layout now works!

Jeff Burnz’s picture

LOL, wow, that's hilarious actually (developer humor), I will update it so it doesn't rely on such wrappers!

enzo de simone’s picture

It works well for me. thanks

adrian pearce’s picture

Version: 7.x-3.x-dev » 7.x-3.0-rc1
StatusFileSize
new45.2 KB

Hi Jeff,

I'm pretty new to Drupal, currently have my first two dev sites using AT Commerce (love it so far btw, thanks!). Kind of confused about something though. I'm pretty sure I have configured both instances the same, however on one site the grid layout works fine and on the other the grid layout only ever shows 1 teaser irrespective of what I set the max number of grid columns to.

I know you're busy, any tips on where to look?

@ Nyristai, hopfrog, how did you get yours sorted?

Thanks,
Adrian

adrian pearce’s picture

Status: Active » Closed (fixed)

oops!

ok, I figured it out.. I had the "number of posts on front page" in site information set to 1... which apparently sets all grid layouts based on taxonomy such that you'll only ever have 1 node on a teaser page??

thanks anyway...

pyxio’s picture

Hi

Any progress on this? I have the same problem. Cheers, K