Top Left Text cha

Website Development Services

I've had this issue before.  I've told them about it.  I thought they would learn, but apparently not.  They don't give a shit about your custom styles - so when you go to update their extensions like SlideshowCK and MaximenuCK, you can expect your styles to BREAK!

They do stuff like put their style sheets after yours so that their styles will be read and yours will be ignored.  Of course, they probably know what's best for the design of your site, right?  That's BS but I run into it all the time.  Ignorance is the correct word for it.

My recommendation, if you're up to it, is to create your own slideshow and cool looking menu from scratch.  Then you don't have to deal with these crappy extensions.
Comment (0) Hits: 131
Warning!

Do not install Ark Editor.  The extension developers are too incompetent apparently to make sure updates to the component don't break your Joomla site.  And you better have a backup if you do take the chance because it's very very difficult to fix if even possible.
Comment (0) Hits: 176
I didn't realize people weren't able to comment on my articles for several months. It seems that when you change your site to a secure site (add SSL), there is something in the component that's supposed to see that and request recaptcha from Google at https://www.google.com/recaptcha/api.js instead of http://www.google.com/recaptcha/api.js. But it just keeps trying to use the API via the non-secure URL. I fixed it by going to line 50 (at the time) in /components/com_komento/classes/captcha/recaptcha.php and changing the line that has the non-secure URL into it so that they both have the secure URL. You would have to change this back of course if you get rid of your security certificate. And not sure if it will get overwritten with an update. But, things like this, I would assume would be found and fixed in the next update. But who knows. Some of these extension developers really don't care. They just want you to purchase the pro version. And sometimes these bugs are purposely put into the code in order to get you to buy the pro version so you can ask them to fix the bug they purposely created. Very unethical. But there are a lot of unethical coders in the world... not sure if Komento is one of them or not.
Comment (0) Hits: 222
Not the first bug I've fixed with DJ Classifieds.  There is a LOT!

Anyway, the first thing you have to do is edit /components/com_djclassifieds/themes/WedBorrow/views/additem.  Even though I have the system settings set to 'Buy Now: Yes' and 'Allow Auctions: No', it is not showing the buy now option and the option is set to no.  First of all, it's a classified system... there should be no option for 'buy now' if you're not using the auctions!  Anyway, you have to change this line:
<option value="1" <?php if($this->item->buynow){echo 'SELECTED'; }?> ><?php echo JText::_('JYES');?></option>

to

<option value="1" SELECTED><?php echo JText::_('JYES');?></option>
Then you should hide the yes/no option for 'buy now'.  Like I mentioned, it's stupid and pointless for such a thing to show in just a classified system.  The developers here also don't bother to put any kind of unique styles on their fields.  So around line 55 find:
<div class="djform_field">

And add a class to it like:

<div class="djform_field hidden">

Now you can add a style in your CSS such as .hidden {display:none;}.

Next issue: there's no friggin way for guests to purchase items!!! Why should you have to log in to buy something on a classified site???
Comment (0) Hits: 461
I've noticed for a while that the auto height doesn't work most of the time on the core wrapper module in Joomla.  Even in the latest edition (3.4 at the time of writing this), it hasn't been fixed.  I found a post in the Joomla forums with a fix that usually works...

<script type="text/javascript">
function iFrameHeight() {
  var f = document.getElementById('blockrandom');
  f.style.height = '100px' ;
  var d = (f.contentWindow.document || f.contentDocument) ;
  var height = Math.max(d.body.offsetHeight, d.body.scrollHeight) ;
  height += 200; // scrollbars?
  f.style.height = height + 'px' ;
  f.setAttribute("height", height) ;
}
</script>
<iframe <?php echo $load; ?>
   id="blockrandom"
   name="<?php echo $target ?>"
   src="<?php echo $url; ?>"
   width="<?php echo $width ?>"
   height="<?php echo $height ?>"
   scrolling="<?php echo $scroll ?>"
   class="wrapper<?php echo $moduleclass_sfx ?>" >
   <?php echo JText::_('MOD_WRAPPER_NO_IFRAMES'); ?>
</iframe>
Comment (5) Hits: 1438
I just installed the newest version of Maximenu (8.x) and purchased the Virtuemart 3/Joomla 3 patch. There seems to be a bug in it. Not displaying the 'chrome', tabs, etc. Here's the error at the bottom of the page:

Warning: require(/home/tjohns5/public_html/tonyDSadministrator/components/com_virtuemart/helpers/config.php): failed to open stream: No such file or directory in /home/tjohns5/public_html/tony/modules/mod_maximenuck/elements/ckvmcategory.php on line 15

Fatal error: require(): Failed opening required '/home/tjohns5/public_html/tonyDSadministrator/components/com_virtuemart/helpers/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tjohns5/public_html/tony/modules/mod_maximenuck/elements/ckvmcategory.php on line 15

UPDATE:
It's not really a bug... I just didn't have categories in Virtuemart set up and assigned in the module.

Comment (0) Hits: 973
I'm having an issue where the mouse wheel won't function when scrolling down - when Aikon Smooth Scroll is active.  I've had this issue before and fixed it, but don't remember what was causing it.  

FOUND IT!  I had zoomed out previously and thought I had zoomed back in.  Either way, hit <ctrl>0 to reset the zoom level.
Comment (0) Hits: 914
Go to module manager.
Click on 'option' on the top right.
Under default settings, look at 'colours'.
They are default like:
FFFFFF,00FF00,FF0000, etc.

