Closed (fixed)
Project:
Dynamic display block
Version:
7.x-1.0-beta1
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 May 2011 at 06:15 UTC
Updated:
9 Sep 2011 at 14:14 UTC
I'm using ddblock on drupal 7 and when i see the pager layout i see only 3 options and non of them are ugly on my site. is there any pager like drupal gardens sampler page? http://sampler.drupalgardens.com/
Regards,
Comments
Comment #1
ppblaauw commentedYou can use the upright10 slideshow theme as a basis, which has a number pager.
You can remove the counter from the content template file of the upright10 slideshow theme, so it will not show slide numbers.
You will need to style it in CSS so it looks like the example you give, (add an image for round buttons).
Hope this helps you further, please let me know.
Comment #2
achu68 commentedOk thank you but i'm new for drupal and i really need a tutorial to do this.
I found upright10 theme here: http://ddblock.myalbums.biz/download but can't fount any tutorial. where can i get a step by step tutorial?
Thanks,
Comment #3
ppblaauw commentedProbably you use the basic options of the ddblock module, seen your other issue.
That will not work with the upright10 slideshow theme (this is for the advanced option of the module).
For the basic option
You will need to copy the ddblock-cycle-block-content.tpl.php file from the module to your theme and adjust the number pager (don't print the number)
Further you need to style it with CSS like said before. (This is standard css styling. Tutorials about css can be found on the internet)
In the ddblock.css file in the folder css of the module you can find how the number pager is styled now.
You can override the styling in your own stylesheet.
Comment #4
achu68 commentedok thank you i have copied and i removed
but i'm not sure that is correct code (my php knowledge is zero). but do you think the drupal gardian slide show footer buttons only css b/c it works like navigation next and prev?
Comment #5
ppblaauw commentedline 37 change
to
So no number is printed in the pager items.
You need to clear the cache, so drupal is able to find the new tpl.php in the theme.
Comment #6
achu68 commentedI clear the cache but i still see the numbers when i apply your code. but when i remove the following line 61 & 62
hope those codes doesn't affect another thing.
Comment #7
ppblaauw commentedDepends which pager you have chosen in the configuration page.
If you have chosen the number pager the number pager will be used.
If you have chosen the prev/next pager the previous/next pager will be used.
For creating the required layout, its better to use the number pager instead of the prev/next pager.
Comment #8
achu68 commentedohhh... My bad! thank you! that seems fine now. if i can get a css clue that will be cool. other wise this issue is successfully fixed with appreciate!
Regards.
Comment #9
ppblaauw commentedsorry, can not give support for css.
It would be a day job when I start giving css support for slideshow theme requirements.
Comment #10
achu68 commentedNo pro, i will try by my self. I really appreciated your fast support. Thank you soooooo much!!!