how to turn off Smugmug Album info

General questions on how to do things using Photonic

how to turn off Smugmug Album info

Postby wanakamura » 19 Feb 2012, 08:36

Hi,
One more thing:
Everything work good http://krochmal.eu/piancavallo/
but I need to turn off part with Album name, linkable photo and numbers of photo. /part between two dividers.
Is it possible?
Best Regards
wanakamura
 
Posts: 4
Joined: 16 Feb 2012, 03:36

Re: how to turn off Smugmug Album info

Postby Colin » 19 Feb 2012, 08:51

Add the following to your Custom Styles

Code: Select all
.photonic-flickr-set, .photonic-flickr-gallery, .photonic-smug-album, .photonic-smug-category, .photonic-smug-sub-category {display: none;}
Colin
 
Posts: 2785
Joined: 27 Oct 2009, 10:46

Re: how to turn off Smugmug Album info

Postby heymeredith » 11 Mar 2012, 23:19

Edit the plugin and remove this code from the SmugMug processor .php file (do this at your own risk; I figured it out on my own but AM NOT A PLUGIN DEVELOPER so this could be completely wrong -- it works on my site but it may not work on yours):

Code: Select all
$insert .= "<div class='photonic-smug-album'>";
$insert .= "<a class='photonic-header-thumb photonic-smug-album-solo-thumb' href='{$album->URL}'><img class='random-image' src='https://secure.smugmug.com/photos/random.mg?AlbumID={$album->id}&AlbumKey={$album->Key}&Size=75x75&rand=$rand' /></a>";
$insert .= "</div>";
$insert .= "<div class='photonic-header-details photonic-smug-album-details'>";
$insert .= "</div>";
$insert .= "<div class='photonic-header-title photonic-smug-album-title'>";
$insert .= "<a href='{$album->URL}'>".$album->Title."</a>";
$insert .= "</div>";
$insert .= "<span class='photonic-header-info photonic-set-pop-info'>".sprintf(__('%s photos', 'photonic'), $album->ImageCount)."</span>";
heymeredith
 
Posts: 2
Joined: 11 Mar 2012, 23:09

Re: how to turn off Smugmug Album info

Postby Colin » 12 Mar 2012, 00:01

Hiding it with the CSS is safer than editing the plugin because next time you update the plugin you will lose the customisation and have to do it over, the CSS will still be there and work.
Colin
 
Posts: 2785
Joined: 27 Oct 2009, 10:46

Re: how to turn off Smugmug Album info

Postby wanakamura » 19 Mar 2012, 12:19

By CSS is not working in my case :(
wanakamura
 
Posts: 4
Joined: 16 Feb 2012, 03:36

Re: how to turn off Smugmug Album info

Postby sayontan » 19 Mar 2012, 12:26

Use a higher specificity:
Code: Select all
.photonic-smug-stream .photonic-smug-album { display: none; }
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: how to turn off Smugmug Album info

Postby boomerakl » 30 Oct 2012, 22:00

sayontan wrote:Use a higher specificity:
Code: Select all
.photonic-smug-stream .photonic-smug-album { display: none; }



LEGEND! worked first time.
many thanks. :D
boomerakl
 
Posts: 1
Joined: 30 Oct 2012, 21:59


Return to Support Requests

Who is online

Users browsing this forum: No registered users and 0 guests