Just add the hashtags so it looks like:
#FFFFFF,#FF0000,#00FF00, etc.
Comment (0) Hits: 817
This is yet another extension that doesn't work out of the box.  Qlue Sitemap gives errors in Google Webmaster Tools.  But it seems that all the other sitemap extensions I tried sucked also so I decided to fix the template on this one.  Here's how to do it with template overrides...

Inside of your site's theme, create the following folders and file (xml.php) so that the following example file path exists...

yourdomain.com/templates/your_template/html/com_sitemap/default/xml.php

The file, xml.php should contain the following:

<?php

/**
* Qlue Sitemap
*
* @author Jon Boutell
* @package QMap
* @license GNU/GPL
* @version 1.0
*
* This component gathers information from various Joomla Components and 
* compiles them into a sitemap, supporting both an HTML view and an XML 
* format for search engines.
*
*/

defined('_JEXEC') or die('Restricted Access'); ?>

<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<?php if (!empty($this->items)): ?>
		<?php foreach($this->items as $key => $link): ?>
			<url>
				<loc><?php echo $this->url . $this->escape($link) . "/"; ?></loc>
			</url>
		<?php endforeach; ?>
	<?php endif; ?>
</urlset>

By the way, if you want to make the HTML sitemap look good (the one that visitors see), here's some CSS.  You might want to change the colors to match your site.  By the way, you need to have a unique body tag on your site.  If you don't and want to add one to your index page, check it out here.

body.siteMap .content {
    text-align:center;
}
body.siteMap .content ul>li {
    display: inline-block;
    margin: 6px 3px;
}
body.siteMap .content ul>li>a {
    background: #0000ff;
    color: #fff;
    padding: 2px 8px;
    border: 1px solid #000;
    border-radius: 5px;
}
body.siteMap .content ul {
    border: 1px solid #000;
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 0 10px #000;
}

 


That's it.  Qlue Sitemap should work fine now.  

This works on the latest version of Qlue Sitemap in Joomla 3.3+



Comment (0) Hits: 3380
Chances are that if you use Project Log, it won't be public.  In the first release after beta there is a bug in the SEF URLs that make the projects not show up.  The entire site breaks (blank white page) in fact.

I just removed all functionality in the router.php file located inside the com_projectlog folder so it looks like so...
<?php

defined('_JEXEC') or die;
class ProjectlogRouter extends JComponentRouterBase
{
	public function build(&$query)
	{
	}
	public function parse(&$segments)
	{
	}
}
function ProjectBuildRoute(&$query)
{
}
function ProjectParseRoute($segments)
{
}

 

Comment (0) Hits: 1394

Using Event Booking's 'Upcoming Events' menu item type for the home page destroyed my title tag.

I tried a few methods, but the quick & easiest is to just remove the instructions to replace the Joomla core page title. You will just need to set this in the page display options of the menu item.

Remove the following code from /components/com_eventbooking/views/upcomingevents/view.html.php. You should find it around line 35.

$pageTitle = JText::_('EB_UPCOMING_EVENTS_PAGE_TITLE');
		if ($category)
		{
			$pageTitle = str_replace('[CATEGORY_NAME]', $category->name, $pageTitle);
		}		
		$document->setTitle($pageTitle);

If you're looking to fix this on other pages/menu item types, it should be easy to figure out where to find it. For example, if you want to fix it on a page of item type, 'events calendar', look for the same chunk of code or similar and remove it from /components/com_eventbooking/views/calendar/view.html.php.

This modification is specifically for Event Booking 1.6.3 on Joomla 2.5.14, but it should be of help with later releases also.

By the way, unfortunately you can not do this via a template override... not on the .html.php file.  So, for now, you'll just have to be careful when you update and rip out the bad code every time.  Booooo to the developers for not caring about SEO.

Comment (0) Hits: 1518

It took me a while to figure out why I had modules disappearing and appearing multiple times in random positions. It was caused by a combination of Flexi Custom Code and an ISP caching issue. Replacing Flexi Custom Code with Custom HTML Advanced corrected the issue.

Custom HTML Advanced unfortunately doesn't allow you to mix HTML & PHP. There are separate boxes for each of those languages. So, for example, if you want to put a dynamic copyright in the module, you would need to put it in the PHP box like so...

?>
<div class="copyRight">
&copy; 2010-<?php echo date('Y'); ?> TJohns.co
</div>
<?php

Also, you might want to get rid of the pointless HTML comments placed around the module in /modules/mod_custom_advanced/mod_custom_advanced.php (if you like very clean code like me)...

<!-- BEGIN: Custom advanced (www.pluginaria.com) -->
<?php
$customHtml = $params->get('customHtml');
if (strlen($customHtml) > 0) {

    if ($params->def('prepare_content', 0))
    {
    	JPluginHelper::importPlugin('content');
    	$customHtml = JHtml::_('content.prepare', $customHtml);
    }

    echo $customHtml;
}

$evalPhp = $params->get('evalPhp');

if (substr($evalPhp, 0, 5) === '<?php') {
    $evalPhp = substr($evalPhp, 5);
}

if (substr($evalPhp, -2) === '?>') {
    $evalPhp = substr($evalPhp, 0, -2);
}

if (strlen($evalPhp))
    eval($evalPhp);
?>
<!-- END: Custom advanced (www.pluginaria.com) -->
Comment (0) Hits: 1910
X