PATH_OF_YOUR_APPENGINE_SDK/bin/appcfg.sh --application=YOUR_APP_ID --email=xxxx@gmail.com download_app war
Nov 13, 2012
GAE - How to download your code in appengine server.
Here the simple way to do.
GAE - Setting mimetype manually in Web Apps
Google Appengine Static Files
In some static files. Google Appengine send a wrong mimetype and mostly set application/octet-stream.To be fixed the minetype, we need to configure the mapping on your web.xml. See sample below how to declare the mapping.
<mime-mapping>
<extension>wsdl</extension>
<mime-type>text/xml</mime-type>
</mime-mapping>
Happy reading
Oct 18, 2012
Magento: How to add static block in your layout file?
Here we need to do, create static block, and assume we set the "my_test_static_block" as our name/identifier.
As we already created the static block. Place the code below in you layout (xml) file
See attached image for the sample.
As we already created the static block. Place the code below in you layout (xml) file
<block type="cms/block" name="test_main_block"> <action method="setBlockId"> <block_id>my_test_static_block</block_id> </action> </block>
See attached image for the sample.
Magento: How to add static block in your template file?
Here we need to do, create static block, and assume we set the "my_test_static_block" as our name/identifier.
As we already created the static block. Place the code below in you template (phtml) file.
In you looking how to add static in your layout file you found in this link.
Happy reading.
As we already created the static block. Place the code below in you template (phtml) file.
<?php
echo $this->getLayout()
->createBlock('cms/block')
->setBlockId('my_test_static_block')
->toHTML();
?>
In you looking how to add static in your layout file you found in this link.
Happy reading.
Subscribe to:
Posts (Atom)
