Home > Resource

Resources

Editing Blog Category and Tags Template in Wordpress

PDF Print E-mail
Resources - Wordpress
Note to self: This is found in the archive.php file. You can go in there and find all the if statements base don link type for tags and categories. If you add anything to your blog template you should add it here as well as index.php which should be your default blog template. It's strange how Wordpress separates the two, although I understand the reason. Hope someone elses benefits from this because I had a hell of a time searching for it, maybe my SEO friendly title will help!
 

Better SEF URL's for Blogs and News - Joomla! Hack

PDF Print E-mail
Resources - Joomla!

All credit to this article goes to Ahmad from Alfy Studio. Great work!!

sh404SEF is a Joomla! extension helps you creating better SEF URLs. It's full of features and parameters that helps you to acheieve the format you want for your Joomla! website. On July 24th 2008 the JED editors announced that sh404SEF has been added to the editors' pick. Development cycle continued and sh404SEF became one of the must have extensions.

 

Track Referer and Entry Page with a Cookie

PDF Print E-mail
Resources - Web Programming

I found this simple script on the internet by Ammon Johns. He was nice enough to share it as long as we give credit. His script was originally to track a referer. It sets a "referrer" cookie which you can pull into any document using the php code <?php echo $_COOKIE['referrer'] ?>. I hope that helps someone, it took me forever to figure it out. There is a way to pull the information with javascript too something like "document.cookie.referrer or some such, but i'm no expert in javascript yet.

I wanted to track the entry page as well because I had another script assigning a variable of k_wcid (omniture) to any person who came into our site through google's PPC (Pay Per Click) Adwords campaign. This way we coudl track what site and keywords they came from with the referrer, and what page they landed on, which would also tell us if it was PPC or not.

 

 

Speed Up Magento - Even on Godaddy!

PDF Print E-mail
Resources - Magento
I found this tidbit while beginning my Magento Journey. Turns out you can speed up the frontend of Magento with a couple of lines of code. Credit goes to Tomislav Bilic at Inchoo
 

Joomla! Hack - Save Title Alias with Capital / Uppercase letters

PDF Print E-mail
Resources - Joomla!

How to stop Joomla from Reformatting your Title Alias to Lowercase

I found this core hack a while ago but couldn't find it again. I searched and searched until eventually I went digging through Joomla files to find out where it was.

If you are tired of having Joomla overwrite your Title Alias, or Article Alias, then this hack is for you. This is very useful when transferring over sites from different systems which used an alias field as the page title, and was case sensitive.

 

Joomla! Hack - Using Chrono forms with HTTPS

PDF Print E-mail
Resources - Joomla!

go to modules/mod_chronocontact/helper.php

change all JURI::base() to JURI::base( true )

This will stop Chronocontact from using default http://www.yoursite.com and use the base directory "/" which then allows Joomla to use HTTPS instead of HTTP.

Otherwise JURI will create form POST ACTION to JURI which is in HTTP.

 

Joomla! Hack - Add Query String to Chronforms Redirect URL from POST Value

PDF Print E-mail
Resources - Joomla!

I had an instance where I needed an ID Variable to be placed in the URL as a query so i could pull it down from the next page with Javascript.

I wanted the URL Redirect field not to just go to http://www.example.com/thinking.html but to http://www.example.com/thinking.html?xID=(ID Variable)

 

Joomla! Hack - Fix Category Trailing Slash CSS Error in SH404SEF

PDF Print E-mail
Resources - Joomla!
This is more of a: you should know this, rather than a Hack. I had a problem where any page that had its URL formatted by SH404SEF with a trainling slash "/" instead of HTML, lost its CSS properties. Turns out if you manually insert a template file such as in Dreamweaver and upload with that format it will think that the "/" represents a new base directory. Solve this by using Joomla's own base directory command:
<link rel="stylesheet" href="/baseurl ?>/templates/templatename/css/template.css" type="text/css" />
or by using .. to denote the base directory.
<link rel="stylesheet" href="/../templates/templatename/css/template.css" type="text/css" />.
Either way should work.
 


About UsSEO Glossary
Valid XHTML and CSS. Esotech Logo, Site and all Content © 2010 Esotech Inc.