Featured Pages - Sitemap order not working correctly

Permalink
I have a primary & secondary nav on a website I'm currently building out and am using the is_featured attribute & a pagelist in a stack to create the secondary menu.

The menu is set to display in sitemap order but it's placing Home after About (see image) Is there something that I can set to make this work out with home first.

I could set them to display with earliest first and then tweak the dates created but thats a bit hacky & will be a problem for maintaining once I hand over to the client.

PassionForCreative
 
foster replied on at Permalink Reply
foster
Did you ever find an answer to sitemap order not displaying the actual sitemap order?
I'm working with an editing version of jordanlev's related content block and am having a hard time getting the sitemap order function to actually show the sitemap order.

Any insights you've had from your problem would be greatly appreciated.
PassionForCreative replied on at Permalink Reply
PassionForCreative
Hi Foster,
updating to the latest version of C5 at the time seem to sort everything out. What version are you running?
foster replied on at Permalink Reply
foster
I'm running 5.5.2.1 on that site. I'm working off of this block, from jordanlevhttp://www.concrete5.org/community/forums/customizing_c5/how-to-wan...
but it is using the standard "sortByDisplayOrder();" command, so my situation might be a little different than yours, but maybe similar...
Sorting the list by date works great, but sorting by display order gives me an output that I can't figure out where it's coming from.
A list that should be 1-5 according to the site map lists as 5,2,1,4,3 - and is not in any chronological order either.


For what it's worth, here is the entire Environment Information:



# concrete5 Version
5.5.2.1

# concrete5 Packages
Designer Content (3.1), Dojo Page Filter Pro (2.1), File With Description (1.1), Html5 Music (1.0.3), Manual Nav (1.2), MindNet Clear Cache (1.0), Page List Teasers (1.2).

# concrete5 Overrides
blocks/audio_player, blocks/autonav, blocks/content, blocks/google_map, blocks/image, blocks/industry_content, blocks/next_previous, blocks/page_list, blocks/related_content_links, blocks/scroll_to_top, blocks/tags, blocks/youtube, elements/editor_config.php, themes/slaughter

# Server Software
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.6

# Server API
apache2handler

# PHP Version
5.3.6

# PHP Extensions
apache2handler, bcmath, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, Reflection, session, SimpleXML, soap, sockets, SPL, SQLite, sqlite3, standard, tokenizer, XCache, xml, xmlreader, xmlwriter, xsl, yaz, 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 - 480
memory_limit - 256M
post_max_size - 50M
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 - 50M
ldap.max_links - Unlimited
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
pgsql.max_links - Unlimited
pgsql.max_persistent - Unlimited
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
xcache.var_maxttl - 0