Remove the word "Updated:" but leave update date

FergusonFerguson Registered Users Posts: 1,345 Major grins
edited September 14, 2012 in SmugMug Support
It appears that the gallery updated information is all in one string. Is there any way to remove the word "Updated" but retain the date, short of walking the whole document with javascript and editing the text?

Clean removes the whole thing, the .updated class is the whole thing.

Is there some kind of language customization for example where "Updated" is defined, which I can set to blank?

Not a big deal, just trying to condense the gallery display while still showing the title and update date (actually in that regard would like to get rid of the time portion also).

I can write some java to walk the document I think, find all the strings and just replace/edit. Was hoping there was a formatting setting somewhere?

Comments

  • FergusonFerguson Registered Users Posts: 1,345 Major grins
    edited September 14, 2012
    On a related note, it appears that the image size returned for (non-square) gallery images on the subcategory page varies depending on the number of galleries.

    Is there a way to force that to one size? With non-square images using an explicit width doesn't seem to do it correctly as it might be portrait or landscape. I'm trying to force the containers to a certain size to get more columns, and it works fine with more than about 4 or 5 galleries (haven't figured out the magic number) but when I have (say) two, the image is suddenly bigger and is screwing up the text format I am letting float in the same box.
  • WendeeWendee Registered Users Posts: 171 Major grins
    edited September 14, 2012
    Unfortunately I don't see a way to separate the "updated" word within that class. There may be someone here who knows more than I do, but I imagine you would have to use a Javascript hack of some sort.

    I believe if you have five or fewer galleries within a subcategory, the thumbnails will be 150x150 if the thumbs are square. If you have six or more they'll be 100x100.

    If you need anything else, please let us know.


    Take care,
    Wendee
    SmugMug Support Hero
    http://help.smugmug.com/
  • FergusonFerguson Registered Users Posts: 1,345 Major grins
    edited September 14, 2012
    Thank you Wendee. And no way to force the thumbnails to one single size? The problem is predictability -- if I'm sizing space for them based on one size, and they come out bigger, it looks wrong. And yet if I go the other way I waste a lot of space. And sizing them explicitly doesn't appear viable since (unless I use square, which I hate) since it will distort them.

    The only thing I see to do is have category specific styles, look ahead of time to see how many galleries are in them, and hard code them -- and hope I remember if I add a new gallery.

    Or am I missing something?

    And yes -- again I could write javascript, but that's painful and frankly for something as simple as "how many columes of galleries do you get on a page" it really ought to be just a configuration setting somewhere -- it is shame I have to undertake a software development project for something that simple.
  • FergusonFerguson Registered Users Posts: 1,345 Major grins
    edited September 14, 2012
    Never mind.

    #galleriesBox .miniBox .photoLarge .imgBorder {max-height:100px;}

    This appears to do it, scaling down the thumbnail size.
Sign In or Register to comment.