Jump to content

1.7.6.x Add Descriptions below Address Fields


Recommended Posts

I am in the process of modifying four of my working 1.5.6.2 shops to 1.7.6.1.  The 1.5.6.2 templates allowed display of a field name to the left, the field, then a helper description below the field. I am unable to see how a description may be added to the 1.7.6.1 fields.

This is the sample code from the 1.5.6.2 address.tpl file modified with the span class="form_info" section that displays a description under the field in the form:

		{if $field_name eq 'address2'}
		<p class="required text">
			<label for="address2">{l s='Address (Line 2)'}</label>
			<input type="text" id="address2" name="address2" value="{if isset($smarty.post.address2)}{$smarty.post.address2}{else}{if isset($address->address2)}{$address->address2|escape:'html'}{/if}{/if}" />
			<span class="form_info">{l s='(Apartment, suite, unit, building, floor, etc.)'}</span>

		</p>
		{/if}

Anyone have an idea on how to accomplish the same using 1.7.6.1?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...