Page 1 of 1
htaccess content page pickups
Posted: Sat May 25, 2013 3:39 pm
by Timbalu
On busy sites I love using "/serendipity/comments/" to get a quick overlook what has happened so far.
I just came up asking me, if we could have something like this for entries images?
Re: htaccess content page pickups
Posted: Mon May 27, 2013 1:37 pm
by garvinhicking
I just came up asking me, if we could have something like this for entries images?
Not really, there's no database table that defines which image has been used in which blog entry.
Re: htaccess content page pickups
Posted: Mon May 27, 2013 2:11 pm
by Timbalu
Yes, I expect there isn't... yet!

But I remember a feature request to have this for the backend. Providing this sometime, we could also use it for the Frontend, couldn't we?!
Re: htaccess content page pickups
Posted: Mon May 27, 2013 3:09 pm
by bernd_d
garvinhicking wrote:Not really, there's no database table that defines which image has been used in which blog entry.
I don't know if
serendipity_event_usergallery could be used for this. It has an option for something like this. In german it is namend
Link zu den Einträgen/statischen Seiten zeigen, die auf das Bild verlinken?
Re: htaccess content page pickups
Posted: Mon May 27, 2013 3:10 pm
by garvinhicking
Timbalu wrote:Yes, I expect there isn't... yet!

But I remember a feature request to have this for the backend. Providing this sometime, we could also use it for the Frontend, couldn't we?!
Sure, yes! As a first step we added this <!--s9ymdb:XX--> feature in blog entries...but parsing this in the DB is really slow. So it would be better to use a backend_save hook or so that parses it when saving, which then updates a "serendipity_imageref" or whatever database table.