Hi, krusch. I know what you mean. I did an install for a
photographer and I decided to go CSS for layout. I did major
customisations on the default theme and came up with
www.sarelgreyling.co.za/events/
Lemme know if you want a copy of the theme files for
inspiration.
Regards
Arno
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Since I wanted this as well, I have written it over the last two
weeks. Using matrix as a baseline, I have built a floating div
system for album thumbnails that is 90% complete. It:
A) turns on or off in a theme admin via checkbox,
B) adds boxes for default # of thumbnails, width of div, and height
of div to the theme admin page if checkbox above is checked.
C) Setting width and height makes uniform blocks for a clean
matrix. Unsetting the values rubberbands the div to smallest
possible, but causes holes in the matrix if heights are uneven.
D) Adds a sidebar block for the user/anon to select the number of
thumbnails to display, or use the default, and saves the value for
the session.
E) Cascades down a priority path of session, theme setting, or
old fashioned theme Row x Column.
F) Does not save to a registered user database. Someone else
will have to do that part. That, along with localization is the last
10%.
G) A fancy extension to it would be querying the window size,
subtracting the sidebar area, and calculating the optimimum
number of thumbnails to display so there are no scroll bars or
white space. I couldn't figure how to get the info from javascript
down to the php level to use before the screen is drawn. I might
be able to wedge it into the sidebar block. Suggestions welcome.
I had it all ready to package and submit, and then RC2 came out.
So, I am upgrading first, and then will submit it later this week.
How do you want the changes? Patch or tarball of changed
files?
Changes:
Add file modules/core/ChangeFloatingThumbs.inc
Add 1 case inside modules/core/Callbacks.inc
Add 3 parts inside modules/core/classes/GalleryTheme.class
Add 1 part inside modules/core/templates/blocks/blocks.inc
many changes as themes/matrix/templates/local/album.tpl
which, if diffed against the original, shows how to use in any
other theme.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
coloredpixels, how about attaching your code to a forum post
(G2 dev or customization forum). A new self contained theme
would be better than patching core+matrix but of course any
new code to share is great.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, in testing and setting up a demonstration site, I found that
the changes in core caused upgrade/multisite to fail. So, I started
over. I have A, B, and C done, and am puzzling over the rest. I
should be able to thow some time at it this weekend, and ask for
help if I get stuck then. The selector (clone of language selector)
can be moved from core into a module, but where do I stuff a
callback case from Callbacks.inc into? That is where I am getting
stuck.
http://gallery.coloredpixels.com/
is setup to demonstrated the code, It also has links in the album
header for the work in progress code, and screen shots of the
admin page for the theme showing what changed. Since one
admin checkbox is all that is needed to switch between the old
behaviour and this new style, (and once it is finished) I'll be
submitting it to be considered as a possible upgrade for matrix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
any module can have a Callbacks.inc.. just create the file
and use the callback from a tpl file. If you have more
questions please start a topic in the G2 dev forum, thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1034752
Site Admin > (Display) Layouts and Themes > Matrix (Tab)
"Columns per page"
Is that what you were looking for?
Logged In: YES
user_id=365576
> "Columns per page"
> Is that what you were looking for?
Not really, this is a fixed value that does not take into
account the available width of the page in a liquid design.
On high resolution screens a low number of columns results
in lots of whitespace, on low resolution screens a high
number of columns may not fit.
Logged In: YES
user_id=73882
Hi, krusch. I know what you mean. I did an install for a
photographer and I decided to go CSS for layout. I did major
customisations on the default theme and came up with
www.sarelgreyling.co.za/events/
Lemme know if you want a copy of the theme files for
inspiration.
Regards
Arno
Logged In: YES
user_id=70034
Siriux layout in G2 uses float:left.
Logged In: YES
user_id=1337066
Since I wanted this as well, I have written it over the last two
weeks. Using matrix as a baseline, I have built a floating div
system for album thumbnails that is 90% complete. It:
A) turns on or off in a theme admin via checkbox,
B) adds boxes for default # of thumbnails, width of div, and height
of div to the theme admin page if checkbox above is checked.
C) Setting width and height makes uniform blocks for a clean
matrix. Unsetting the values rubberbands the div to smallest
possible, but causes holes in the matrix if heights are uneven.
D) Adds a sidebar block for the user/anon to select the number of
thumbnails to display, or use the default, and saves the value for
the session.
E) Cascades down a priority path of session, theme setting, or
old fashioned theme Row x Column.
F) Does not save to a registered user database. Someone else
will have to do that part. That, along with localization is the last
10%.
G) A fancy extension to it would be querying the window size,
subtracting the sidebar area, and calculating the optimimum
number of thumbnails to display so there are no scroll bars or
white space. I couldn't figure how to get the info from javascript
down to the php level to use before the screen is drawn. I might
be able to wedge it into the sidebar block. Suggestions welcome.
I had it all ready to package and submit, and then RC2 came out.
So, I am upgrading first, and then will submit it later this week.
How do you want the changes? Patch or tarball of changed
files?
Changes:
Add file modules/core/ChangeFloatingThumbs.inc
Add 1 case inside modules/core/Callbacks.inc
Add 3 parts inside modules/core/classes/GalleryTheme.class
Add 1 part inside modules/core/templates/blocks/blocks.inc
many changes as themes/matrix/templates/local/album.tpl
which, if diffed against the original, shows how to use in any
other theme.
Logged In: YES
user_id=70034
coloredpixels, how about attaching your code to a forum post
(G2 dev or customization forum). A new self contained theme
would be better than patching core+matrix but of course any
new code to share is great.
Logged In: YES
user_id=1337066
Well, in testing and setting up a demonstration site, I found that
the changes in core caused upgrade/multisite to fail. So, I started
over. I have A, B, and C done, and am puzzling over the rest. I
should be able to thow some time at it this weekend, and ask for
help if I get stuck then. The selector (clone of language selector)
can be moved from core into a module, but where do I stuff a
callback case from Callbacks.inc into? That is where I am getting
stuck.
http://gallery.coloredpixels.com/
is setup to demonstrated the code, It also has links in the album
header for the work in progress code, and screen shots of the
admin page for the theme showing what changed. Since one
admin checkbox is all that is needed to switch between the old
behaviour and this new style, (and once it is finished) I'll be
submitting it to be considered as a possible upgrade for matrix.
Logged In: YES
user_id=70034
any module can have a Callbacks.inc.. just create the file
and use the callback from a tpl file. If you have more
questions please start a topic in the G2 dev forum, thanks.
Logged In: YES
user_id=1337066
Done as a FloatingMatrix theme and floatthumb module. See http:/
/gallery.menalto.com/node/37615
Logged In: YES
user_id=978504
This change will be going into core I'm pretty sure..
marking as pending please reopen if I am incorrect
Logged In: YES
user_id=1312539
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).