1 (edited by wolfdany461 21-02-2014 12:02:35)

Topic: How to?

Hi all, I found out about nibbleblog  two days ago and i think is a fantastic project.

And my questions are:
1. How can i make a related posts plugin using the tags ?

2. It's possible to make a image  thumbnail for every articole ? I want to have the option to upload a image that will be shown in the article preview.  Just like in the about plugin

Re: How to?

+1

Re: How to?

wolfdany461 wrote:

Hi all, I found out about nibbleblog  two days ago and i think is a fantastic project.

And my questions are:
1. How can i make a related posts plugin using the tags ?

2. It's possible to make a image  thumbnail for every articole ? I want to have the option to upload a image that will be shown in the article preview.  Just like in the about plugin

Hello,
1-
You can get all tags from a post

$_DB_TAGS->get_by_idpost(array('id_post'=>ID_POST));

Get all id posts filtered by a tag name

$_DB_TAGS->get_all_posts(array('name'=>TAG_NAME));

Get a post by id post

$_DB_POST->get(array('id'=>ID_POST));

2- When you upload a image Nibbleblog generate a Thumbnails, check the settings on Settings->Image settings->Thumbnails

Regards

Re: How to?

But how i can add a image thumbails to a article?

Re: How to?

Bazim wrote:

But how i can add a image thumbails to a article?

I have the same problem and no solution.

http://forum.nibbleblog.com/viewtopic.p … 3806#p3806