I tried changing the text on department list under the "custom Output" tab. On doing so, the images disappeared and the text ended up listed one below the other. Can anyone help restoring the icons and explain how to change the titles for the iconsAttachment 26012.
11 answers
Because TEXT input on custom html on Department list module was changed
You can try to use format code below back it to default
Open Department list module ->Click ToggleEditor button
and input this script
Code:
<div class="department-list"> <ul class="department-list"> <li class="icon-1"><a href="index.php?option=com_content&view=article&id=91&Itemid=541" title="Sample">Management</a> <span class="department-name">Management</span></li> <li class="icon-2"><a href="index.php?option=com_content&view=article&id=92&Itemid=542" title="Sample">Accounting</a> <span class="department-name">Accounting</span></li> <li class="icon-3"><a href="index.php?option=com_content&view=article&id=93&Itemid=543" title="Sample">Economics</a> <span class="department-name">Economics</span></li> <li class="icon-4"><a href="index.php?option=com_content&view=article&id=94&Itemid=544" title="Sample">Technology</a> <span class="department-name">Technology</span></li> <li class="icon-5"><a href="index.php?option=com_content&view=article&id=95&Itemid=545" title="Sample">Finance</a> <span class="department-name">Finance</span></li> <li class="icon-6"><a href="index.php?option=com_content&view=article&id=96&Itemid=546" title="Sample">Officer</a> <span class="department-name">Officer</span></li> <li class="icon-7"><a href="index.php?option=com_content&view=article&id=97&Itemid=547" title="Sample">Humanities</a> <span class="department-name">Humanities</span></li> <li class="icon-8"><a href="index.php?option=com_content&view=article&id=98&Itemid=548" title="Sample">Geography</a> <span class="department-name">Geography</span></li> </ul> </div>
That still doesn’t work.
That still doesn’t work.
I would need to take a closer look at your site. Please pm me admin access and ftp account, I shall check it for you
pls post your html code, so that we could have closer look.
The HTML in the custom output tab
Code:
<div class="\"department-list\""> <ul class="\"department-list\""> <li class="\"icon-1\""><a href="\"index.php?option=com_content&view=article&id=91&Itemid=541\"" title="\"Sample\"">Management</a> <span class="\"department-name\"">Management</span></li> <li class="\"icon-2\""><a href="\"index.php?option=com_content&view=article&id=92&Itemid=542\"" title="\"Sample\"">Accounting</a> <span class="\"department-name\"">Accounting</span></li> <li class="\"icon-3\""><a href="\"index.php?option=com_content&view=article&id=93&Itemid=543\"" title="\"Sample\"">Economics</a> <span class="\"department-name\"">Economics</span></li> <li class="\"icon-4\""><a href="\"index.php?option=com_content&view=article&id=94&Itemid=544\"" title="\"Sample\"">Technology</a> <span class="\"department-name\"">Technology</span></li> <li class="\"icon-5\""><a href="\"index.php?option=com_content&view=article&id=95&Itemid=545\"" title="\"Sample\"">Finance</a> <span class="\"department-name\"">Finance</span></li> <li class="\"icon-6\""><a href="\"index.php?option=com_content&view=article&id=96&Itemid=546\"" title="\"Sample\"">Officer</a> <span class="\"department-name\"">Officer</span></li> <li class="\"icon-7\""><a href="\"index.php?option=com_content&view=article&id=97&Itemid=547\"" title="\"Sample\"">Humanities</a> <span class="\"department-name\"">Humanities</span></li> <li class="\"icon-8\""><a href="\"index.php?option=com_content&view=article&id=98&Itemid=548\"" title="\"Sample\"">Geography</a> <span class="\"department-name\"">Geography</span></li> </ul> </div>
your code
<ul class="\"department-list"\">
correct code
<ul class="department-list">
there are extra \" \" all around.
Suggestion:
1. clear all of them
2. replace the sample code, and change the titles of icons (refer image)
I copied the code and placed it. For some reason the code changes to the extra "\".
example.
HTML Code:
<div class=\"department-list\"> <ul class=\"department-list\"> <li class=\"icon-1\"><a href=\\"index.php?option=com_content&view=article&id=91&Itemid=541\\" title=\\"Sample\\">Management</a> <span class=\\"department-name\\">Management</span></li> <li class=\"icon-2\"><a href=\\"index.php?option=com_content&view=article&id=92&Itemid=542\\" title=\\"Sample\\">Accounting</a> <span class=\\"department-name\\">Accounting</span></li> <li class=\\"icon-3\\"><a href=\\"index.php?option=com_content&view=article&id=93&Itemid=543\\" title=\\"Sample\\">Economics</a> <span class=\\"department-name\\">Economics</span></li> <li class=\\"icon-4\\"><a href=\\"index.php?option=com_content&view=article&id=94&Itemid=544\\" title=\\"Sample\\">Technology</a> <span class=\\"department-name\\">Technology</span></li> <li class=\\"icon-5\\"><a href=\\"index.php?option=com_content&view=article&id=95&Itemid=545\\" title=\\"Sample\\">Finance</a> <span class=\\"department-name\\">Finance</span></li> <li class=\\"icon-6\\"><a href=\\"index.php?option=com_content&view=article&id=96&Itemid=546\\" title=\\"Sample\\">Officer</a> <span class=\\"department-name\\">Officer</span></li> <li class=\\"icon-7\\"><a href=\\"index.php?option=com_content&view=article&id=97&Itemid=547\\" title=\\"Sample\\">Humanities</a> <span class=\\"department-name\\">Humanities</span></li> <li class=\\"icon-8\\"><a href=\\"index.php?option=com_content&view=article&id=98&Itemid=548\\" title=\\"Sample\\">Geography</a> <span class=\\"department-name\\">Geography</span></li> </ul> </div>
This is the case the "connect" module too.
HTML Code:
<div>We\'re on Social Networks. Follow us & get in touch.</div> <div><a href=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\\"\\\\\\\\"\\\\"\\"\"\" title=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"Facebook\\\\\\\\\\\\\\\\"\\\\\\\\"\\\\"\\"\"\"> Facebook</a><span> </span><a href=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\\"\\\\\\\\"\\\\"\\"\"\" title=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"Google\\\\\\\\"\\\\"\\"\"\">Google plus</a><span> </span><a href=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\\"\\\\\\\\"\\\\"\\"\"\" title=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"Feed\\\\\\\\\\\\\\\\"\\\\\\\\"\\\\"\\"\"\">Feed</a><span> </span><a href=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"#\\\\\\\\\\\\\\\\"\\\\\\\\"\\\\"\\"\"\" title=\"\"\\"\\\\"\\\\\\\\"\\\\\\\\\\\\\\\\"Vimeo\\\\\\\\\\\\\\\\"\\\\\\\\"\\\\"\\"\"\">Vimeo</a></div>
It automatically generates these extra codes
If I link any image in an article I cannot see the image. It shows as an broken link. What should I do?
Because your hosting is enabling Magic Quotes, you can disable it as following
+ An example that sets the value of these directives to Off in php.ini
Code:
; Magic quotes ; ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off ; Use Sybase-style magic quotes (escape ' with '' instead of \'). magic_quotes_sybase = Off
+ If access to the server configuration is unavailable, use of .htaccess is also an option. For example:
Code:
php_flag magic_quotes_gpc Off
+ With php file
ROOT/index.php and ROOT/administrator/index.php
Add this script into header file
Code:
<?php if (get_magic_quotes_gpc()) { $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST); while (list($key, $val) = each($process)) { foreach ($val as $k => $v) { unset($process[$key][$k]); if (is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = stripslashes($v); } } } unset($process); } ?>
It still did not work. I PM’d you the login details. Can you please see into it.
It still did not work. I PM’d you the login details. Can you please see into it.
I have fixed the problem on your site by
Open index.php and administrator/index.php file
add new this script
Code:
/*remove magic quotes*/ if (get_magic_quotes_gpc()) { $process = array(&$_GET, &$_POST, &$_COOKIE, &$_REQUEST); while (list($key, $val) = each($process)) { foreach ($val as $k => $v) { unset($process[$key][$k]); if (is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = stripslashes($v); } } } unset($process); }
This fix will be overriden whenever you upgrade to new version of JOOMLA, you need to contact system administrator of your hosting to fix this problem in php.ini file from WEB SERVER
Code:
; Magic quotes ; ; Magic quotes for incoming GET/POST/Cookie data. magic_quotes_gpc = Off ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc. magic_quotes_runtime = Off ; Use Sybase-style magic quotes (escape ' with '' instead of \'). magic_quotes_sybase = Off
Please check it again and let me know if it helps
Wonderful. Thank you very much for your help.
This question is now closed