Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 19, 2013, 08:11:30 pm

Login with username, password and session length
Members
Total Members: 10758
Latest: murdocklawless
Stats
Total Posts: 32354
Total Topics: 5475
Online Today: 60
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 3
Guests: 52
Total: 55
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Latest images in Galery - missing Title  (Read 856 times)
Michel68
SMF Gallery Pro Customer
Inline PM Customer
*****
Offline Offline

Posts: 45


View Profile
« on: June 09, 2012, 08:40:03 am »

Is it possible to have also the Title of the picture in the latest Gallery overview ?
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #1 on: June 09, 2012, 08:45:05 am »

Possible probably yes just need to know what page it is on and can see if I can do it as an option.
Logged
Michel68
SMF Gallery Pro Customer
Inline PM Customer
*****
Offline Offline

Posts: 45


View Profile
« Reply #2 on: June 09, 2012, 09:22:55 am »

If you hit the Gallery button you see the latest pictures at the top but not the title

in Gallery.template.php

Code:
// Show Last Post
if (!empty($gallerySettings['gallery_set_show_cat_latest_pictures']))
{
echo '<td class="windowbg">';
if (!empty($row['ID_PICTURE']))
{

echo '<span class="smalltext">' .  $txt['gallery_last_post'], ' <a href="',$scripturl,'?action=profile;u=',$row['ID_MEMBER'],'">',$row['realName'],'</a><br />',

'<a href="' . $scripturl . '?action=gallery;sa=view;id=',$row['ID_PICTURE'],'">',shorten_subject($row['pictitle'], 24) . '</a><br />',$txt['gallery_txt_on'],timeformat($row['date']) . '</span>';
}

echo '</td>';
}



Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 10989


View Profile
« Reply #3 on: June 09, 2012, 09:30:41 am »

Ok so yo are talking about like the top or bottom blocks without the title.
Logged
Michel68
SMF Gallery Pro Customer
Inline PM Customer
*****
Offline Offline

Posts: 45


View Profile
« Reply #4 on: June 09, 2012, 10:02:14 am »

Yes, if I remember right, I already modified that in the past for the pictures inside the category too. It makes in my eyes more sense, if you see the title everywhere above the picture.

Sorry for my english, that makes it sometimes complicated  Sad
Logged
Michel68
SMF Gallery Pro Customer
Inline PM Customer
*****
Offline Offline

Posts: 45


View Profile
« Reply #5 on: June 09, 2012, 03:28:59 pm »

Thanks for the working update, could you add the Title also to the search results pages ?

I do not want open a new thread, but with every update, I change in the code Gallery.template.php the checkbox for searchkeywords to checked. If I want search, I want the best results, could you please change it in your code too?

Code:
 <tr class="windowbg2" align="center">
   <td colspan="2"><input type="checkbox" name="searchtitle" checked="checked" />' . $txt['gallery_search_title'] . '&nbsp;<input type="checkbox" name="searchdescription" checked="checked" />' . $txt['gallery_search_description'] . '&nbsp;
   <input type="checkbox" name="searchkeywords" checked="checked" />' . $txt['gallery_search_keyword'];
« Last Edit: June 09, 2012, 03:30:36 pm by Michel68 » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 08:07:06 pm]

[Today at 07:03:27 am]

[May 16, 2013, 10:13:46 pm]

[May 15, 2013, 11:32:14 pm]

[May 15, 2013, 11:31:24 pm]

[May 12, 2013, 09:10:43 am]

[May 10, 2013, 03:49:55 am]

[May 07, 2013, 07:12:40 pm]

[May 07, 2013, 02:37:14 pm]

[May 06, 2013, 10:29:56 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.272 seconds with 22 queries.