Tuesday, January 13, 2015
virtual names for amazon s3 buckets
http://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-custom-domain-walkthrough.html
Sunday, July 27, 2014
open ctp file in dreamweaver
There are ultimately 3 files that you need to edit. The first two are
located in the folder that you installed Dreamweaver, in my case this is
"C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration" although
I'm using the latest version of Dreamweaver previous versions also have a
"configuration" folder so go there.
Open up "Extensions.txt" and on the first line at the very end add THTML and CTP separated by commas, so the line should read:
Open up "Extensions.txt" and on the first line at the very end add THTML and CTP separated by commas, so the line should read:
,MASTER,THTML,CTP:All DocumentsSimilarly add these two extensions to the ":PHP Files" line.
PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP FilesNext open the "DocumentTypes" folder and edit the "MMDocumentTypes.xml" file, just open it up using notepad or wordpad. Search for the line which has an id "PHP_MySQL" and add the THTML/CTP file extensions to both the "winfileextension" and "macfileextension" so the line should read:
winfileextension="php,php3,php4,php5,thtml,ctp" macfileextension="php,php3,php4,php5,thtml,ctp"The final file is another version of the "Extensions.txt" which is located in your "Documents and Settings" Folder in my case this is "C:\Documents and Settings\James\Application Data\Adobe\Dreamweaver 9\Configuration" just add the very same things you inserted earlier.
Saturday, July 26, 2014
Prevent onmouseout when hovering child elements - the best solution
here is the best solution
onmouseout="if (this == event.target){reset();}
onmouseout="if (this == event.target){reset();}
Wednesday, July 16, 2014
larger image on hover
for larger image on hover here is the best tutorial
http://cssglobe.com/easiest-tooltip-and-image-preview-using-jquery/
and for pop up on hover
http://www.nicolashoening.de/?twocents&nr=8
http://cssglobe.com/easiest-tooltip-and-image-preview-using-jquery/
and for pop up on hover
http://www.nicolashoening.de/?twocents&nr=8
Monday, July 7, 2014
Friday, June 27, 2014
Wednesday, April 2, 2014
using $this->paginate= twice in a controller method
DEAR PEOPLE FROM THE FUTURE: Here's what we've figured out so far...
OP is correct that YourController::$paginate is only fed into the PaginatorComponent once. If you need to call YourController::paginate() again with different options, you'll need to unload the component first, e.g.:
$this->Components->unload('Paginator');
Then, the next time you call YourController::paginate(), it will reload whatever's in the YourController::$paginate property.
Subscribe to:
Posts (Atom)