Appending to column of csv file

## python 2.7.3 import csv writer=csv.writer(open(“output.csv”,”wb”), delimiter=’;’, quotechar='”‘, quoting=csv.QUOTE_MINIMAL) with open(‘products.csv’, ‘rb’) as csvfile: spamreader = csv.reader(csvfile, delimiter=’@’) ## for row in spamreader: ## writer.writerow(row[0].strip() + row[1].strip() + row[2].strip() +row[3].strip() +row[4].strip() +row[5].strip() + row[6].strip() + row[7].strip() + row[8].strip() + row[9].strip()) Read more…

How to remove ID from URL in Joomla 2.5 and 3

Open componentscom_contentrouter.php in an editor and make a small changes: in function ContentBuildRoute(&$query) replace line 27 $advanced = $params->get(‘sef_advanced_link’, 0); with $advanced = $params->get(‘sef_advanced_link’, 1); in function ContentParseRoute($segments) replace line 208 $advanced = $params->get(‘sef_advanced_link’, 0); with $advanced = $params->get(‘sef_advanced_link’, 1); Comment out Read more…