For Magento 1.6.0.0 the following procedure should be followed: Complete the master installationnote down the password key Login as admin and create the second website and store Complete the secondary installationDuring the DB step, enter remote database server and credentialsUse the password key from the master installation Edit the secondary installation index.php file, remark the [...]
http://freshstartproject.eu/
Here’s how to have a fixed column width when using TableLayout in Android: Set each View’s layout_width equal to 0. Add in each View layout_weight, according to your needs Here’s an example of a TableView with two equal-sized fixed columns: <TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content"> <TableRow> <TextView android:layout_width="0dip" android:layout_weight="1" android:text="1" /> <TextView android:layout_width="0dip" android:layout_weight="1" android:text="100000" /> </TableRow> [...]
26 Oct 2010
Filled in: MySQL
Here’s a handy function: DELIMITER $$ DROP FUNCTION IF EXISTS Capitalize $$ CREATE FUNCTION Capitalize(x char(255)) RETURNS char(255) CHARSET utf8 BEGIN RETURN LTRIM(CONCAT( UPPER(SUBSTRING(x, 1, 1)), LOWER(SUBSTRING(x, 2, CHAR_LENGTH(x)-2)), IF( UPPER(SUBSTRING(x, -1)) = "Σ", "ς", LOWER(SUBSTRING(x, -1)) ) )); END $$ DELIMITER ; The key function here is CHAR_LENGTH which returns the count of characters [...]
TDM, an established online magazine dedicated to the art of design, is giving away a brand new 32GB iPad. The lucky one will have it shipped to his door, provided the shipping costs are up to $150. They require in return some publicity on the web, which I’m sure everybody will agree they are well [...]
If you are using both WPaudio and WPminify plugins in wordpress you will notice that WPaudio has stopped working. The solution is easy: go to WPminify options, scroll down to the text area titled “Javascript files to exclude from minify (line delimited)” and add the following two lines: soundmanager2-nodebug-jsmin.js wpaudio.js
Don’t you hate it when users press ENTER to move to the next field and the form is submitted instead? Here’s a quick solution: 1. Before the form->create method, add the following: <script type="text/javascript"> var itsclicked = false; </script> 2. At the form->create method, add the following: <?php echo $this->Form->create('model', array('onsubmit' => 'return itsclicked;')); ?> [...]
I’m using Google Chrome on my dear netbook, running Ubuntu 10.04. Since yesterday after an abnormal shutdown, I was getting the message “Your profile could not be opened correctly” yada yada. I tried some rm – cp stuff, suggested elsewhere, but it didn’t work. In the end, I opened ~/.config/google-chrome/Default/ and I deleted every file [...]
After upgrading to the latest (5.6.6 Unicode) version of Notepad++, I had several problems (read: crashes). After playing around with the plugins, I noticed that the problem was with one of my (favorite) plugins: Function List. Fortunately, thanks to Ruslan’s blog I found the solution: download a copy from here.
Days of Wonder, my favorite board games publisher, is up to a new suprise. The game “Mystery Express” was announced a few minutes ago, sadly without too many details. According to the website, the game is out in March and it will be available in English, French and German. From the publisher’s blog we read [...]