20 Nov 2005

Falbum 0.5.6

Things have been busy busy busy on the Falbum front. 0.5.6 has just been released to iron out a .htaccess problem and it now uses Flickr’s new URL structure.


4 Responses to “Falbum 0.5.6”  

  1. 1 karmaOWL

    Just installed this version as my first implementation of FAlbum. A little tricky at first, but you can read my posts at its forums.

    I like your idea on your other site, by adding a page 1 and 2 navigation. I actually had a question I will probably take to the boards. On your /photos/page/2, you have an error under subpages that reads “Warning: Invalid argument … on line 378.” I get the same error on my main page. Any ideas how that could end up on my main page? I obviously have “subfolders”, which work. I’m thinking it has something to do with friendly urls and K2.

    Anyway, cool ideas.

  2. 2 Colin

    Oh yes, the 404 error was caused by the way I implement Falbum within Wordpress (see details). As a result, this adds the following line in the .htaccess file:

    RewriteRule ^(photos)/page/?([0-9]{1,})/?$ /blog/index.php?pagename=$1&paged=$2 [QSA,L]

    Just comment this out and the 404 error goes away, except it’ll re-appear everytime you use WP to update your .htaccess file.

    The error in the sidebar is indeed due to the K2 code. It’s the following bit in the sidebar.php

    <?php /* Creates a menu for pages beneath the level of the current page */
    	if (is_page()) {
    

    You can get rid of the error by changing it to look as follows:

    <?php /* Creates a menu for pages beneath the level of the current page */
    	if (is_page() && !is_paged()) {
    

    I have no idea what other effect it’ll have as I haven’t tested the change much, but it clears the error. I also don’t use the K2 sidebar on this site, instead I call a custom sidebar file when viewing my album, which I’m slowly enhancing.

  3. 3 karmaOWL

    I inserted the change, but to no avail. Same error. I think my problem my still lie in the .htaccess or falbum’s use of smart URLs. I say this because I have noticed when on the main photos page, the “navigation tab” is highlighted correctly, but once an album is selected, the browser goes to the correct page, only the “navigation tab” highligts blog. Hence, the full sidebar while displaying contents of an album–I suppose. Also, might explain why I still get the error on main photo page only.

    Irregardless, I realize K2 is still in beta and making something work is half the fun.

  4. 4 karmaOWL

    Thought I’d let you know that by adding enough albums to create a second page seemed to fix the invalid-argument-on-line-378 thing. Didn’t fix the tab highlighting “blog” on second page of photos, though. I noticed on your other site, you don’t have the error anymore, but on page two –using Safari– both your navigation and gallery tabs are highlighted. I’m no PHP expert, but I think after I go to the bookstore today I am going to try and look into it myself as well. Good Luck.

    Oh yeah, any old versions of your site; like a progression post or page (of sorts)? I’m thinking of doing such a thing after this semester is over. Mine have changed dramatically since the late nineties.

Get Commenting...

XHTML: If you want to use XHTML tags, please feel free to, but these tags only.