Profile
Achievement
hotdiggity's Recent Snippets
- All /
Rewrites url to appear like the additional domain appears independently hosted, however, only appropriate for a temporary web page as other pages throw an error.
0
932
posted 12 years ago by hotdiggity
Set up a basic template:
<html>
<head>
<title>[[++site_name]] - [[*pagetitle]]</title>
<base>
<meta>​
</head>
<body>
[[*content]]
</body>
</html>
Content:
<div>
<h4>The ACME web site is currently under development</h4>
<p>Please...
0
629
posted 12 years ago by hotdiggity
Writes to a text file, test.txt, instead of email for the purposes of testing.
0
744
posted 13 years ago by hotdiggity
Lastly, in order to make magento connect to work correctly edit the pear.ini (downloader/pearlib/pear.ini) and update al the paths that you see in this file. Otherwise magentoconnect will try to upgrade your old site when you use it.
(the files do...
0
728
posted 13 years ago by hotdiggity
Say you don’t want to reset ALL your orders, maybe you want to PRUNE a production database. if that’s the case, this php file (added to a crontab, or ran from your magento root directory) will DELETE all cancelled orders (5000 limit per instance)...
0
691
posted 13 years ago by hotdiggity
On a new layer, add the following Actionscript to the frame requiring to be paused.
1000 represents the delay in milliseconds, being 1 second.
0
1107
posted 15 years ago by hotdiggity
1. Create button that covers the entire ad.
2. Create an instance of the button on the main timeline and name it "buttonClip" in the properties palette.
3. On a new layer add ActionScript to the timeline as follows:
0
946
posted 15 years ago by hotdiggity
On a new actions layer, add the following script to frames requiring to be paused.
10000 represents the delay milliseconds (10 seconds).
1
1167
posted 15 years ago by hotdiggity
1. Create button that covers the entire ad.
2. Create an instance of the button on the main timeline and name it "clickTag_bn" in the properties palette.
3. On a new layer add ActionScript to the timeline as follows:
2
900
posted 15 years ago by hotdiggity
Handy when web hosts limit database upload size. Create folder in home directory call "mysql_dump", upload and extract mysql file into this directory. Ask web host to enable SSH.
0
973
posted 15 years ago by hotdiggity
In IE6 (+7?) the fieldset width doesn't automatically resize to fit the width of the parent container.
1
755
posted 15 years ago by hotdiggity
In MODx, insert below:
# The Friendly URLs part
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
2
809
posted 15 years ago by hotdiggity
<table>
<tr>
<td>Head</td>
</tr>
<tr>
<td>Subhead</td>
</tr>
<tr>
<td>text</td>
</tr>
</table>
0
715
posted 15 years ago by hotdiggity