Keyword albums module

ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Thu, 2007-03-01 20:49

Great module Mindless! I was so excited to see keyword albums available through gallery now. I have two questions though:

1st) Inoticed that each keyword separated by a space is treated as a separate keyword tag by the module. For instance, I would like "washington DC" to be treated as one word, and not as "Washington" and "DC". The development codex states that the module has the ability to separate the keywords "by space, comma, or semicolon"...I don't see any option in the module setup to change that though. Does anyone know where that may be?

2nd) I enabled URL rewrite for the module, but I see that the keywords are still followed by a highlight ID, i.e. http://andrewprokos.com/photo-keyword/washington?g2_highlightId=1245

Is there any way to get rid of the highlightID altogether or will that break the functionality?

-------------------------------

Cityscape Photography by Andrew Prokos

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2007-03-01 20:54

we assume you're using g2.2 and g2.2's keyword album module.

the settings for the separator are at: site admin -> keyword album

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 03:01

I am using 2.2 and site admin--->keyword albums does not have any settings dealing with the separator. I am running off of a nightly build...perhaps I need to update the module:

Gallery version = 2.2-svn core 1.1.16

Here are the current options available to me:

"Keyword Links
Display of Keyword Albums
Sort order
Description
Text for theme to display with all Keyword Albums.
Theme"

Thanks

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 03:20
 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 13:55

The only problem is that I can't find the current version to download anywhere on this site...it's not in user contributed modules or with integrated modules. I don't want to install the latest version of gallery as I'm afraid it will break my zencart links to my store...which tends to happen very easily. Is it posted anywhere on its own?

Thanks

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 14:47

As Roseanne Roseanadanna used to say "Never mind!"...I found it here:

http://codex.gallery2.org/index.php?title=Gallery2:Download&oldid=13441#Modules

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 14:51

the way to upgrade / install modules since g2.2 is through site admin -> plugins -> more plugins.
see: docs -> installation -> installing other components.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 15:13

I installed 0.9.4 and it doesn't show any options for choosing a separator either...when I tried to save the settings I get:

"There was a problem processing your request."

I uninstalled and tried again via the plugins panel, but it says the latest version is 0.9.1. I guess this means that 0.9.4 will not work with my version of Gallery. Perhaps that's why the separator option isn't showing?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 15:26

- in the more plugins page, add the "experimental" repository, redownload the list and voila, you'll get the option to download the latest version of that module.

- in keyalbum 0.9.4, you should see the separator options in site admin -> keyword album

- i assume you're using 2.2 rc-1 or rc-2 (or any recent svn version or nightly snapshot)

- @"There was a problem processing your request.":
no idea where you get that. but that error doesn't seem to come from g2.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 15:31

Here is the version I am using: Gallery version = 2.2-svn core 1.1.16

Even though I am getting errors with v.0.9.4 and the separator option doesn't show it is still functioning, as I see that all the keywords are now separated properly. However, I have lost the ability to select which type of album I want the links to show on. They are automatically showing on every album, which I don't want. I am going to uninstall and try again

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 15:38

ok, I uninstalled and tried to reinstall using 'get more plugins'. The install failed and produced this error:

Error (ERROR_STORAGE_FAILURE) : Integrity check failed for '/home/aprokos/public_html/gallery2/modules/keyalbum/MANIFEST'.

* in modules/core/classes/GalleryRepository.class at line 601 (gallerycoreapi::error)
* in modules/core/AdminRepositoryDownload.inc at line 207 (galleryrepository::verifypackageintegrity)
* in ??? at line 0 (adminrepositorydownloadcontroller::performdownloadandinstallation)
* in modules/core/classes/GalleryTemplateAdapter.class at line 890
* in /usr/local/g2data/smarty/templates_c/%%2667071110/%%0D^0DA^0DA1A5CF%%theme.tpl.php at line 956 (gallerytemplateadapter::trailer)
* in lib/smarty/Smarty.class.php at line 1258
* in modules/core/classes/GallerySmarty.class at line 61 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 208 (gallerysmarty::fetch)
* in index.php at line 424 (gallerytemplate::display)
* in index.php at line 91
* in index.php at line 84
* in /home/aprokos/public_html/index.php at line 3

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 15:40

core version 1.1.16 is a little older. current is 1.1.30.
maybe you use local/ templates or so that change keyalbum's admin page.
but what you should see there is:

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

