Forum Support

Shape 5
March 28, 2024, 02:57:28 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Solved - There's something fishy in the salty Sea... menu labels..  (Read 348 times)
akerman
Jr. Member
**
Offline Offline

Posts: 225



WWW
« on: November 18, 2008, 02:15:17 PM »

Hi,

Just want to share a little insight.

Since deployment of SoG there have been some small issues with the SoG menu labels, you know the small subtitles you can put under your mainmenu at top.

Well, as it turns out, the javascript handling this is a bit sensitive when it comes to the characters you actually can use in this field (Text Label 1 - 10 in template manager).

For example if you have a menu saying:  Images
And under that menu you type:                   That's nice!

Well, then that will very efficiently kill the script and all following text labels on the next menu items will simply not be displayed.

This is normal and quite natural since the javascript does not expect to bump into any apostrophe characters.

So, be careful and avoid characters like : "  '  &  ?  ( )  { } [ ] and so forth, since such characters are commonly used within your site scripts.  (This is not a complete list, just serves as an example)

--------------------------------------------------------------------------------------------------------------------------------------------------
FYI, the file 'parameters.ini' is supposed to say 'Unwritable' since the permissions are correctly set to execute/read for all levels of users. The template will still be able to update the file from within Joomla! Template manager. (parameters.ini is where these subtitles are stored)

So, hopefully this will make someone sleep better at night.  Wink

Regards
Akerman
« Last Edit: November 19, 2008, 03:16:19 PM by akerman » Logged

http://stolt-akerman.com - Webdesign & Designer Agency
http://www.akermanscove.com - Designer Portfolio
http://www.infoclip.se - Bookshop for used and antique books.
Work with:
Web Design JoomFish Contributor,  Translations of Open Source, Design, Logotypes, Photography, Illustrations, eCommerce, SEO & Print
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: November 19, 2008, 12:21:34 PM »

If you do run into this problem you should be able to escape the characters with their ASCII codes, here is a site that lists them:

http://tntluoma.com/sidebars/codes/

For example instead of using "!"  use "!" instead
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
akerman
Jr. Member
**
Offline Offline

Posts: 225



WWW
« Reply #2 on: November 19, 2008, 03:15:21 PM »

Yes, that is correct. This works for many instances where you can run into similar problems, maybe in a module when typing text in a field.

Just remember that these ASCII codes 'vanish' when you save, and if you edit the field (it is very likely) you have to retype the ASCII code again.

I sometimes use this method with
 in modules with several rows of text in a field, in order to fool it to move text down a row.

Thanx Jonah

Regards
Akerman
Logged

http://stolt-akerman.com - Webdesign & Designer Agency
http://www.akermanscove.com - Designer Portfolio
http://www.infoclip.se - Bookshop for used and antique books.
Work with:
Web Design JoomFish Contributor,  Translations of Open Source, Design, Logotypes, Photography, Illustrations, eCommerce, SEO & Print
jjsmulo
Jr. Member
**
Offline Offline

Posts: 103



« Reply #3 on: November 21, 2008, 01:50:10 PM »

Thank you for posting on this. When I changed the menu sub-text this morning I lost everything except for the sub-text on 'Home'. I just changed the text on one of the items that had an apostrophe and everything works.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.