Re: Blog
Yes but not only folder hehe
You are not logged in. Please login or register.
Yes but not only folder hehe
Yes but not only folder hehe
Tried to search for hardcoded definitions and replace them with partial luck
Can you point me to the right things I should change in plugin files?
View this dropbox.com/s/obevd694hcgp7p5/articles.zip ( I can´t put urls sorry)
i remplace blog for article and {cut} for more.
I hope Awilum not angry
Worked like a charm, thanks nakome
What about pagination for tag and title for it?
I tried this pagination http://cssdeck.com/labs/css-pagination-styles , but does not work...
Tell someone about how pagination bring to mind?
try this tympanus.net/jPaginate/
try this tympanus.net/jPaginate/
Ehh, nope, does not work.
Maybe I'm doing something wrong... I will try to continue
Weird thoughts, but how can I show random posts block?
Get Tags & Keywords how to use?
Get Tags & Keywords how to use?
<?php echo Blog::getTags(); ?>
To get tags (keywords) only for blog
<?php echo Page::keywords(); ?>
To get keywords in page
hi all.. got small problem with this plugin..
I cannot get all posts on main blog page..how to do it? does anyone have snippet for that which i could use?
// Get last 5 posts <?php echo Blog::getPosts(5); ?> // Get all posts <?php echo Blog::getPosts(); ?>
See the comments of plugin blog.plugin.php
// Get last 5 posts <?php echo Blog::getPosts(5); ?> // Get all posts <?php echo Blog::getPosts(); ?>See the comments of plugin blog.plugin.php
hi, this give me whole posts up.. I am looking for to do in same way as monstra blog is done here : http://monstra.org/blog that is the best looking blog ever.. I think tags wont work too somehow.. everytime I click on tag it just refresh page..
This is the whole code blog/view/frontend/index.view.php
<?php foreach($posts as $post) { ?> <div class="row-fluid"> <div class="span6"> <h3><a href="<?php echo Option::get('siteurl'); ?><?php echo Blog::$parent_page_name; ?>/<?php echo $post['slug'] ?>"><?php echo $post['title']; ?></a></h3> <div class="entry-meta monstra-blog-date"><?php echo Date::format($post['date'], 'd M Y'); ?></div> </div> <div class="span6"> <div class="entry-content"> <?php echo $post['content'] ?> </div> <!--/.entry-content --> </div> </div> <div class="clearfix"></div> <?php } ?>
If you like show only tilte and date
<?php foreach($posts as $post) { ?> <h3><a href="<?php echo Option::get('siteurl'); ?><?php echo Blog::$parent_page_name; ?>/<?php echo $post['slug'] ?>"><?php echo $post['title']; ?></a></h3> <div class="entry-meta monstra-blog-date"><?php echo Date::format($post['date'], 'd M Y'); ?></div> <?php } ?>
@nakome thank you sir! I’ve sorted my issue thanks nakome!
Hei awilum can you make the url not only "blog" but also another? And it can make changes for the features of monstra blog.
>>Hei awilum can you make the url not only "blog" but also another?
/** * Parrent page name(slug) * * @var string */ public static $parent_page_name = 'blog';
Not that I mean, I intend to make the same display made by this plugin but with the url to another and not change the url / blog. So I can make a parent post with another url. Can you update this plugin Awilum?
Like a category Awilum, but this is a post:
/category/the-name-of-post
the URL /category is not autogenerate but this is the parrent post, and /the-name-of-post is the child, can you update the plugin.
Hei there was an error while i put rss.php on the site root, this is the error:
Warning: require_once(/public_html/monstra/bootstrap.php): failed to open stream: No such file or directory in /public_html/rss.php on line 8 Fatal error: require_once(): Failed opening required '/public_html/monstra/bootstrap.php' (include_path='.:/usr/lib/php') in /public_html/rss.php on line 8
Awilum,
wanted to use
<?php echo Page::url(); ?>
template in my "blog-post" but it does not use the relative (which is /blog) ie if I want example: 'www.mysite.com/blog/post' would be 'www.mysite.com/post'.
Help me find a way to display the link in the page, in my case I want to add a url sharing, but without relative (/blog) you will not be taken to where I want. Thank you!
My first Post
I have some little problems with the rss.php
1. Wrong/Old Init?!?
// Load bootstrap file require_once(ROOT . DS . 'monstra' . DS . 'bootstrap.php');
bootstrap.php does not exist, is this the right way?
// Load Engine-INIT file require_once(ROOT . DS . 'engine' . DS . '_init.php');
2. For pictures i use {siteurl} etc. How can i get this work in RSS?
3. In RSS is allways the {cut}-Tag visible, How can i hide this?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.