Hello,
I've been using the freetag-Plugin for a while. I'd like to turn the serendipity_freeTag_related content into something often seen in food blogs, featuring small pictures (with links) instead of text links.
I have an idea of how to edit the html as well as css of that section, to get 4 small floating pictures. But I don't know, which event variable referes to an entry's (small size) picture, if there is any.
Could related posts with pictures be achieved at all?
Thanks for any advice!
freetag - related posts' pictures
freetag - related posts' pictures
----------
peggylon aka multikulinaria http://www.multikulinarisch.es
peggylon aka multikulinaria http://www.multikulinarisch.es
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Re: freetag - related posts' pictures
Have you seen link within? That would be cool to have if based on tags.
=Don=
Re: freetag - related posts' pictures
Thanks Don for pointing me to the widget. I guess that's what I had seen on many foodblogs but had mistaken for a WP-Plugin.
If there is no way of modifying the freetag plugin as wished for (still hoping), I might have to go with the external widget...
If there is no way of modifying the freetag plugin as wished for (still hoping), I might have to go with the external widget...
----------
peggylon aka multikulinaria http://www.multikulinarisch.es
peggylon aka multikulinaria http://www.multikulinarisch.es
Re: freetag - related posts' pictures
In the Mimbo theme I'm using, there is a small special picture assigned to each entry which is only displayed on the front page. The picture is assigned to the entry via a custom field called MimboImage (at the bottom of the entry edit page):
http://i46.tinypic.com/2hnufiw.jpg
See? Once the custom field is set up once, you'd just enter the thumbnail of the entry photo there.
I'm not sure but I think that the variable for such a custom field picture is maybe easier to grab for the change then trying to fish a picture from an entry content? It would requiere the extra clicks of assigning one for each entry, though, but I don't find it too much of a bother.Custom Fields:
Additional custom fields can be used in your template at places where you want them to show up. For that, edit your entries.tpl template file and place Smarty tags like {$entry.properties.ep_MyCustomField} in the HTML where you like. Note the prefix ep_ for each field.
The list of available custom fields can be changed in the plugin configuration.
http://i46.tinypic.com/2hnufiw.jpg
See? Once the custom field is set up once, you'd just enter the thumbnail of the entry photo there.
Sorry, I'm Late. But I Got Lost On The Road Of Life.
Re: freetag - related posts' pictures
Thank you for the hint Eni!
I'll try adapting it for my purpose.
cheers
I'll try adapting it for my purpose.
cheers
----------
peggylon aka multikulinaria http://www.multikulinarisch.es
peggylon aka multikulinaria http://www.multikulinarisch.es
Re: freetag - related posts' pictures
I implemented a custom field for thumbnail image. Since I can't see a database connection to the post it belongs to via post id, I still wouldn't know how to call related post's custom images from another post.
Looks like I will have to go with the link within widget or stay with the related-tags plugin without images.
Thanks anyway,
Peggy
Looks like I will have to go with the link within widget or stay with the related-tags plugin without images.
Thanks anyway,
Peggy
----------
peggylon aka multikulinaria http://www.multikulinarisch.es
peggylon aka multikulinaria http://www.multikulinarisch.es