#calendar-grid {
position: relative;
align: center;
float: left;
margin: 10px 20px 10px 20px
/*
width: 120px;
*/
}
Note:
1) i am not 100% sure that the div is legit for table??? I can test the code for you when available. May need to be <div id="calender-grid"><table></table></div>
2) CSS needs adjusting once displayed in the relevant theme, I can fix it to work with wind... when code is there. Thats probably easier than assuming too much
3) Maybe easier if the module grabs color etc from theme - I can fix that when code is ready
calendar grid might even fit within the same grid as albums and photos. If so that div can be added in the theme css where the album grid is controlled. Changes to the album grid view will be applied to calendar grid. The more changed in one place, the less code
Also horizontal lines should be removed from table for floats to work.
Concerning top box. I recommend it's removed for Css control instead.
The search form:
add an id to those as well, so they can be moved and themed and displayed inline etc. They should probably have seperate ids...
- one for user field
- one for year field
- one for "go" field
This way you give full layout control to themers as supposed.
Don't mean to be a hazzle, but this is a lot of work to everyone if not implemented this way...
Another thing, it seems the collapsable links below logo does not display in your modules. Why is that?
@mamouneyya -- I've re-written the code responsible for determining month and day names. Does this translate any better?
@hebhansen -- This should cover your CSS requests for the calendar and the top search box. If there's anything else I can do to make this better, please let me know.
hebhansen wrote:
Another thing, it seems the collapsable links below logo does not display in your modules. Why is that?
You mean the Home / Add / Options / etc menus? You should see the Home and (if you're logged in as an administrator) the admin menus. The other's don't display because their not relevant (you can't upload new photos because you're not in an album, you can edit photo details because a calendar is not a photo, etc).
sorts out the float issue, which I totally don't get. May be due to varying height of each month due to different number of days. Fixing height to 200 or similar gives equal height to all months in float definition and no month above will prevent the left float...
Thanks big time Rwatcher for your great support and great modules
I think the calender is a very interesting approach to browsing photos.
One more idea for this module:
You have the latest updates and in this album updates, where the latter only appears when required
The same could go for Calender. When viewing a photo a link to capture date is displayed that links to other images from that date. for albums maybe even displaying all capture dates within an album and links to other pics from same day(s)
@mamouneyya -- I've re-written the code responsible for determining month and day names. Does this translate any better?
That solved the problem! thanks.
By the way, the calendars were appearing from left to right under Arabic language with the new <div> approach. I could fix that simply by adding:
.rtl #g-calendar-grid {
float: right;
}
to the CSS file. It will be nice to add it to the original file, for RTL languages.
Um, I suppose I could help to a degree with that. I could probably write up some code to use images of flags instead of a drop-down box, and include a couple of flags by default. But you or someone else would then need to come up with a more extensive correspondence list to match the flag images up with the Gallery language codes.
I could probably write this as either a stand-alone module or code to be included with a custom theme. A module might be best, then you could turn it off/on depending of if you wanted the drop-down box or the flags.
Would that help you?
rWatcher
Joined: 2005-09-06
Posts: 722
Posted: Thu, 2010-03-04 21:25
hebhansen wrote:
The menu I refer to is the navigation menu
Gallery > Architecture > Empire State
Is not displayed
Gallery > Calender > 2009
Those links aren't (normally) displayed on modules because their designed to only show up on album and photo pages, not dynamic pages like search results, calendars, etc. As I've already taken the necessary steps to make the links show up on the calendarview search results pages, it's pretty simple to add into the calendar year view though.
hebhansen wrote:
And neither is the title for the view. Just wondered if thats intentional
Good catch, I've set the title to "Calendar: YEAR" and removed the year that was centered at the top of the page.
hebhansen wrote:
Finally - td.prev-next and td.today where are they used. I don't see any change when I edit those?
I believe those were left-over from the original calendar-generation library. I've removed them from the current CSS.
hebhansen wrote:
One more idea for this module:
You have the latest updates and in this album updates, where the latter only appears when required
The same could go for Calender. When viewing a photo a link to capture date is displayed that links to other images from that date. for albums maybe even displaying all capture dates within an album and links to other pics from same day(s)
Cool idea I think displaying links on the album page for every date in it could result in a potentially large list of links though. Instead I've set the module to display calendarview links for the day the photo was taken or that the album was created on, and an additional link for the entire month. I think that should work well enough.
mamouneyya wrote:
That solved the problem! thanks.
By the way, the calendars were appearing from left to right under Arabic language with the new <div> approach. I could fix that simply by adding:
.rtl #g-calendar-grid {
float: right;
}
to the CSS file. It will be nice to add it to the original file, for RTL languages.
Thanks again rWatcher
CSS added, thanks for the feedback
hebhansen
Joined: 2009-02-10
Posts: 573
Posted: Thu, 2010-03-04 10:04
I see myself as photo user twice. One as user and the other as admin. Thats fine since I registered both accounts. When selecting any of my user accounts, nothing is displayed. Empty search. When selecting all it displays right.
Did you add the link to capture date on photo pages. I don't see a link (display in sidebar or elsewhere?)
I see myself as photo user twice. One as user and the other as admin. Thats fine since I registered both accounts. When selecting any of my user accounts, nothing is displayed. Empty search. When selecting all it displays right.
Seeing both the admin and the regular user on the list is normal if both accounts have been used to upload photos. Accounts that don't have photos associated with them should be automatically removed from the list.
The empty search screen was definitely a bug. It should be fixed now.
hebhansen wrote:
Did you add the link to capture date on photo pages. I don't see a link (display in sidebar or elsewhere?)
It's on the sidebar. You may need to go to the Appearance -> Manage sidebar screen to activate it. It's labeled as "More photos from this date".
You got mail. and in addition, option to only display flag switcher in front would be great. radio button from admin
1) all pages
2) only front
By front, you mean the root Gallery album? The only problem I could see with this would be if someone finds your site using google, or is given a link to an album or photo, which could mean they'd start out on a page other then the first album. In this case they wouldn't be given a language selection choice...
hebhansen wrote:
Found the *more foto from date*. Very cool...
In my front it propose other pics from 4 november. Images there are a mix, so why this date???
I am not sure which module generates the tags in sidebar menu, but it might be this one. When I press any tag the site crash. When I click tags from cloud it works fine?
Quote:
Kohana_404_Exception [ Page Not Found ]:
The page you requested, tags/Dyrehaven, could not be found.
SYSPATH/libraries/Kohana_404_Exception.php[ 42 ]
37 * @throws Kohana_404_Exception
38 * @return void
39 */
40 public static function trigger($page = NULL)
41 {
42 throw new Kohana_404_Exception($page);
43 }
44
45 /**
46 * Sends 404 headers, to emulate server behavior.
47 *
Try it out at www.skunk.agentura.dk and go to a pic where the tags display at top, sidebar moved (I am cleaning image view, so don't barther the mess)
I am not sure which module generates the tags in sidebar menu, but it might be this one. When I press any tag the site crash. When I click tags from cloud it works fine?
I'm not aware of any way to dynamically switch the theme, so it's not something I could do. Your best option would probably be to design a custom theme with built-in detection code so it could dynamically adjust itself based on the client browser.
hebhansen
Joined: 2009-02-10
Posts: 573
Posted: Wed, 2010-03-10 08:35
Dang - Thanks
Mobile - php modules for Drupal are in the thread. They do this beautifully. They need transfer to G3. That's where you come in? If so I will start theming
This module floats all the way to the right and does not conform to the G3 width (margins both sides) Don't hardcode, someone might want the flexibility, but how can it conform so that doc3 4 etc are respected?
Hmm.. when I enabled mod_rewrite in .htaccess to avoid '/index.php', CalendarView became unable to redirect users to the right calendar page. It redirects to:
The initial calendar appears correctly, but if you choose any user with a year then click 'Go' you will see that. The same problem happens with your site too. I tried to show Eric's photo of 2010 and I saw a Dang page under:
while when I manually remove the repeated '/gallery3' it works good.
rWatcher
Joined: 2005-09-06
Posts: 722
Posted: Tue, 2010-03-16 05:48
Ah, okay. Digging...
Okay, if I'm interpreting this correctly: My module is telling gallery to display the URL "/gallery3/calendarview/calendar/2010/3" (which is generated via Gallery's url::site function). The url::redirect function is then seeing that it's been given a relative url and appending a base URL of http://www.example.com/gallery3 onto it before redirecting, which results in the /gallery3/gallery3/ thing happening.
I've modified the module to use an absolute url instead of a relative url, which seems to solve the problem.
mamouneyya
Joined: 2009-11-02
Posts: 337
Posted: Sat, 2010-03-13 19:24
It does. Thanks!
Serge D
Joined: 2009-06-11
Posts: 2466
Posted: Sat, 2010-03-13 21:57
Current code overrides themes layout with Wind one, breaking custom themes...
hebhansen
Joined: 2009-02-10
Posts: 573
Posted: Sat, 2010-03-13 23:26
So true Theme css is overwritten in this module and noone can keep track of hacked code in a G3
Rwacher, let evrything you can be controlled from theme. What has to be local should be styled from:
- Priority 1 custom.css (not in the pack)
- priority 2 default.css in the pack
Current code overrides themes layout with Wind one, breaking custom themes...
Yea, I know. It was the only way I could think of to make the module work the way I wanted it to though. If you'd like I can write up some custom CSS and view files to make it work with custom themes, just let me know which theme(s).
I've opened up a ticket requesting an "official" method for modules to use to create breadcrumb navigation links. That would probably make theming this module easier. https://sourceforge.net/apps/trac/gallery/ticket/1082
hebhansen
Joined: 2009-02-10
Posts: 573
Posted: Sun, 2010-03-14 07:21
In general I think theme infecting css should be left out.
No background, no border around #content etc.
In this module the padding of month is relevant. Would be nice to control this from admin
Also margin controlling the grid so to say
Note: height per month must be defined. Or it obstructs floats because they have different height.
I have problem with this calendar... It doesn't work...
What Gallery version do you have installed (should be listed all the way at the bottom of the page)?
Is the EXIF module enabled (it's required in order to figure out when pictures were taken)?
linkfan
Joined: 2010-03-15
Posts: 3
Posted: Mon, 2010-03-15 20:02
I have:
Gallery 3.0 RC1 (Santa Fe)
Exif enabled.
Regards
Linkfan
rWatcher
Joined: 2005-09-06
Posts: 722
Posted: Fri, 2011-03-04 04:23
@linkfan: It should work fine with that Gallery version. The only thing I can think of is maybe a file didn't transfer to your web server properly. Try removing the modules/calendarview directory and re-uploading it, and see if that fixes it (I've attached the latest version to this post).
@Everyone else: Updated version of CalendarView is attached to this post -- I've removed the background color code from the CSS, so it should look a little better on themes that don't specifically support it. I've also tweaked the sidebar code to only display Day/Month links when those days/months have photos taken on them.
linkfan
Joined: 2010-03-15
Posts: 3
Posted: Tue, 2010-03-16 10:40
rWatcher wrote:
@linkfan: It should work fine with that Gallery version. The only thing I can think of is maybe a file didn't transfer to your web server properly. Try removing the modules/calendarview directory and re-uploading it, and see if that fixes it (I've attached the latest version to this post).
It's not working I was uploding it for sevral times... Same with the newest version of calendar... On my other server it works smothly... Don't know what is wrong. Any idea? Apache configuration?
Regards
Linkfan
Edit:
It doesn't work with KeepOriginal module... When I disable it everything works again.
Well I tried making the default wind theme inaccessible and the calendar view still looks like the default wind theme.
What do I edit in the calandarview module to make the calendarview look wide like the widewind_click4next theme?
rWatcher
Joined: 2005-09-06
Posts: 722
Posted: Thu, 2011-04-21 20:46
I've updated the CalendarView module.
I've done a major re-write of the "year view" code to use significantly fewer database queries when determining which days photos were taken on. This will (hopefully) speed up page loads. I've also fixed a bug with Gallery 3.0.1 where the CSS doesn't load properly.
The current code can be downloaded from here, or from my github account.
nivekiam
Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2011-04-20 19:54
ping: rWatcher. Serge D has a request for a change/fix here: http://gallery.menalto.com/node/101807
____________________________________________
Like Gallery? Like the support? Donate now!
rWatcher
Joined: 2005-09-06
Posts: 722
Posted: Wed, 2012-06-13 22:58
nivekiam wrote:
ping: rWatcher. Serge D has a request for a change/fix here: http://gallery.menalto.com/node/101807
____________________________________________
Like Gallery? Like the support? Donate now!
This is the lastest version of CalendarView, which includes the bug fix reported by Serge D.
abelinho
Joined: 2011-08-01
Posts: 1
Posted: Mon, 2011-08-01 22:14
I need help to display all calendar years, I can only see the year 1970, I can not choose the other calendar years to make a search, please help!!!
rWatcher
Joined: 2005-09-06
Posts: 722
Posted: Wed, 2011-08-03 23:11
The years displayed in the drop-down box are automatically generated based on the years that photos were taken on, as specified by the "captured" field in the items table in the Gallery database. Normally, this information is extracted from a photos exif data when the picture is uploaded by the exif module. If you're only seeing one year then that's the only year the calendarview module was able to find in the database.
Usually this would happen if the EXIF module isn't installed, or if the photos don't have EXIF data to use to determine their date. If you look at the info block on the sidebar, does a valid date (outside of 1970) show up there?
BurgerZ
Joined: 2011-11-14
Posts: 4
Posted: Mon, 2011-11-14 09:26
Hi, rWatcher!
First of all - your module calendarview is great. But I can't use it because of its incompliance with cleancanvas theme. Could you do something with it?
The screen looks like I use wind theme, all photos are broken placed, in one column.
Thanx.
rWatcher
Joined: 2005-09-06
Posts: 722
Posted: Mon, 2011-11-14 21:50
BurgerZ wrote:
Hi, rWatcher!
First of all - your module calendarview is great. But I can't use it because of its incompliance with cleancanvas theme. Could you do something with it?
The screen looks like I use wind theme, all photos are broken placed, in one column.
Thanx.
Updated CalendarView module --
I've added code to display a few months on the user profile pages. If a user hasn't uploaded anything, it will display the last three months, otherwise it will start with the exif date taken month for the users newest photo and work backwards:
[img]http://gallery.menalto.com/files/calendarview_profile.png[/img]
I also pushed out a few updates onto git a month or two ago that I don't appear to have mentioned here -- replaced the annoying calpage.html.php file with Gallery 3.0.3's breadcrumb support and made the month and day view links work like virtual albums.
Latest version can be downloaded from the first post.
Posts: 573
The following is current html: january and february (for space issues I left out the rest)
Alternative html as stand-alone tables (global table removed entirely (bold text above))(note new id bolded below):
CSS:
Note:
1) i am not 100% sure that the div is legit for table??? I can test the code for you when available. May need to be <div id="calender-grid"><table></table></div>
2) CSS needs adjusting once displayed in the relevant theme, I can fix it to work with wind... when code is there. Thats probably easier than assuming too much
3) Maybe easier if the module grabs color etc from theme - I can fix that when code is ready
all the best
HB - http://www.image.agentura.dk
Posts: 573
calendar grid might even fit within the same grid as albums and photos. If so that div can be added in the theme css where the album grid is controlled. Changes to the album grid view will be applied to calendar grid. The more changed in one place, the less code
btw. This module is brilliant
all the best
HB - http://www.image.agentura.dk
Posts: 573
Also horizontal lines should be removed from table for floats to work.
Concerning top box. I recommend it's removed for Css control instead.
The search form:
add an id to those as well, so they can be moved and themed and displayed inline etc. They should probably have seperate ids...
- one for user field
- one for year field
- one for "go" field
This way you give full layout control to themers as supposed.
Don't mean to be a hazzle, but this is a lot of work to everyone if not implemented this way...
Another thing, it seems the collapsable links below logo does not display in your modules. Why is that?
all the best
HB - http://www.image.agentura.dk
Posts: 722
@mamouneyya -- I've re-written the code responsible for determining month and day names. Does this translate any better?
@hebhansen -- This should cover your CSS requests for the calendar and the top search box. If there's anything else I can do to make this better, please let me know.
You mean the Home / Add / Options / etc menus? You should see the Home and (if you're logged in as an administrator) the admin menus. The other's don't display because their not relevant (you can't upload new photos because you're not in an album, you can edit photo details because a calendar is not a photo, etc).
Posts: 573
Rwatcher: is this a challenge for you? Post in the thread if you work on it. Otherwise someone else might
http://gallery.menalto.com/node/94647#comment-337303
Will try out the latest fix above
The menu I refer to is the navigation menu
Gallery > Architecture > Empire State
Is not displayed
Gallery > Calender > 2009
And neither is the title for the view. Just wondered if thats intentional
all the best
HB - http://www.image.agentura.dk
Posts: 573
Very nice css control - spot on....
I have a couple of issues after cleaning the css a bit:
- July does not seem to float left correctly, all other months do, july floats right
I removed width definitions to control spacing by margin
link:
http://www.skunk.agentura.dk/index.php/index.php/calendarview/calendar/2009/-1
css at this point...
Finally - td.prev-next and td.today where are they used. I don't see any change when I edit those?
all the best
HB - http://www.image.agentura.dk
Posts: 573
adding to #g-calendar-grid:
sorts out the float issue, which I totally don't get. May be due to varying height of each month due to different number of days. Fixing height to 200 or similar gives equal height to all months in float definition and no month above will prevent the left float...
So be aware of this when theming this module
all the best
HB - http://www.image.agentura.dk
Posts: 573
Thanks big time Rwatcher for your great support and great modules
I think the calender is a very interesting approach to browsing photos.
One more idea for this module:
You have the latest updates and in this album updates, where the latter only appears when required
The same could go for Calender. When viewing a photo a link to capture date is displayed that links to other images from that date. for albums maybe even displaying all capture dates within an album and links to other pics from same day(s)
all the best
HB - http://www.image.agentura.dk
Posts: 573
Css working well and a bit explanatory
all the best
HB - http://www.image.agentura.dk
Posts: 337
That solved the problem! thanks.
By the way, the calendars were appearing from left to right under Arabic language with the new <div> approach. I could fix that simply by adding:
to the CSS file. It will be nice to add it to the original file, for RTL languages.
Thanks again rWatcher
Posts: 722
Um, I suppose I could help to a degree with that. I could probably write up some code to use images of flags instead of a drop-down box, and include a couple of flags by default. But you or someone else would then need to come up with a more extensive correspondence list to match the flag images up with the Gallery language codes.
I could probably write this as either a stand-alone module or code to be included with a custom theme. A module might be best, then you could turn it off/on depending of if you wanted the drop-down box or the flags.
Would that help you?
Posts: 722
Those links aren't (normally) displayed on modules because their designed to only show up on album and photo pages, not dynamic pages like search results, calendars, etc. As I've already taken the necessary steps to make the links show up on the calendarview search results pages, it's pretty simple to add into the calendar year view though.
Good catch, I've set the title to "Calendar: YEAR" and removed the year that was centered at the top of the page.
I believe those were left-over from the original calendar-generation library. I've removed them from the current CSS.
Cool idea I think displaying links on the album page for every date in it could result in a potentially large list of links though. Instead I've set the module to display calendarview links for the day the photo was taken or that the album was created on, and an additional link for the entire month. I think that should work well enough.
CSS added, thanks for the feedback
Posts: 573
I see myself as photo user twice. One as user and the other as admin. Thats fine since I registered both accounts. When selecting any of my user accounts, nothing is displayed. Empty search. When selecting all it displays right.
Did you add the link to capture date on photo pages. I don't see a link (display in sidebar or elsewhere?)
Sounds great about the flags, I will follow it in that other thread. I moved your comment above to that thread, so make sure to subscribe:
http://gallery.menalto.com/node/94647#comment-337399
all the best
HB - http://www.image.agentura.dk
Posts: 573
Rwatcher - flags are available to you in that other post - thanks for lending this one
all the best
HB - http://www.image.agentura.dk
Posts: 722
Seeing both the admin and the regular user on the list is normal if both accounts have been used to upload photos. Accounts that don't have photos associated with them should be automatically removed from the list.
The empty search screen was definitely a bug. It should be fixed now.
It's on the sidebar. You may need to go to the Appearance -> Manage sidebar screen to activate it. It's labeled as "More photos from this date".
Ok, thanks I sent you a private message regarding flags, which should be in your inbox.
Posts: 573
Not sure if you subscribe to the other thread....
You got mail. and in addition, option to only display flag switcher in front would be great. radio button from admin
1) all pages
2) only front
Found the *more foto from date*. Very cool...
In my front it propose other pics from 4 november. Images there are a mix, so why this date???
all the best
HB - http://www.image.agentura.dk
Posts: 722
By front, you mean the root Gallery album? The only problem I could see with this would be if someone finds your site using google, or is given a link to an album or photo, which could mean they'd start out on a page other then the first album. In this case they wouldn't be given a language selection choice...
If you're in an album, then it uses the album's creation date. There's a module for editing this date:
http://codex.gallery2.org/Gallery3:Modules:editcreation
Posts: 573
Yes you are right. Is it doable to display in root and on first page people arrive at no matter which one it is...?
I get it the albums creation date. That makes sence...
all the best
HB - http://www.image.agentura.dk
Posts: 573
I think we should move flag discuss to the other post. This may be valid info for others as well...
all the best
HB - http://www.image.agentura.dk
Posts: 573
Rwatcher - Dang something .....
I am not sure which module generates the tags in sidebar menu, but it might be this one. When I press any tag the site crash. When I click tags from cloud it works fine?
Try it out at www.skunk.agentura.dk and go to a pic where the tags display at top, sidebar moved (I am cleaning image view, so don't barther the mess)
all the best
HB - http://www.image.agentura.dk
Posts: 27300
Certainly not the Calendar module. Perhaps the tags module?
I would start a new thread.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 573
All I know is that Rwatcher created the block, it's the one that pops up only on image pages. Sure he will get notified from here...
Rwatcher - is this for you? A bit heavy but maybe doable
http://gallery.menalto.com/node/94828#comment-337862
all the best
HB - http://www.image.agentura.dk
Posts: 722
I believe that's the DisplayTags module. Make sure you're using the latest version, I thought that issue was fixed already:
http://gallery.menalto.com/node/89093#comment-332178
I'm not aware of any way to dynamically switch the theme, so it's not something I could do. Your best option would probably be to design a custom theme with built-in detection code so it could dynamically adjust itself based on the client browser.
Posts: 573
Dang - Thanks
Mobile - php modules for Drupal are in the thread. They do this beautifully. They need transfer to G3. That's where you come in? If so I will start theming
all the best
HB - http://www.image.agentura.dk
Posts: 573
Rwatcher:
This module floats all the way to the right and does not conform to the G3 width (margins both sides) Don't hardcode, someone might want the flexibility, but how can it conform so that doc3 4 etc are respected?
http://www.skunk.agentura.dk/index.php/calendarview/calendar
all the best
HB - http://www.image.agentura.dk
Posts: 337
Hmm.. when I enabled mod_rewrite in .htaccess to avoid '/index.php', CalendarView became unable to redirect users to the right calendar page. It redirects to:
and a Dang page appears.
Posts: 722
Works fine for me, are you sure you set up your .htaccess properly?
http://eric2001.brinkster.net/gallery3/calendarview/calendar/
Posts: 337
The initial calendar appears correctly, but if you choose any user with a year then click 'Go' you will see that. The same problem happens with your site too. I tried to show Eric's photo of 2010 and I saw a Dang page under:
while when I manually remove the repeated '/gallery3' it works good.
Posts: 722
Ah, okay. Digging...
Okay, if I'm interpreting this correctly: My module is telling gallery to display the URL "/gallery3/calendarview/calendar/2010/3" (which is generated via Gallery's url::site function). The url::redirect function is then seeing that it's been given a relative url and appending a base URL of http://www.example.com/gallery3 onto it before redirecting, which results in the /gallery3/gallery3/ thing happening.
I've modified the module to use an absolute url instead of a relative url, which seems to solve the problem.
Posts: 337
It does. Thanks!
Posts: 2466
Current code overrides themes layout with Wind one, breaking custom themes...
Posts: 573
So true Theme css is overwritten in this module and noone can keep track of hacked code in a G3
Rwacher, let evrything you can be controlled from theme. What has to be local should be styled from:
- Priority 1 custom.css (not in the pack)
- priority 2 default.css in the pack
in custom css. This means
all the best
HB - http://www.image.agentura.dk
Posts: 722
Yea, I know. It was the only way I could think of to make the module work the way I wanted it to though. If you'd like I can write up some custom CSS and view files to make it work with custom themes, just let me know which theme(s).
I've opened up a ticket requesting an "official" method for modules to use to create breadcrumb navigation links. That would probably make theming this module easier.
https://sourceforge.net/apps/trac/gallery/ticket/1082
Posts: 573
In general I think theme infecting css should be left out.
No background, no border around #content etc.
In this module the padding of month is relevant. Would be nice to control this from admin
Also margin controlling the grid so to say
Note: height per month must be defined. Or it obstructs floats because they have different height.
A form ex:
Color month background: aa55ff
margin
- top:
- right:
- bottom:
- left:
all the best
HB - http://www.image.agentura.dk
Posts: 3
I have problem with this calendar... It doesn't work...
[img]http://i39.tinypic.com/oarm9h.png[/img]
No logs, nothing...
Any ideas?
What should I post here about config?
PHP? APACHE?
php - 5.2.13
apache - 2.2.3
Posts: 722
What Gallery version do you have installed (should be listed all the way at the bottom of the page)?
Is the EXIF module enabled (it's required in order to figure out when pictures were taken)?
Posts: 3
I have:
Gallery 3.0 RC1 (Santa Fe)
Exif enabled.
Regards
Linkfan
Posts: 722
@linkfan: It should work fine with that Gallery version. The only thing I can think of is maybe a file didn't transfer to your web server properly. Try removing the modules/calendarview directory and re-uploading it, and see if that fixes it (I've attached the latest version to this post).
@Everyone else: Updated version of CalendarView is attached to this post -- I've removed the background color code from the CSS, so it should look a little better on themes that don't specifically support it. I've also tweaked the sidebar code to only display Day/Month links when those days/months have photos taken on them.
Posts: 3
It's not working I was uploding it for sevral times... Same with the newest version of calendar... On my other server it works smothly... Don't know what is wrong. Any idea? Apache configuration?
Regards
Linkfan
Edit:
It doesn't work with KeepOriginal module... When I disable it everything works again.
Edit2:
All works with keeporiginal.git Sorry...
Regard Linkfan
Posts: 573
Rwatcher:
is this a challenge for you?
http://gallery.menalto.com/node/95003
all the best
HB - http://www.image.agentura.dk
Posts: 41
Great Module!!
Funny how it seems to use the default wind theme.
I use the theme, widewind_click4next modified to have random album images, myself.
I wonder if I deleted the the default wind theme completely what would happen with canendarview?
http://nerveroot.net
Well I tried making the default wind theme inaccessible and the calendar view still looks like the default wind theme.
What do I edit in the calandarview module to make the calendarview look wide like the widewind_click4next theme?
Posts: 722
I've updated the CalendarView module.
I've done a major re-write of the "year view" code to use significantly fewer database queries when determining which days photos were taken on. This will (hopefully) speed up page loads. I've also fixed a bug with Gallery 3.0.1 where the CSS doesn't load properly.
The current code can be downloaded from here, or from my github account.
Posts: 16504
ping: rWatcher. Serge D has a request for a change/fix here:
http://gallery.menalto.com/node/101807
____________________________________________
Like Gallery? Like the support? Donate now!
Posts: 722
This is the lastest version of CalendarView, which includes the bug fix reported by Serge D.
Posts: 1
I need help to display all calendar years, I can only see the year 1970, I can not choose the other calendar years to make a search, please help!!!
Posts: 722
The years displayed in the drop-down box are automatically generated based on the years that photos were taken on, as specified by the "captured" field in the items table in the Gallery database. Normally, this information is extracted from a photos exif data when the picture is uploaded by the exif module. If you're only seeing one year then that's the only year the calendarview module was able to find in the database.
Usually this would happen if the EXIF module isn't installed, or if the photos don't have EXIF data to use to determine their date. If you look at the info block on the sidebar, does a valid date (outside of 1970) show up there?
Posts: 4
Hi, rWatcher!
First of all - your module calendarview is great. But I can't use it because of its incompliance with cleancanvas theme. Could you do something with it?
The screen looks like I use wind theme, all photos are broken placed, in one column.
Thanx.
Posts: 722
Stick this file in your "themes/cleancanvas/views" folder and it should work fine:
https://raw.github.com/rWatcher/gallery3-contrib/master/3.0/modules/tag_albums/--%20Theme%20Files/clean_canvas%201.0.7/views/calpage.html.php
Posts: 4
Thank you very very much!! It works!! U R da MAN!
Posts: 722
Updated CalendarView module --
I've added code to display a few months on the user profile pages. If a user hasn't uploaded anything, it will display the last three months, otherwise it will start with the exif date taken month for the users newest photo and work backwards:
[img]http://gallery.menalto.com/files/calendarview_profile.png[/img]
I also pushed out a few updates onto git a month or two ago that I don't appear to have mentioned here -- replaced the annoying calpage.html.php file with Gallery 3.0.3's breadcrumb support and made the month and day view links work like virtual albums.
Latest version can be downloaded from the first post.