Working with Opencart version 1.5, however the script below is very easily editable to work with any version. The way it works is by simply adding a meta description column to your information database table, populating it when editing your information page and spitting it out into the html of your front end page. 1) […]
Author Archive for: ctn-admin
This author has yet to write their bio.Meanwhile lets just say that we are proud ctn-admin contributed a whooping 25 entries.
Entries by ctn-admin
Go to the catalog controller page: catalog/controller/catalog.tpl Find the line: ‘name’ => $result[‘name’], Insert another line below this: ‘model’ => $result[‘model’], Now you can echo the model on your main category template page.
Instead of using the default success message in the Contact Form 7 WordPress Plugin you may wish to redirect users to a customised thank you / success page. This can be useful for showing extra information, tracking leads etc. Create the Contact Form 7 Redirect… Login to WordPress and Select Contact Forms from the sidebar […]
If you run into a problem where your wordpress page is coming up blank or timing out there is a good chance the PHP memory is timing out. Have a look in your server’s error.log file and you might see something like the following [08-Sep-2014 12:35:06 UTC] PHP Fatal error: Allowed memory size of 50331648 […]
selectnav.js is a handy jquery tool used for transforming a <ul> list into a select menu. Generally for a resonsive mobile friendly view. Available here: https://github.com/lukaszfiszer/selectnav.js/ By default it has an empty title which can be a little confusing for users. To give the menu a title do the following… Find the following code in your […]
By default you are only allowed to upload image based files into the WYSIWYG editor built into Magento. If you need the ability to upload PDF files here is how. Navigate to: app/code/core/Mage/Cms/etc/config.xmlAround line 110 onwards you will see: <allowed> <jpg>1</jpg> <jpeg>1</jpeg> <png>1</png> <gif>1</gif> </allowed> Add in the line: <pdf>1</pdf> where needed and upload your […]
If your like me and prefer to download a file and manually upload it with ftp this will show you how. Find your required extension on Magento Connect. Click the “Get Now” button, then the “Get Extension Key” button. Copy this extension key. Go to http://freegento.com/ddl-magento-extension.php and paste in the extension key. Download the compressed folder […]
This is one of the more frustrating problems I have encountered with Magento. It generally occurs after working with 3rd party plugins. It will lock you out of the both the front-end and back-end of your website. The solution, the only one as far as I know, is to login via FTP to the […]
If you are using any of the newer versions of WordPress you may miss having the functionality to let you turn of the admin bar that hovers on the top once you are logged in. I personally prefer this off as it tends to throw off the look of your design as you are working […]