Friday 24 May 2013

Magento: Indexing problem

Magento: Indexing problem

If you get this ...
#### process is working now. Please try run this process later.

click here for the original website

SilverStripe: A gap before the DOCTYPE

SilverStripe: A gap before the DOCTYPE

Recently we moved a site to another server and it broke in Internet Explorer (IE). What we and the client saw was in IE the site had no styles. In Chrome and Firefox the page rendered, but it was still broken and this could be seen by a gap at the top of the site where there shouldn't have been a gap. The way to fix it is to make sure both your php (.php) files and template files (.ss) are converted to 'UTF-8 without BOM'. It could also be caused by leading or trailing spaces outside your php tags.
For a more information and the resources I found this information on use the links at the bottom.

Keywords:
Website broken, Silverstripe space at the top of page, Head inside body, Head tag is empty, No styles.

click here or click here or click here or click here or click here for the original websites

Wednesday 12 December 2012

SilverStripe: Bulk Remove Comments

SilverStripe: Bulk Remove Comments

to remove all comments for a specific page:
DELETE FROM PageComment WHERE ParentID = <YourPageID>

to remove all comments marked as SPAM:
DELETE FROM PageComment WHERE IsSpam = 1 AND ParentID = <YourPageID>


click here for the original website

Wednesday 10 October 2012

Wordpress: Manually Order Categories

Wordpress: Manually Order Categories

I was trying to find a Wordpress plugin that allows you to manually reorder the Category List.
The module here seems to allow you do this quite easily. I haven't fully tested it myself, but the developer has kept it up to date. The module is called My Category Order.

click here for the original plugin.

Monday 8 October 2012

Magento: Sort Categories / Menu

Magento: Sort Categories / Menu

In order to sort category items in the main menu, you just need to drag them in the admin panel of Magento.

If this doesn't work, you can manually up date the sort values in the database.

Friday 5 October 2012

Magento: Slow Product Import

Magento: Slow Product Import

If you are trying to import products into your Magento shop and it's taking a long time. Check the following things:
  • If you have a lot of products, then that's the reason,
  • But if you only have a couple of hundred products, and it says you are importing more, then you need to clear your logs. The link below will show you how.

click here for the original website

Tuesday 18 September 2012

Wordpress: plugin error 'unexpected output'

Wordpress: plugin error 'unexpected output'

I had the below error when I installed a Wordpress Plugin for a site I am working on.

The plugin generated 228 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.

After having done quite a bit of work on the site already, I decided to see what the problem could be.
If you read the link below it'll give you a comprehensive answer, but my short and sweet version is:
The <?php ?> open or closed tags are missing in the main php file for the plugin.

click here for the original website

Monday 17 September 2012

Wordpress: qTranslate Dates/Times Wrong

Wordpress: qTranslate Dates/Times Wrong

To sort out this problem go to 'Settings/Language/Advance Settings/' and select 'Use strftime instead of date.'

click here for the original website
click here for another original website link

Wednesday 8 August 2012

Magento: Special Prices and Promo Codes

Magento: Special Prices and Promo Codes

Ever had the problem where special prices are appearing on products, but you haven't set one up.
This problem is usually because you've setup a promotional code and either set it as inactive, active, or even deleted it, but then missed the step of APPLY CODES, this then applies all the new codes and removes the old ones.

To setup promotional codes, have a look at the link below, but the keypoints are:
  • Conditions set the products that the eligible for the promo
  • Actions are what are applied
  • I usually duplicate the conditions in the actions settings as well.
In order to apply promo codes to specific products you need to change the setting to allowed for the 'use in promo codes' in the attribute settings.

click here for the original website relating to Promocodes