Re: Blog

Подскажите пожалуйста, как сделать переменную при добавление поста?
То есть, по мимо основного контента, нужно дополнительное поле допустим {images} , а в index.view.php, я указываю переменую,
Нужно для шаблонотизации, заранее спасибо большое!

Re: Blog

Пожалуйста пользуйтесь русским форум smile
http://forum.monstra.org/ru

Use Russian forum please smile

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Blog

whether it is possible to clone a blog module? i need site.ru/blog and site.ru/news ?

Re: Blog

partizzzzzan wrote:

need site.ru/blog and site.ru/news ?

umposible

or Blog or News

Site | GitHub | Create forums / solutions based on PunBB / Monstra / OGMA

Plug-ins are distributed Creative Commons Attribution-NonCommercial 4.0

Re: Blog

just copy plugin blog and rename to news, all files as well and all news and News to blog and Blog inside files..

(с) Roman Art
So far So good wink

RomanArt's Website

106 (edited by Nasona 2014-06-15 15:22:30)

Re: Blog

Hello guys.
Who can tell me how to display the date as - today, yesterday, tomorrow?
Thanks for answers.
____________
пощенски кутии

107 (edited by shadownrun 2014-06-14 17:06:23)

Re: Blog

hello, i would like to know how i can get all the posts from one single tag and display them, i feel that its a simple thing to do but i can't get it right, every time i try, all the monstra pages turn blank

108 (edited by ivanmitrovi 2014-06-23 06:47:19)

Re: Blog

Is it possible to install 2 instances of blog plugin? For example one is news and another is blog.
________________
метални врати, пощенски кутии за входове

Re: Blog

Yes its possible, copy pluging blog rename to news , renames folder files and all words inside files from Blog to News, from blog to news

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Blog

Example of usage 4-5 blog plugins for different stuff:
http://monstrathemes.com

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Blog

To Author:
Check this post: http://forum.monstra.org/post/3098/#p3098

Re: Blog

how to get total number of posts in blog and show it on page? thx in advance

Re: Blog

ok its done

 select('[parent="'.Blog::$parent_page_name.'" and status="published"]'); ?>

total number of posts:

Re: Blog

How to edit blog template and blog-post template Addiction treatment centers

115

Re: Blog

Hello!  I have a quick question re: the Blog plug in.  I am using two instances of Blog on a site I am creating for a band.  One is the blog and one I have renamed 'Events' (for gigs, etc.).  All is great except I would like to change the Events plug in so that the posts are listed oldest first.  Is there a way to do this?  Thanks! Mike.

Re: Blog

in blog.plugin.php find:

// Get posts and sort by DESC
$posts = Pages::$pages->select($query, $nums, $start, array('slug', 'title', 'author', 'date'), 'date', 'DESC');

and change to:

// Get posts and sort by DESC
        $posts = Pages::$pages->select($query, $nums, $start, array('slug', 'title', 'author', 'date'), 'date', 'ASC');

Re: Blog

I have a bit of a complex question.

I would like to know if it is possible to change the output of both

Blog::getPosts();

and

Blog::getTags();

?

The reason I am asking is that I am building a html5 responsive template and I would like to include each iteration of the blog-posts.
the current output for each iteration is:

I would like to change it to:

Would anyone be able to help me with this ?