Closed (fixed)
Project:
Album Photos
Version:
6.x-2.5-beta3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2008 at 22:03 UTC
Updated:
4 Aug 2013 at 06:08 UTC
Jump to comment: Most recent file
Comments
Comment #1
summit commentedHi,
I succeeded and got rid of the disc with using the following in my theme:
Could I make this .item-list ul li only work for this block-photos please? I do not know how to get this done.
Thanks for your reply!
See www.aguilas.me for the result.
greetings,
Martijn
Comment #2
MiraKimura commentedi need an answer for this too...
Comment #3
Fogg commentedHi folks,
I wanted the same thing... here is my way for it :)
Go to photos.module and search 'function _photos_block_image'. In here I changed
to
Repeat the same thing at 'function _photos_block_album' for this part:
This way I add a new CSS class that I can use in the photos.css. This is the new part there:
Don't know if this is the best way to do it, but it works. It also removed the bullet images in front of the images.
Hope that helps - and if it is totally screwing things up, let me know how to do it better.##
Cheers
Fogg
Comment #4
Fogg commentedLearned that I should post patches rather than code. Here we go :)
Comment #5
Fogg commentedUpdate, combined the code-update with the CSS update.
Comment #6
eastcn commentedUse css to achieve, rather than modify the code:
copy to themes/mytheme/style.css
Comment #7
Fogg commentedI could not figure out with CSS would only modify the photo-block, that is why I added this to the code.
I will check again with your suggestion. If it works - great ;)
Comment #8
causalloop commentedthis may seem like a stupid question, but how do you use the patch?
Comment #9
madhusudan commented@Fogg
I applied the patch but don't know why its no working.. but somehow fixed by adding a new class under "ul" tag
here how i did.
edit photos.module file
search for "function theme_photos_block($images = array(), $type){"
then at the end of this function you will find
return theme('item_list', $item);replace this with
return theme('item_list', $item,$title = NULL, $type = 'ul', $attributes =array('class'=>'grid-image'));edit photos.css file which is inside css folder
and add this
@causalloop
typical patching in linux
patch -p0 < filemanager-private.patch
check here for more info..
http://drupal.org/patch
Comment #10
madhusudan commentedrepost truncated.....
Comment #11
nathaniel commented