Please login or register.
Login with username, password and session length
May 25, 2013, 01:29:09 PM
News: We're back! And here to stay!
collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

you must provide a description by kasix
[Yesterday at 11:48:59 PM]


Fatal error: by mailtobala04
[May 17, 2013, 04:36:20 PM]


Backend Items (Images) don't work by bauchinj
[May 15, 2013, 04:18:55 PM]


Permissions issue: a user can upload images in other user galleries by guidocx84
[May 11, 2013, 05:17:44 PM]


Payment after loggin by mirjam
[May 11, 2013, 03:02:56 PM]


image titles without dashes by mirjam
[May 11, 2013, 02:57:48 PM]


Batch Upload Fails by mirjam
[May 11, 2013, 02:52:08 PM]


Slow Gallery with many Photos by mirjam
[May 11, 2013, 02:49:36 PM]

Advertisement


Pages: [1]   Go Down

Author Topic: Extra Field/ Line For Gallery Date/ Extra Information  (Read 470 times)

Offline scene66

  • Newbie
  • *
  • Posts: 23

Extra Field/ Line For Gallery Date/ Extra Information
« on: August 19, 2012, 02:28:37 PM »
Wishlist Feature

I'm using the Latest Gallery module (it's great). If the gallery description is too long, the text pushes the adjoining gallery thumb away from the grid.

In the screenshot, I have had to shorten the description of the galleries to avoid this. For my application I also need to list the date of the event which puts greater stress on the length of the description. I note the event date (an optional function already in the module) is different to the upload date.

An ideal solution in this instance would be to have 2 lines of text. Perhaps an extra field as the second line? Perhaps the text wraps after a certain amount of characters.

Offline mirjam

  • Dev Team
  • Hero Member
  • *****
  • Posts: 558

Re: Extra Field/ Line For Gallery Date/ Extra Information
« Reply #1 on: August 20, 2012, 10:30:20 AM »
If my description is too long the image moves up and the image upload date moves down. I can use CSS to get around that by giving the div element for the name a height:
Code: [Select]
div.mod_rsgallery2_latest_galleries_name {
    height: 41px;
    text-align: center;
}
(I use Firebug to test and try what height I like best and then it's to the user's judgement if there should be room for 1, 2, 3 or more lines). Perhaps you also need a width CSS setting for this div, but that's hard to tell without knowing your exact settings. My settings are 3x4 display images with a CSS img height of 100 (pixels) and a CSS div width of 100 (pixels). This wraps my longer descriptions to two lines.

The date of the image is the date the gallery was created. At the moment this cannot be edited (and sadly, in the near future I won't have time to do anything about that).
Suddenly on maternity leave: our baby boy was born a few weeks early, he's doing well now.
For the next couple of weeks I won't available, for true emergences pm locutusweb please.

I hope that RSGallery2 users will help each other out in the mean time.

Offline scene66

  • Newbie
  • *
  • Posts: 23

Re: Extra Field/ Line For Gallery Date/ Extra Information
« Reply #2 on: August 20, 2012, 03:31:55 PM »
Quote from: mirjam
If my description is too long the image moves up and the image upload date moves down. I can use CSS to get around that by giving the div element for the name a height:
Code: [Select]
div.mod_rsgallery2_latest_galleries_name {
    height: 41px;
    text-align: center;
}

Gold.

Quote from: mirjam
Perhaps you also need a width CSS setting for this div ...

I guessed the code of {width: xxxpx} and it worked.

Thank you again for simply brilliant support.

Offline mirjam

  • Dev Team
  • Hero Member
  • *****
  • Posts: 558

Re: Extra Field/ Line For Gallery Date/ Extra Information
« Reply #3 on: August 20, 2012, 06:05:09 PM »
Your welcome :-)

You just may have some fun taking a look at http://www.w3schools.com/tags/tag_div.asp and
http://www.w3schools.com/tags/tag_img.asp. That's the main page where I start(ed) learning CSS and the div and img tags you already know some things about now.
Suddenly on maternity leave: our baby boy was born a few weeks early, he's doing well now.
For the next couple of weeks I won't available, for true emergences pm locutusweb please.

I hope that RSGallery2 users will help each other out in the mean time.

Offline mirjam

  • Dev Team
  • Hero Member
  • *****
  • Posts: 558

Re: Extra Field/ Line For Gallery Date/ Extra Information
« Reply #4 on: October 05, 2012, 05:32:14 PM »
I have a Latest Galleries module on the front page of the site (which I use for global content).

It would be very useful when creating a second version of the Latest Galleries module on other pages to be able to select sub-galleries (or Gallery ID) for content specific to the sub-page.

Please try and test the attached version.

Added are the possibility to include a specific set of galleries and optional also their subgalleries and the height of the div with the galleryname can be set in the paramters.
Suddenly on maternity leave: our baby boy was born a few weeks early, he's doing well now.
For the next couple of weeks I won't available, for true emergences pm locutusweb please.

I hope that RSGallery2 users will help each other out in the mean time.

Offline scene66

  • Newbie
  • *
  • Posts: 23

Re: Extra Field/ Line For Gallery Date/ Extra Information
« Reply #5 on: October 07, 2012, 03:16:37 PM »
I have a Latest Galleries module on the front page of the site (which I use for global content).

It would be very useful when creating a second version of the Latest Galleries module on other pages to be able to select sub-galleries (or Gallery ID) for content specific to the sub-page.

Please try and test the attached version.

Absolutely perfect! Very powerful function. How functional can this module get?

I'm off to make a small financial contribution! Thank you.

Offline mirjam

  • Dev Team
  • Hero Member
  • *****
  • Posts: 558

Re: Extra Field/ Line For Gallery Date/ Extra Information
« Reply #6 on: October 08, 2012, 01:22:19 PM »
Thanks for all of your feedback!

The module is now released and available on JoomlaCode as well: http://joomlacode.org/gf/project/rsgallery2/frs/?action=FrsReleaseView&release_id=17592
Suddenly on maternity leave: our baby boy was born a few weeks early, he's doing well now.
For the next couple of weeks I won't available, for true emergences pm locutusweb please.

I hope that RSGallery2 users will help each other out in the mean time.
Pages: [1]   Go Up