Re: Blog

Even I am looking for the same solution. How can I limit the character that gets displayed on the main 'blog' page? Showing the whole blogs on the page is making the page too lengthy. Also, this reduces the chance of user going to individual blog post. This gives me wrong analytic count of how many users have really read that blog.

Can anybody provide the code that needs to be modified/added?

Re: Blog

Got the answer for my query. You need to add {cut} in your blog post content body. This will cut the blog in two parts. The first part will be treated as summary part and only that part will appear in 'blog' page.

Re: Blog

Hi,
Thank for this great plugin, but how to write 'tags' in post content ?

Sorry for my little english sad

Re: Blog

stradfred, for tags we just using  "Keywords" as you can see http://monstra.org/blog

Monstra Loves You! Give some love back!

Re: Blog

Hi Awilum,

This is exactly what I did, here's a preview picture:

My Keywords content

My template to get Tags

Sorry for my little english sad

Re: Blog

stradfred, it is ok ? or you see some problems ?

Monstra Loves You! Give some love back!

Re: Blog

The problem, don't view any tag in blog-post page...

Sorry for my little english sad

Re: Blog

I find the problem, just forget to add echo smile

<?php echo Blog::getTags(); ?>

Solved !!!

Sorry for my little english sad

Re: Blog

smile

Monstra Loves You! Give some love back!

Re: Blog

It is provided by the following form to add a comment and then manage them from administration plugin?
Congratulation for Monstra CMS !

Sorry for my little english sad

Re: Blog

if you need comments, try this plugin http://forum.monstra.org/topic/196/disqus-comments/

Monstra Loves You! Give some love back!

Re: Blog

Yes I have this Disqus plugin, but I do not like third-party services that we have not owners.
For me a blog without comments is a News system wink

Sorry for my little english sad

Re: Blog

How do I do if you want to see in the URL with only the title of the article contained in the parent category, such as TOP page?
I displays a list of the post in the news to the TOP page.

Re: Blog

Hey!! please respond!

Re: Blog

h-h0323, provide more details of your problem or attach a graphic to explain your thoughts

Monstra Loves You! Give some love back!

91 (edited by Jacob 2014-03-11 13:36:59)

Re: Blog

Hi,

I am a newer.
I have installed Blog Plugin(1.7.3) following (http://demo.monstrathemes.com/docs/en/blog/), but it doesn't work.
My site is http://zhanglei.about-bob.com.
http://zhanglei.about-bob.com/users http://zhanglei.about-bob.com/home  is not accessable~

Can anyone have a look?  account/pwd:jacob/aaazzz

Thanks in advance~~

Re: Blog

U have 404 error everywhete /users /login etc u have to change .htaccess file cause ur monstra on subdomain ...

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Blog

RomanArt wrote:

U have 404 error everywhete /users /login etc u have to change .htaccess file cause ur monstra on subdomain ...

Hi,

Thanks for your info.
You can access admin by this link:http://zhanglei.about-bob.com/admin/index.php?id=pages

How to change .htaccess file?
===========================
#
# Monstra CMS :: php & apache settings
#

# Set default charset utf-8
AddDefaultCharset UTF-8

# Don't show directory listings for URLs which map to a directory.
Options -Indexes

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
        php_flag magic_quotes_gpc                 off
        php_flag magic_quotes_sybase              off
        php_flag register_globals                 off
</IfModule>


# Setting rewrite rules.
<IfModule mod_rewrite.c>
        RewriteEngine on

        # Update code bellow for SEO improvements
        # RewriteCond %{HTTP_HOST} ^www.example.org [NC]
        # RewriteRule ^(.*)$ http://example.org/$1 [R=301,L]

        RewriteBase /
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ index.php [QSA,L]

        # Update code bellow for SEO improvements
        # Redirect 301 /home http://example.org/
</IfModule>


Thanks a lot~~

Re: Blog

i just checked ur website i guess u found solution, all works well, so problem was not with plugin or documentation but only in .htaccess file

btw change ur login or password haha smile could be dangerous

(с) Roman Art
So far So good wink

RomanArt's Website

95 (edited by Jacob 2014-03-12 11:32:19)

Re: Blog

Hi,
Thanks~Yes, the issue was fixed by following link:(http://monstra.org/documentation/installation), thanks for your suggestion.
But i still confused by some issues:
1.  ex :http://zhanglei.about-bob.com/admin  can't be access, but http://zhanglei.about-bob.com/admin/index.php is accessable.
2. i want create a  new parent page "JobHappy", i hope "JobHappy" have the same function to blog, but for different web content.
    i made a menu item "JobHappy", which point to page "JobHappy".
    Actually, there some gaps between what i expected:
           JobHappy doesn't point to JobHappy page, but point to Blog page. 
           "http://zhanglei.about-bob.com/jobhappy"  and “ http://zhanglei.about-bob.com/blog”  have the same content.
           In administrator page, i can see JobHappy page and sub_page.
           “http://zhanglei.about-bob.com/jobhappy/safdsaf " is accessable through admin->pages.

sitemap can show what i did.
http://zhanglei.about-bob.com/sitemap


Thanks in advance~~

Re: Blog

1) i guess u still have problems with .htacces file.
2) no! blog plugin is blog plugin, if u want it to be jobhhappy u have to copy plugin blog and rename all files and functions inside plugin to jobhappy, example (Blog = Jobhappy, blog = jobhappy ) in case u have to do like i said, in another case could be easyer if u had only 1 plugin not blog and its copy...
i could be wrong and there is a simple way to do it, but i dont use blog plugin at all, so thats is how i would do if i need to smile

p\s i can acces the http://zhanglei.about-bob.com/jobhappy/safdsaf with no problems

(с) Roman Art
So far So good wink

RomanArt's Website

Re: Blog

RomanArt wrote:

1) i guess u still have problems with .htacces file.
2) no! blog plugin is blog plugin, if u want it to be jobhhappy u have to copy plugin blog and rename all files and functions inside plugin to jobhappy, example (Blog = Jobhappy, blog = jobhappy ) in case u have to do like i said, in another case could be easyer if u had only 1 plugin not blog and its copy...
i could be wrong and there is a simple way to do it, but i dont use blog plugin at all, so thats is how i would do if i need to smile

p\s i can acces the http://zhanglei.about-bob.com/jobhappy/safdsaf with no problems

OK,  I would like to give my many many thanks to you.

Thanks for your suggestion, i am finding another way.

Re: Blog

Hello,

I have installed Monstra 2.3.1 and Blog Plug in 1.7.3 and having a problem when selecting individual blog posts (ones which use blog-post.template.php) On these pages, the style.css is not loading and images are missing.  If I inspect the missing logo, then the url has /blog/ added to the front (because of the parent page).

http://sitename/blog/public/themes/img/logo.png

If I change all urls in header.chunk.php to absolute urls, then it all works - but I'd like not to do this.

Is this something that anyone has seen before?

Thanks,
Mike

Re: Blog

There is nothing to do with blog plugin i guess u made mistake with url or u watch my tutorial where i forgot to explain this part.
Ur url to images and styles must be like this

<?php echo Site::url(); ?>public/themes/yourthemename/yourfilename.css or jpg or png or wht ever
(с) Roman Art
So far So good wink

RomanArt's Website

Re: Blog

Hi RomanArt,

Thanks very much - yes, adding the <?php echo Site::url(); ?> before public worked for me!

Please also can you tell me if there is a way to have a template page list blog-posts containing only a certain tag?
   
e.g. <?php echo Blog::getPosts(5); ?> ...but only for posts tagged 'gigs' or ' weather' or something?

Cheers,
Mike