AttachmentSize
keyword_album_0.9.4_g2.2_site_admin.png80.32 KB
 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 15:50

The only thing that doesn't show is the "split albums on" setting. Automated upgrade via get more plugins won't install the new version at all, and when I install it manually I gain the separator functionality even though the option doesn't appear in the keyword album admin page. I also lose the ability to select which type of album to show links on as it won't let me save any settings changes. Unfortunately it's not usable for me right now...any ideas about what is producing that install error? Maybe I can just paste the code which enables the separator functionality into v. 0.9.2?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 15:54

uninstall (not just deactivate) the keyalbum module.
then clear the template and db cache. (site admin -> maintenance)
then install the keyalbum module again.

btw: core 1.1.16 is from ~ August / September 2006. DP was very new back then. There were a couple of bugfixes.
An upgrade to g2.2 rc-2 (or in 2 weeks to g2.2) is recommended.

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 16:07

I just tried to delete DB cache and it failed:

Warning: rmdir(/usr/local/g2data/cache/entity/4/) [function.rmdir]: Directory not empty in /home/aprokos/public_html/gallery2/modules/core/classes/GalleryPlatform.class on line 514

Warning: Cannot modify header information - headers already sent by (output started at /home/aprokos/public_html/gallery2/modules/core/classes/GalleryPlatform.class:514) in /home/aprokos/public_html/gallery2/modules/core/classes/GalleryPhpVm.class on line 119

Delete template cache was succesful. The problem with upgrading to 2.2 rc-2 is that I'm afraid a new gallery version will require me to setup my zencart install again, which is a total nightmare since the set up products are not saved in a DB anywhere. If the module is disabled in any way you have to add all the products again and start from scratch. Also, some of my class files and my theme have been modified so I risk breaking a lot of things. I would prefer just to try and patch individual files with bugfixes if possible

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 16:15

the way to upgrade a site like yours is to create a copy and do a test upgrade with that.
one should never upgrade a productional site without doing tests on the same setup before. even more so when you have so many inter-dependencies as you have.
but sooner or later you'll have to upgrade. even if it's just for security patches.

@rmdir error / warning:
i'd run the task again, 3, 4 times. maybe it goes away. could be because some users access your site at the same time.

what about the keyword album module. uninstalled and reinstalled? no important data gets lost (in the case of this module).

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 16:25

Yes, I have come to the same realization...I will have to just install the new version on the server and test it like crazy before replacing the old install. The enity cache finally cleared after the fourth attempt, however I still get the same install error using get more plugins. I have tried uninstall/reinstall several times and I always get the same error posted above.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2007-03-02 16:47

what errors are we talking about?
"Error (ERROR_STORAGE_FAILURE) : Integrity check failed for '/home/aprokos/public_html/gallery2/modules/keyalbum/MANIFEST'." when using DP?
i guess you don't want to use DP with your gallery version (too buggy compared to the current version).

btw:
http://andrewprokos.com/gallery2/modules/keyalbum/module.inc

still shows version 0.9.2....

--------------
Doumentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage

 
ichthyous

Joined: 2006-06-16
Posts: 324
Posted: Fri, 2007-03-02 19:06

I finally got it to work...uninstalled module, deleted the caches again, uploaded the new module directly via ftp and installed it. This time it installed with all the features and they all work fine. I can click on nice links to full terms now....wonderful! Two questions:

1) I would like to change the dexription and page title from "Keyword Album:" to "Photos tagged with the keyword:"....which page do i edit for that module.inc?

2)Has anyone had this running for a while on their site and seen how Google is indexing the pages? I am a bit concerned that Google might see all these keyword albums as spamming or duplicate content

Thanks!

 
XCOM

Joined: 2002-12-30
Posts: 466
Posted: Sat, 2007-05-26 17:52
ichthyous wrote:

2)Has anyone had this running for a while on their site and seen how Google is indexing the pages? I am a bit concerned that Google might see all these keyword albums as spamming or duplicate content

Thanks!

Hi,

My site is running with key word albums and google indexed probably all my keyword pages, but i am not sure in the moment if this good because of duplicate content (falling back in google ranking since last week). In the moment i am looking to include some nofollow tags in the keyword links.

What was your experience in the meantime ?

Greetings.

[G2] http://www.mypics.at