Topic: Blog images

Hi,

Is there any way to show blog posts in blog section as images, and when i click on it, I will be redirected to whole post?

I am not able to do it using my own template...

Thanks

2 2015-01-28 17:33:12

Re: Blog images

Yes, if you edit your blog template file and add this tag on your links, dont forget also to starting your blog with a image you uploaded.

If you check your Blog Plugin you will find a example

My blog post starts here and i can place here a image

{cut}

After the image and the {cut} tag i place my text

You might want to read this post too: > http://forum.monstra.org/topic/746/bs-3 … l-snippet/

wink

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

Re: Blog images

Hi, thanks but it does not work for me, $post['slug'] return empty... hmm

Re: Blog images

@raipergm34

Check this link for documentation and blog tags it might help you: http://monstra.org/documentation

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

Re: Blog images

Can I change function Blog::getPosts()? I found anythink in your post, but when i change block.view.php no change hmm

Re: Blog images

@raipergm34

You should not change the plugin itself you have to make your changes on the template, so you have to go at: blog.template.php for example.

wink

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website

7 2015-01-31 14:08:18

Re: Blog images

I solved it editing index view in plugin file... slug does not work in templates for me...

Re: Blog images

Yes,
Please understand that Monstra when you use plugins, you need to edit the index.view CORE files!
Any theme changes should be made on the css and theme files, but design only, functions are made in plugin folder!

wink

http://monstracreative.com - themes, plugins and snippets for monstra cms

:: ATTENTION ::
Need help? Login at your account at: http://monstracreative.com/users/login. -> You have a excellent support center at our website! wink

wormsunited's Website