Re: Blog

Подскажите пожалуйста, как сделать переменную при добавление поста?
То есть, по мимо основного контента, нужно дополнительное поле допустим {images} , а в index.view.php, я указываю переменую, <?php echo images::get('img_contentl'); ?>
Нужно для шаблонотизации, заранее спасибо большое!

Re: Blog

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

Use Russian forum please smile

(с) Roman Art
So far So good wink

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

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

Re: Blog

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

(с) Roman Art
So far So good wink

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

 <?php 
$posts = Pages::$pages->select('[parent="'.Blog::$parent_page_name.'" and status="published"]'); ?>
<?php $count = count($posts); ?>
<h2>total number of posts: <?php echo $count; ?></h2>