replace_link_with_first_in_nav
Permalink Browser Info Environment
For some reason, the very first nav item adds a second link which impacts the height of the whole nav bar. I can't seem to pinpoint the source of this extra <a ... /> tag.
Please afvise
Thanks
Felix
Please afvise
Thanks
Felix
Type: | Discussion |
---|---|
Status: | New |
This was indeed strange, but I ruled out your code as it always places a class to each page elements. The rogue <a ..> tags must have been generated elsewhere. Perhaps a data record was missing from the install process? Anyhow, it's gone now. The site is not publicly available yet (without password).
Have you tested the latest concrete5 version # concrete5 Version
5.6.1.2
# concrete5 Packages
Amiant CSS3 Menu (0.3), Internationalization (1.1.7), Whale Nivo Image Slider (1.0.3).
# concrete5 Overrides
themes/chenail
# Server Software
Apache
# Server API
apache2handler
# PHP Version
5.3.3
# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, sockets, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.
# PHP Settings
max_execution_time - 1200
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 1024M
post_max_size - 500M
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 - 500M
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
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
?
Have you tested the latest concrete5 version # concrete5 Version
5.6.1.2
# concrete5 Packages
Amiant CSS3 Menu (0.3), Internationalization (1.1.7), Whale Nivo Image Slider (1.0.3).
# concrete5 Overrides
themes/chenail
# Server Software
Apache
# Server API
apache2handler
# PHP Version
5.3.3
# PHP Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, json, ldap, libxml, mbstring, mcrypt, mysql, mysqli, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, sockets, SPL, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.
# PHP Settings
max_execution_time - 1200
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - -1
max_input_vars - 1000
memory_limit - 1024M
post_max_size - 500M
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 - 500M
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
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH
?
Yes. On 5.6.1.2 works OK.
Why replace_link_with_first_in_nav?
Attribute replace_link_with_first_in_nav absolutely do not affects DOM and have not possibilities to add or remove links or other elements.
This attribute only changes path for link.
I can't implement your issue.
Can you give me a screenshot?
Or can you save your page in browser and send me ZIP archive.
I want to see it.
Why replace_link_with_first_in_nav?
Attribute replace_link_with_first_in_nav absolutely do not affects DOM and have not possibilities to add or remove links or other elements.
This attribute only changes path for link.
I can't implement your issue.
Can you give me a screenshot?
Or can you save your page in browser and send me ZIP archive.
I want to see it.
Awesome, just saw the update and it rocks. You guys are awesome.
Thanks
Felix
Thanks
Felix
Hmm... I can't understand your problem. Can you give me a link to your page. I want to inspect this behavior.