2 mgsolipa May 11, 2015 06:52
![](https://forums.b2evolution.net/media/users/mgsolipa/profile_pictures/.evocache/12493895_10153932784538809_8736269665084418500_o.jpg/crop-top-80x80.jpg?mtime=1453779883)
Hi @deafsilencer,
I'm sorry, I'm afraid I don't understand exactly what do you need :S Is it a home page displaying just 20 posts of each category? Is it only for forum collections or doesn't matter the kind of the collection you're using?
Maybe it's a slow week start for me, but what do you mean with PORTAL?
Thanks.
Hello and how are you ?
let's say that I created several category/mutli-blog ... book, movie, skate, family, quote, verse and work
I created post about 3 books, 4 family photos and 2 verses yesterday ... I would like to have those last 9 posts to display on the default/home/main/portal page ... that was yesterday posts
and I created post about 2 movies, 1 skate photo, 2 family photos and 3 work ... I would like to have those last 8 posts to display on the default/home/main/portal page ... that was today posts ...
Therefore ... I would like to put all categories's posts onto one home/main/portal page ... (different categories with dates that are sorted from newest to oldest)
home/main/portal page only displays the latest posts until up to 20 posts and there are 25 posts was created ... the latest/newest 20 posts will be display on the default/main/portal page ... and the last 5 oldest posts moved to "previous" page ...
I have looked up portal and could not find the definition yet ... portal is acting like showing all the newest/latest 25 posts regarding what categories are ...
... or ...
Displaying for the last 2 days's posts on the default/main/portal page regarding how many posts created in those last 2 days.
sorry that grammar is not good and thank you for your reply ...
I guess you just need to set the Front page param of the current collection to Recent Posts (http://b2evolution.net/man/collection-front-page-settings) and raise the Post/Days per page number to 20 if Display unit - posts is selected, or to 2 if Display unit - days is selected (http://b2evolution.net/man/item-list-features).
That should be enough to meet what you described.
Regards!
I guess you just need to set the Front page param of the current collection to Recent Posts (http://b2evolution.net/man/collection-front-page-settings) and raise the Post/Days per page number to 20 if Display unit - posts is selected, or to 2 if Display unit - days is selected (http://b2evolution.net/man/item-list-features).
That should be enough to meet what you described.
Regards!
Awesome ... thank you.
Hello ?
and is there a way to keep domain name SHORT as [edited]
and not like this [edited]
I have seen that your site is already displaying a default blog. Is this correct ?
Reagrding the URL, did you set your own URL here: http://b2evolution.net/man/blog-url-settings ? There are no blog1.php, blog2.php, blogN.php, only the index.php file. Did you remove them? Did you manually created a folder "everything" inside "everything/blogs" and put an index file in it?
How is your $baseurl file set at conf/_advanced.php ?
So, there are a few things you can do in order to get a shorter URL. 1) the "blogs" folder have been removed in version 5.2.2, if you move all your files one folder up, your new URL will be something like this: [edited]. 2) You should also get rid of the extra "everything" folder. After that, your new URL will be: [edited]. 3) I guess it's possible to remove the "index.php" by adding so]me redirection rule to the .htaccess file. I haven't tested this, but I think it may work. So, your new URL could be [edited].
Now, the rest of the parameters (those that determines if you're targeting a post, category, etc), there are many combinations you can test until you feel confortable with your new URL schema. You'll find those parameters in the same screen where the "Blog URL" is configured (the page I linked above contains a screenshot of this screen pointing its location in the back-end).
For example, if you use "Use extra-path: post title" for "Single post URLs", and your slugs length is set to 5 (default value) here: http://b2evolution.net/man/single-post-pages-seo, your URL would be something like: [edited] (it can be even shorter if removing "index.php" is possible).
I have seen that your site is already displaying a default blog. Is this correct ?
yes.
Reagrding the URL, did you set your own URL here: http://b2evolution.net/man/blog-url-settings ? There are no blog1.php, blog2.php, blogN.php, only the index.php file. Did you remove them? Did you manually created a folder "everything" inside "everything/blogs" and put an index file in it?
after I removed them ... displaying like FTP mode ... so put it back to restore.
How is your $baseurl file set at conf/_advanced.php ?
$home_url = $baseurl;
So, there are a few things you can do in order to get a shorter URL.
1) the "blogs" folder have been removed in version 5.2.2
No, it has not. See attachment.
if you move all your files one folder up, your new URL will be something like this: [edited].
this here screwed up into 404 Not Found so I moved/restored it back where it was and still 404 Not Found ... Good news is that I just started it and nothing lose big anyway ... it is a learning experience before I move up to a bigger blog. I may have to "fresh install" it.
from here and below ... not done or not there yet.
2) You should also get rid of the extra "everything" folder. After that, your new URL will be: [edited].
3) I guess it's possible to remove the "index.php" by adding so]me redirection rule to the .htaccess file.
I haven't tested this, but I think it may work. So, your new URL could be [edited].
Now, the rest of the parameters (those that determines if you're targeting a post, category, etc), there are many combinations you can test until you feel confortable with your new URL schema.
You'll find those parameters in the same screen where the "Blog URL" is configured (the page I linked above contains a screenshot of this screen pointing its location in the back-end).
For example, if you use "Use extra-path: post title" for "Single post URLs", and your slugs length is set to 5 (default value) here: http://b2evolution.net/man/single-post-pages-seo, your URL would be something like: [edited] (it can be even shorter if removing "index.php" is possible).
I will be back later and to work on it tonight ... and try it again, if failed then I will let you know.
so if you have more to say/teach ... please continue ... thank you.
it would be nice to have a sperate basic manual and comprehensive manual ... only have the comprehensive manual
/Users/fplanque/www/_svn/b2si7/inc/skins/_skin.funcs.php:
if( $Hit->is_IE( 9, '<' ) )
{ // IE < 9
$Messages->add( T_('Your web browser is too old. For this site to work correctly, we recommend you use a more recent browser.'), 'note' );
}
I am confused and why did you post this "Your web browser is too old" for ?
I never have or use IE browser because I did this IE browser uninstalled completely long time ago.
http://windows.microsoft.com/en-us/internet-explorer/install-ie#ie=ie-11
/Users/fplanque/www/_svn/b2si7/inc/skins/_skin.funcs.php:
if( $Hit->is_IE( 9, '<' ) )
{ // IE < 9
$Messages->add( T_('Your web browser is too old. For this site to work correctly, we recommend you use a more recent browser.'), 'note' );
}
I am getting pissed off here, even I followed the instruction one by one and even at manual ... something is not working right ... I am going to start all over again and flush them out and install a new one.
This should not be that hard ... if it is not hard then I must have a human error on it.
brb.
Ha. I got the "blogs" removed and URL shortened now :)
Excellent! How it looks like now?
ha! I just thought of something: do you have page caching turned on?
maybe someone else visited with an old IE and that message got saved into a cached page?
@deafsilencer Well, I was wondering how your new url looks like now :D
@deafsilencer Well, I was wondering how your new url looks like now :D
very short ... [edited]
nothing fancy yet ... LOL ... I just started it again ... a fresh one
I tweaked all blogs' Structure's URL ... that is better ... simple and easy.
Thank you for asking.
Hi @deafsilencer,
I'm sorry, I'm afraid I don't understand exactly what do you need :S Is it a home page displaying just 20 posts of each category? Is it only for forum collections or doesn't matter the kind of the collection you're using?
Maybe it's a slow week start for me, but what do you mean with PORTAL?
Thanks.