Overview of the work thumbnails are not in a row

info's picture
info
Fri, 11/11/2011 - 14:36
#1
Overview of the work thumbnails are not in a row

i added a few of my projects to "our work" . and they come not in a row.. in the third line i always get a gap of three thumbnails..

any help?

 

here ist a screenshot...

 

Neo's picture
Neo
Sat, 11/12/2011 - 12:05

Hi,

Can you send me your link? If you want to keep link private, you can send to email [email protected]

Best,

Neo Khuat

info's picture
info
Sun, 11/13/2011 - 13:02

hi,

no problem.. heres the link: http://roberthak.de/hak2012/our-works

 thank you very much for your help

Neo's picture
Neo
Sun, 11/13/2011 - 23:59

This is javascript problems, you can update version 7.x-2.1 to fixed this. Or open your /sites/all/themes/md_classic/js/script.js:

Find 

$('.work-3col .article-type-work-teaser:nth-child(4n), .work-3col .views-row:nth-child(4n) .article-type-work-teaser, .work-4col .article-type-work-teaser:nth-child(5n), .work-4col .views-row:nth-child(5n) .article-type-work-teaser')

and replace with:

$('.work-3col .article-type-work-teaser:nth-child(3n+4), .work-3col .views-row:nth-child(3n+4) .article-type-work-teaser, .work-4col .article-type-work-teaser:nth-child(4n+5), .work-4col .views-row:nth-child(4n+5) .article-type-work-teaser')

Best,

Neo Khuat

info's picture
info
Mon, 11/14/2011 - 08:58

thanks very much! i copied the script.js from the new version and all works perfekt.

in the first step i updated the whole theme directory and then my slider only showed all the slider images showed among one another without a slider..

but i can live with the js fix.. thanks very much for your fast help..

 

cheers

rob

info's picture
info
Tue, 11/15/2011 - 19:37

Hello Neo Khuat,

i have made a taxonomy term named print to group my work and now i got the same problem again...

you can see it here... is there a solution?

http://neu.hakdesign.de/our-works/print

Neo's picture
Neo
Wed, 11/16/2011 - 11:42

Hi Rob,

can you try to remove taxonomy description? I'll find another solution to work with taxonomy description

Best,

Neo

info's picture
info
Fri, 11/18/2011 - 06:25

sorry neo.. dont know what you mean with removing the taxonomy description?.. any hint?

 

thanks

 

rob

Neo's picture
Neo
Sun, 11/20/2011 - 05:46

Sure, please go to Structure -> Taxonomy and click to "list terms" next your taxonomy. You'll see a list of terms now, click edit on each term and remove all text from "description" textarea

Best

Neo Khuat

info's picture
info
Sun, 11/20/2011 - 08:23

hello neo,

i have removed all the descriptions but its still the same problem: http://roberthak.de/hak2012/our-works/print

any ideas?

thanks

rob

 

Neo's picture
Neo
Mon, 11/21/2011 - 22:46

Hi Rob, I tried to go to http://roberthak.de/hak2012/our-works/print but it shows blank page

info's picture
info
Tue, 11/22/2011 - 19:29

okay.. i damaged my installation ... have to start from scratch.. :( .. ill send you the link when i got it running again

 

 

Neo's picture
Neo
Wed, 11/23/2011 - 06:00

sure Rob, I'm alway here to help you!

info's picture
info
Thu, 11/24/2011 - 14:09

hi neo,

here again my overview page of the taxonomy "books".. still not in a row

http://neu.hakdesign.de/books

 

thanks for your help

Neo's picture
Neo
Thu, 11/24/2011 - 22:42

Hi Rob,

please update your script.js file (/sites/all/themes/md_classic/js/script.js) with this file:

http://dl.dropbox.com/u/11090063/megadrupal/md_classic/script-7.x-2.3.js (remember to rename to script.js)

For future update, you do not need to replace this file again.

Have fun,

Neo Khuat

info's picture
info
Mon, 11/28/2011 - 19:10

thanks neo... workd very fine...

one more thing... can you tell me where can i configure how many thumbs i see in the overview!

Look here.. there are 6 thumbs and i dont want the next/prev page navigation:  http://neu.hakdesign.de/books

 

Thanks very much for your support

 

Rob

Neo's picture
Neo
Mon, 11/28/2011 - 23:06

Hi Rob, 

For thumbs display, you can go to Configuration -> Site information (/admin/config/system/site-information) and change number of posts on front page. But this will change all taxonomy page such as blog term...

I have a trick for "worktags" only (use "page manager" from ctools, page manager redirect & views):

  1. After enable 3 modules (page manager, page manager redirect & views), go to Structure -> Views and clone "Taxonomy term" to new views, change path to "work/%", and change PAGER to show all values 
     
    You can change filter or leave it default. 
  2. Save view and go to Structure -> Pages (/admin/structure/pages) & enable "Taxonomy term template"
  3. Click "edit" next "Taxonomy term template"
  4. Here you need to add new variant type "redirect"
     
  5. Next, fill "work/%term:tid" to "URL path to redirect to"
     
  6. Click to "Selection rules" and follow this image:
     

That all, hope you can make it works!!!Best,Neo Khuat

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.