Skip to content

Instantly share code, notes, and snippets.

"#{attr} updated to #{changes} on register #{self.id} at #{Time.now}" generates the
following for the activities embedded document:
##########################################################################################
MESSAGE: _index updated to Temporary name
Contaminated Sites
New contamination
two models:
ChecklistItem and ChecklistItemMedia
C.I. has_many :files, :class_name => ChecklistItemMedia
C.I.M. belongs_to :c_i
added "checklist_item_id" column tot he CIM database table
<!--So basically what I'm doing, is filling an array with key/val pairs for each special property. This way we keep the html cleaner below
THIS IS NEAR THE TOP of theme042/template/view.phtml
-->
<?php
$_helper = $this->helper('catalog/output');
$_product = $this->getProduct();
<!--
<reference name="content">
<block type="catalog/product_new" name="home.catalog.product.new" alias="product_new" template="catalog/product/new.phtml" after="cms_page"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block>
<block type="reports/product_viewed" name="home.reports.product.viewed" alias="product_viewed" template="reports/home_product_viewed.phtml" after="product_new"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block>
<block type="reports/product_compared" name="home.reports.product.compared" template="reports/home_product_compared.phtml" after="product_viewed"><action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action></block>
</refe
struct AudioBuffer{
UInt32 mNUmberChannels;
UInt32 mDataByteSize;
void * mData;
}
struct AudioBufferList{
UInt32 mNumberBuffers;
AudioBuffer mBuffers[1]; //this is a variable length array of Buffer elementsa
}
<!-- in page.xml - the default layout -->
<default translate="label" module="page"> <!-- the default applies to all pages unless specifically overridden -->
<label>All Pages</label>
<!-- this defines the block for the entire page -->
<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
http://i.imgur.com/ph7CN.png
I highlighted it so it would show up.
Twofold problem:
One, you're not escaping things properly. I can't really conceive of why that would happen, but I have no idea how it's laid out in the code
Two: the tag is longer than the width of the button, and is truncated, with unexpected results on highlight.
<?xml version="1.0"?>
<!--
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
<!-- in theme042/layout/catalog.xml -->
<reference name="root"> <!-- means that for this page we're going to update the root block (aka the whole page)
<!-- this magick incantation changes the template for this page. Paths are relative to
theme042/template, and if they don't exist there, they're searched for in
default/template -->
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
<!-- IN page.xml -->
<!-- this defines a "content block" in the layout of the page. -->
<block name="Foo">
<!-- yada yada yada -->
</block>
<!-- in ANY OTHER xml file -->