Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorbilel
    • CommentTimeFeb 17th 2008
    I'm a seo expert !
    After resolving seo friendly URLs, I'm going to perform SEO meta tags !

    You can visit my New Plog : Photos de Djerba to see it in action ;-)

    Now, I have a problem with picture's title

    The picture's title in Beta 3 is using the Filename (Ex: image-01.png )

    So I would like to replace by picture caption (Ex: The beach)

    We have to open : plog-functions.php
    then in the second deaclared function : function generate_title()

    case 'picture':

    The problem is here $picture_name = basename($row["path"]);

    I've tried many solutions, using the function plogger_get_picture_caption()

    I've tried to declare this function before the generate_title one !

    And I'm not getting picture caption in the title :-(

    Thank you
    • CommentAuthorKasper
    • CommentTimeFeb 19th 2008
    I have now corrected this in revision 495, due to other recent changes you should however download the entire latest zip. Remember not to overwrite the plog-config, just copy over the new lines.

    • CommentAuthorbilel
    • CommentTimeFeb 19th 2008 edited
    Thank you Kasper :-)
    During yesterday I wasn't able to open this forum. It seems to be down !

    But I've found the solution ;-) In the SQL tables

    So in the function generate_title

    case 'picture':

    We have to replace $picture_name = basename($row["path"]);
    by $picture_name = SmartStripSlashes($row["caption"]);

    Thank you

    I promise my full SEO pack
    • CommentAuthorAdam
    • CommentTimeFeb 20th 2008
    I noticed not even 24 hrs of posting my package my plogger was in googles index all over
    • CommentAuthorKasper
    • CommentTimeFeb 26th 2008
    In version 3.2 the breadcrumbs now also uses captions if they exist.