Navigation problem in Mobile and Tablet (1st level links)

Permalink Browser Info Environment
Hi guys,

my customer just contacted me and said that when using site with mobile device she is not able to enter 1 level links at all.

When she clicks 1 level link navigation automatically open 2nd level links.

How do I fix this problem??

All this works on ordinary browsers.

Here's my site URL:http://www.verkkolehtikantti.fi...

Sincerely,

Mika

Type: Discussion
Status: In Progress
Oddmob
View Replies:
formigo replied on at Permalink Reply
formigo
There is some code you can change to make this work.

You need to open this file - packages/foundation_5/themes/foundation_5/elements/footer.php and look around line 114, you should see:
$(document).foundation();

You need to change this to:
$(document).foundation({
   topbar : {
      mobile_show_parent_link: true
   }
});

This will duplicate the top level link in the sub nav and make it clickable.

concrete5 Environment Information

# concrete5 versio
5.6.2.1

# concrete5:n paketit
AddThis (1.0), Deluxe Image Gallery (1.6.6), Facebook Like Button (1.1), Foundation 5 (1.5.0), Galleria image gallery (2.0), Pro Blog (12.4.0), SimpleEvent (6.1.0), Simple Image Gallery (1.1.3), Social Feed (1.7), Social Sharing (1.3), Tag Cloud (1.0.2), Tumblr Feed (1.1.6), Tweetcrete (1.7).

# concrete5 ylikirjoitukset
languages/fi_FI

# Palvelimen ohjelmisto
Apache/2.2.15 (CentOS) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips

# Palvelimen API
apache2handler

# PHP:n versio
5.3.3

# PHP:n lisäosat
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, json, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, suhosin, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib.

# PHP:n asetukset
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
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 - 2M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - 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
suhosin.cookie.max_array_depth - 50
suhosin.cookie.max_array_index_length - 64
suhosin.cookie.max_name_length - 64
suhosin.cookie.max_totalname_length - 256
suhosin.cookie.max_value_length - 10000
suhosin.cookie.max_vars - 100
suhosin.executor.include.max_traversal - 0
suhosin.executor.max_depth - 0
suhosin.get.max_array_depth - 50
suhosin.get.max_array_index_length - 64
suhosin.get.max_name_length - 64
suhosin.get.max_totalname_length - 256
suhosin.get.max_value_length - 512
suhosin.get.max_vars - 100
suhosin.log.phpscript.is_safe - Off
suhosin.memory_limit - 0
suhosin.post.max_array_depth - 50
suhosin.post.max_array_index_length - 64
suhosin.post.max_name_length - 64
suhosin.post.max_totalname_length - 256
suhosin.post.max_value_length - 1000000
suhosin.post.max_vars - 1000
suhosin.request.max_array_depth - 50
suhosin.request.max_array_index_length - 64
suhosin.request.max_totalname_length - 256
suhosin.request.max_value_length - 1000000
suhosin.request.max_varname_length - 64
suhosin.request.max_vars - 1000
suhosin.session.max_id_length - 128
suhosin.upload.max_uploads - 25

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:35.0) Gecko/20100101 Firefox/35.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.