dimensions in tags: quotation marks and search functionality

I tried using 2"x6" and 2"x6.5" as tags, but when I click on the tag, it finds no results. Any ideas?

So I tried 2 inches x 6 inches and 2 inches x 6.5 inches instead, but then if you click on 2 inches x 6 inches you get the results of 2 inches x 6.5 inches as well, not just the 2x6 size.

site example: http://share.gospelriver.com/bookmarks/English/Roses_1John-4-8-2x6.jpg.php

Thanks for your help.

Comments

  • acrylian Administrator, Developer
    Did you review the search options?
  • I did see them before and had played around with them some, setting them to my preference. I can live with the "space" option instead of the "AND" option, and use exact tags (which I hadn't seen), but this still does not work for 2"x6".
    It says, Sorry, no matches for "\2\" x 6\"\"
    I can just use "2 inches x 6 inches" if necessary.
    Thanks.
  • The only problem with using "2 inches" is that I would need to create more tags since my site is multi-lingual. It might be nicer to use the inch mark and have the tag universal.
  • Looks like there is a problem with handling the quotation marks. Can you detail exactly the steps you are going through?
  • Not much of a help. This is a theme you have modified. How have these tag links been generated?
  • Oh... :)
    I searched the forum, found the code, and plopped it in. The normal tag addon didn't seem to do anything...

    here's the code:
    '<?php printTags('links', gettext('Tags:').' ', 'taglist', ', '); ?>'

    Do you suggest I use another tagging method? I really don't know what I'm doing here.
    Thanks.
  • No, just need to know where the links are comming from since they are wrong. Next question, how was the tag itself made?

    Also, please upgrade to 1.4.0.1 and see if the problem still exists as I have not been able to reproduce it.
  • The tag was made originally through Admin toolbox- tags- new tags. I renamed the tags several times, and there was a glitch at one point where I must have exited too fast and it didn't finish renaming the tag (it showed up as one name in administration and another name on the site I believe, even after clearing cache, and only one of the two I renamed showed the new name) but I re-re-named and it all seemed fine.

    As for upgrading, I could, but I prefer to go the simple route through simplescripts and it isn't ready yet... looks like upgrading could be a chore... If it's necessary, I might undertake the challenge.
  • Well, I turned off my html cache plugin for testing purposes since clearing it was getting to be a chore. Then I deleted the size tags and added them back in again, just to see if that was an issue. I get the same result. If you think this is just a weird thing that might be solved with an upgrade, it's not important enough to me to spend hours of your and my time getting it to work. If you want to know what the problem is though, I can continue to work on this. Otherwise I'll use words instead of quotes. It looks like there are a number of enhancements that would warrant upgrade if you thought it that worthwhile.
    Thanks for your help.
  • By the way, more weird things are happening with that tags list. I changed the code to:
    `


    <?php printTags('links', gettext('Click to search by category:').' ', 'taglist', ', '); ?>



    `
    The tag list still says "Tags:" instead of the new text and the css inline style doesn't work... It's within the description id but changing that css doesn't budge it either. but I'm an amateur at css so maybe it's not correct coding. Ugh.
  • I do not know that an upgrade would change anything. It is just that I cannot reproduce the problem. Of course, I am running on current software, so either the current software fixes the problem or there is some other difference going on.

    But most concerning is the result printed for the tag search.
    "\2\" x 6\"\"
    There are simply not supposed to be those back slashes. Most especially the initial one in front of the 2. The others could be escaped quotations, but \2 is meaningless.

    Also, your mention of simplescripts does disturb me. I do hope it is working for you, but so far we have had nothing but troubles with simplescript installs. (Of course, probably the ones that do not have problems are silent.)

    Anyway, really I cannot take this any further unless you can upgrade. In the mean time, why not just remove the Quote from the tag. `2x4` should be just as useful a tag.
  • If I upgraded without simplescripts, would that "solve" the problems you have been seeing with simplescripts installs? If you have experienced problems with that before and upgrading would solve it, maybe I should just go the manual route from now on... although manual is not without its ups and downs! I have not experienced issues with simplescripts that I know of-- what kinds of problems do you see?

    I think I solved the css issue by using the taglist class instead of the description id. I don't get why the inline style doesn't change anything, but whatever... I'm still trying to learn css.
  • whoa... the change to "Click to search by category:" just appeared... like 5 or 10 minutes late... maybe I'm dealing with browser cache issues too? this coding business is not a piece of cake!
  • I have (had) fastCGI enabled on my server. would that cause a delay? I turned it off and the link is the same of course.
  • Firefox was consuming like 900,000 K Mem Usage so maybe that was an issue too! ... I think I might have fixed that one though. I also pretty much worked out the CSS issues, on a roll here!

    Would I have to re-work my theme's image.php, album.php, and CSS with the upgrade?
  • acrylian Administrator, Developer
    CSS probably not. But a few other things probably. Please see:
    http://www.zenphoto.org/2011/01/theme-design-changes-in-zenphoto-1-4/

    PHP as FastCGI is actually fine.
  • Turned FastCGI back on. Thanks for the tip.

    This maybe belongs in a different forum category now, but
    I think I can handle everything there except:

    addPluginScript() function should instead create a filter for theme_head

    "...should add setThemeDefault() function calls in [their] option handler object to set the default values for albums_per_row, images_per_row, and thumb_transition. As a result of this change, the function normailzeColumns() has been deprecated." (so what do I do with the old normalizeColumns function to update it to setThemedefault? Note spelling error of normalizeColumns)
  • Would the update allow me to make the following page more orderly?

    http://share.gospelriver.com/scripture-wall-hangings/

    Or maybe I just need to figure out CSS that would give a constant row height, but no clue on how that would be accomplished... maybe elsewhere on the forum.
  • Since you have installed using SimpleScripts I do NOT recommend upgrading. Most SimpleScript issues occur during or shortly after upgrading.
  • There is a news article on the changes made to themes.
  • Well, I guess I need to revisit this again because after upgrading to 1.4.1.6 I again have an issue with searching for tags like "2 x 6".

    I click on the tag that says 2 x 6, it takes me to the url
    http://share.gospelriver.com/page/search/tags/"2+x+6"
    and the message on the screen says
    Sorry, no matches for "\\\"2 x 6\\\"". Try refining your search.

    I am still using the old tag call code but I'm guessing that might not matter. Any ideas what I can try?

    Thanks.
  • More than likely you have the PHP magic_quotes_gpc set. There is a bug in Zenphoto (probably from day one of searches) there the magic quotes are not stripped.
  • They were off in all cases but one... and that one made all the difference. Works perfectly now, thanks!!
Sign In or Register to comment.