Date Nav displaying the wrong pages

Permalink
So I am trying to use Date Nav to handle the listing of my blog pages.

When I insert the block into the sidebar, I choose to display only the "ProBlog Post" page type, and "at this level" for location.

Problem is the nav is displaying blog posts from all over the site, as if it was set to "everywhere".

Is this a bug, or have I done something wrong?

Any help is appreciated!

Thanks.

1 Attachment

APBCadmin
 
APBCadmin replied on at Permalink Reply
APBCadmin
One more thing, inserting a Auto Nav block, with location set to show only "ProBlog Post" in location of "at this level" results in a correct list of only the posts at the current level (aka it works perfect)... Which makes me think this is a Date Nav bug.

PS - I attached a screenshot above of my options selected.

Thanks.
APBCadmin replied on at Permalink Reply
APBCadmin
Ok, more to add to this...

When I have this issue, I am adding this Date Nav to the default page type for blog posts. I am adding it here so it will be present on every new blog page as it is created.

If I go to an actual blog post, and add the Date Nav block with the same settings, it works perfect!

Obviously, adding it to every page manually is not an option...

So where is the fix??
APBCadmin replied on at Permalink Reply
APBCadmin
no help or tips? :(
12345j replied on at Permalink Reply
12345j
create date nav as a scrapbook area and then embed with
<?php
$b = Block::getByName('MyBlockName');
$bv = new BlockView();
echo  $bv->render($b, 'view');
?>
12345j replied on at Permalink Reply
12345j
but yes it sounds like a bug, you might want to report it.
APBCadmin replied on at Permalink Reply
APBCadmin
Didn't work. Still broken.

Also found another bug. When inserting a new Date Nav, and you check "Truncate Titles" the number value is not changeable. When you hit submit, it defaults to zero. Then you edit the block, and now it is editable. :-|
MattWaters replied on at Permalink Reply
MattWaters
I set up a blog and Date Nav (as you describe) on my test site a moment ago and wasn't able to replicate the main problem. Could you paste your environment details?

I did, however, encounter the reported problem with trying to change the truncation limit before save / refresh.
APBCadmin replied on at Permalink Reply
APBCadmin
Thanks for your help... Here is my setup:

# concrete5 Version
5.4.1.1

# concrete5 Packages
Breadcrumbs (1.0), Database Backup (1.0), Date Navigation (1.3), Expander (1.0), Galleria image gallery (2.0), LoadFooV2 (1.0), Login (1.0), Mailing List (1.41), Music (1.0.3), Pro Blog (2.1.5), Randomizer (1.2.2), SCALA IT Browser Update Notification (1.0), Social Icons (1.1), tnSpacer (1.2), User Info (1.9), Who's Online (2.2).

# concrete5 Overrides
models/login_user.php, models/new_user.php, single_pages/login.php, single_pages/profile, themes/creativity

# Server Software
Apache/2

# Server API
apache2handler

# PHP Version
5.2.14

# PHP Extensions
apache2handler, bcmath, calendar, ctype, curl, date, dom, filter, ftp, gd, gettext, hash, iconv, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, posix, Reflection, session, SimpleXML, sockets, SPL, SQLite, standard, tokenizer, xml, xmlreader, xmlwriter, zip, zlib.

# PHP Settings
log_errors_max_len - 1024
max_execution_time - 5
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
memory_limit - 128M
post_max_size - 8M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 32M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
APBCadmin replied on at Permalink Reply
APBCadmin
Just tried this on a testing site I set up, had the same problems!

Maybe Im doing something wrong??
APBCadmin replied on at Permalink Reply
APBCadmin
Any help out there?
twellsadmin replied on at Permalink Reply
Same problem here. I've set up the default page type 'blog entry' to display a datenav block with 'at the current level' for the pages to display.

When using the default in the site, the datenav changes the setting to display blog entry pages from everywhere, mixing up all the different blogs. I have to change it manually on each blog entry to get it to work.
twellsadmin replied on at Permalink Reply
Same problem here. I've set up the default page type 'blog entry' to display a datenav block with 'at the current level' for the pages to display.

When using the default in the site, the datenav changes the setting to display blog entry pages from everywhere, mixing up all the different blogs. I have to change it manually on each blog entry to get it to work.