Get a Free Quote
You will receive quote within 24 Hrs
- Create Eye catching Icon Design for your Website to Attract Target Customer
- 7 Amazing Angular JS features that every developer must know
- 5 Important tips that every Android app developer must know
- Develop Same Application, Built Twice& bring Robustness of Framework using Angular and React JS
- Know the Basic Difference between Magento vs. Shopify Commercial Sites Right Here
Using special characters in the menu items in JoomlaJoomla web developer, Joomla Web Development
There are times when you need to include characters to the titles in your menu items. This should be ideally possible. But at times when you do place special characters on the menu they don’t appear correct on the user end. What ends up being displayed is the HTML code of the special character. For example at times when you add the special character ‘&’ what actually appears on the website is ‘&’. This is minor issue that has the possibility of destroying the look and feel of your website and hence should not be taken lightly.
Thus this issue needs to be solved and it can be done by following the simple instructions provided below.
- To start with login to you web server via FTP.
- Once logged in navigate to the directory modules/mod_menu/ and download the file helper.php.
- Now open this file I your favorite editor.
- You need to use the powerful search features present in your editor to search for the following section of code. $item-.title = htmlspcialcharacters(item->title);
- Once you do find the code above add a few lines above it and add the next few lines above it. $item->title = str_replace( array(‘<’, ‘>’, ‘&’), array(‘<’, ‘>’,’&’, ), $item->title);
- Here the first array consists of a list of predefined character codes and the second array contains the symbols of the predefined code.
- In this case your system will allow you to now enter the special character ‘&’ with ease. However if you wish to add additional special characters you need to do so in a similar way. First get the predefined character codes for the predefined symbol and follow the same procedure as we mentioned above to ‘fix’ the website.
You will now have the ability to add special characters to you menu titles with ease. Joomla in general is quite easy to use. It is likely that you may require the help of a professional Joomla web developer initially to set up you website, but it is easy for you to maintain the website yourself. The user interface is so easy that you may be able to even add addition functionality in the form of modules to your website.
- functionality of joomla
- How to use special characters in menu titles in joomla
- joomla web developer
- special characters in joomla
More Related Posts
Comments are closed.