I don't have a lot of experience with Contemplate, nor am I good with coding. I think contemplate should help me with what I want to do...

I've laid it out here - http://tylersells.ca/node/29

But will try to embed the images here:

I want to change the listings page from looking like this:
Only local images are allowed.

To this:
Only local images are allowed.

Here are the areas of fields I want to move around.
Only local images are allowed.

As I said, I'm not all that good with figuring out all the code so as much of it as possible would be a great help.

Comments

mdowsett’s picture

I tried to put Only local images are allowed. tags in the above post....I should have known they wouldn't be allowed. The links that do work above will lay out what I'm trying to do.

jrglasgow’s picture

If you could paste in a list of the Teaser Variables in <code> tags it would be helpful.

mdowsett’s picture

I'm more after layout help....not picking what fields to show (that's the easy part).

Is this what would help?

An example node has been loaded and its properties appear below. Click on the the property names to add them to your template.

$node->nid
    25 
$node->vid
    25 
$node->type
    listing 
$node->status
    1 
$node->created
    1213801423 
$node->changed
    1213801486 
$node->comment
    0 
$node->promote
    1 
$node->sticky
    0 
$node->revision_timestamp
    1213801486 
$node->title **
    a third test 
$node->teaser
    <div class="field field-type-image field-field-main-pic"><div class="field-items"><div class="field-item"><img src="http://tylersells.ca/files/white-house-picture.jpg" alt="white-house-picture.jpg" title="white-house-picture.jpg" width="200" height="129" /></div></div></div><div id="tabs-tabset0" class="drupal-tabs"><ul class="anchors"><li class="fieldgroup group-property-parameters"><a href="#tabs-tabset0-1">Property Parameters</a></li><li class="fieldgroup group-more-info"><a href="#tabs-tabset0-2">More Info</a></li></ul><div id="tabs-tabset0-1" class="fragment"><h2 class="drupal-tabs-title">Property Parameters</h2><div class="field field-type-content-taxonomy field-field-area"><div class="field-items"><div class="field-item"><div class="field-label-inline-first">Area:&nbsp;</div><a href="/taxonomy/term/44" rel="tag" title="">Joe Richie</a></div></div></div><div class="field field-type-content-taxonomy field-field-property-type-0"><div class="field-items"><div class="field-item"><div class="field-label-inline-first">Property Type:&nbsp;</div><a href="/taxonomy/term/10" rel="tag" title="">Recreational</a></div></div></div><div class="field field-type-content-taxonomy field-field-bathrooms"><div class="field-items"><div class="field-item"><div class="field-label-inline-first">Bathrooms:&nbsp;</div>Over 3</div></div></div><div class="field field-type-content-taxonomy field-field-bedrooms"><div class="field-items"><div class="field-item"><div class="field-label-inline-first">Bedrooms:&nbsp;</div>4</div></div></div><div class="field field-type-content-taxonomy field-field-view"><div class="field-items"><div class="field-item"><div class="field-label-inline-first">View:&nbsp;</div>City</div></div></div><div class="field field-type-content-taxonomy field-field-options"><div class="field-items"><div class="field-item"><div class="field-label-inline-first">Options:&nbsp;</div>Acreage<br />Big Yard</div></div></div></div><div id="tabs-tabset0-2" class="fragment"><h2 class="drupal-tabs-title">More Info</h2><div class="field field-type-number-integer field-field-mls"><div class="field-items"><div class="field-item"><div class="field-label-inline-first">MLS:&nbsp;</div>453</div></div></div></div></div> 
$node->log
$node->format
    1 
$node->uid
    1 
$node->name
    admin 
$node->picture
$node->data
    a:0:{} 
$node->last_comment_timestamp
    1213801423 
$node->last_comment_name (NULL)
$node->comment_count
    0 
$node->taxonomy (array)

    $node->taxonomy[44] (object)

        $node->taxonomy[44]->tid
            44 
        $node->taxonomy[44]->vid
            3 
        $node->taxonomy[44]->name
            Joe Richie 
        $node->taxonomy[44]->description
        $node->taxonomy[44]->weight
            0 

    $node->taxonomy[10] (object)

        $node->taxonomy[10]->tid
            10 
        $node->taxonomy[10]->vid
            2 
        $node->taxonomy[10]->name
            Recreational 
        $node->taxonomy[10]->description
        $node->taxonomy[10]->weight
            0 

