Not signed in (Sign In)

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

    • CommentAuthorcrazymusic
    • CommentTimeOct 22nd 2007
     
    I was wondering how I would go about changing (xxx pictures) under the Album name to (xxx photos).

    I have tried searching in the discussions but haven't found any help.

    If someone could please help that would be great.

    In searching through the code I noticed that a lot of it is pulling from the table name. I'm really hoping that I wouldn't have to change the table name and then change everything in the code to reflect that.

    Thanks in advance for any ideas!
    • CommentAuthorardamis
    • CommentTimeOct 23rd 2007
     
    I think that can be changed in the collection.php template file.

    If you're using the default theme, look for the line:
    print ($num_pictures == 1) ? "picture" : "pictures";

    If you're using the Air theme, look for the line:
    <span class="meta-header">Contains <?php echo $num_albums . ' '; echo ($num_albums == 1) ? "Picture" : "Pictures"; ?></span>

    Either way, you just need to change "picture" and "pictures" to "photo" and "photos".

    -ardamis
    Thankful People: crazymusic