$node->files (array)

$node->field_address (array)

    $node->field_address[0] (array)

        $node->field_address[0]['street1']
        $node->field_address[0]['street2'] (NULL)
        $node->field_address[0]['apt'] (NULL)
        $node->field_address[0]['city']
        $node->field_address[0]['state']
        $node->field_address[0]['zip']
        $node->field_address[0]['country']
        $node->field_address[0]['other'] (NULL)

$node->field_area (array)

    $node->field_area[0] (array)

        $node->field_area[0][44] (object)

            $node->field_area[0][44]->tid
                44 
            $node->field_area[0][44]->vid
                3 
            $node->field_area[0][44]->name
                Joe Richie 
            $node->field_area[0][44]->description
            $node->field_area[0][44]->weight
                0 

        $node->field_area[0]['view']
            <a href="/taxonomy/term/44" rel="tag" title="">Joe Richie</a> 

$node->field_description (array)

    $node->field_description[0] (array)

        $node->field_description[0]['value'] **
        $node->field_description[0]['view']

$node->field_bathrooms (array)

    $node->field_bathrooms[0] (array)

        $node->field_bathrooms[0][88] (object)

            $node->field_bathrooms[0][88]->tid
                88 
            $node->field_bathrooms[0][88]->vid
                8 
            $node->field_bathrooms[0][88]->name
                Over 3 
            $node->field_bathrooms[0][88]->description
            $node->field_bathrooms[0][88]->weight
                0 

        $node->field_bathrooms[0]['view']
            Over 3 

$node->field_bedrooms (array)

    $node->field_bedrooms[0] (array)

        $node->field_bedrooms[0][83] (object)

            $node->field_bedrooms[0][83]->tid
                83 
            $node->field_bedrooms[0][83]->vid
                7 
            $node->field_bedrooms[0][83]->name
                4 
            $node->field_bedrooms[0][83]->description
            $node->field_bedrooms[0][83]->weight
                0 

        $node->field_bedrooms[0]['view']
            4 

$node->field_listing_agent (array)

    $node->field_listing_agent[0] (array)

        $node->field_listing_agent[0]['uid'] (NULL)

$node->field_main_pic (array)

    $node->field_main_pic[0] (array)

        $node->field_main_pic[0]['fid']
            8 
        $node->field_main_pic[0]['title']
            white-house-picture.jpg 
        $node->field_main_pic[0]['alt']
            white-house-picture.jpg 
        $node->field_main_pic[0]['nid']
            25 
        $node->field_main_pic[0]['filename']
            white-house-picture.jpg 
        $node->field_main_pic[0]['filepath']
            files/white-house-picture.jpg 
        $node->field_main_pic[0]['filemime']
            image/jpeg 
        $node->field_main_pic[0]['filesize']
            106394 
        $node->field_main_pic[0]['view']
            <img src="http://tylersells.ca/files/white-house-picture.jpg" alt="white-house-picture.jpg" title="white-house-picture.jpg" width="200" height="129" /> 

$node->field_mls (array)

    $node->field_mls[0] (array)

        $node->field_mls[0]['value'] **
            453 
        $node->field_mls[0]['view']
            453 

$node->field_price_range (array)
$node->field_property_type_0 (array)
$node->field_sell_price (array)
$node->field_listed_price (array)
$node->field_view (array)
$node->field_options (array)
$node->field_private_notes (array)
$node->iid (boolean)
    FALSE 
$node->readmore (boolean)
    FALSE 
$node->content (array)
$node->links (array)
jrglasgow’s picture

If you are just after layout help you want something like this

<div id="left-block">
  <div id="house-image">
    <img src="house1.png"/>
  </div>
  <div id="house-price">
     $ house price
  </div>
</div>
<div id="house-tabs">
   <!--- put code for tabs here --->
</div>

you would use code like this for the contemplate, then in your theme style.css you would do this

#left-block, #house-tabs {
  #we use this to select the two main DIVs
  float: left;
  #this will float them to the top of the container on the left, 
  #assuming that they will both fit in the same row, 
  #else the second one will be moved to the next line.
}
# you can make sure they both fit in the same row by giving them a fixed width
#left-block {
  width: 200px;
}
#house-tabs {
  width: 400px;
}
#remember that if something inside the DIV is a fixed width, 
#like the image, it will force the container DIV i.e. #left-block 
#to be bigger then you want it