Forum

Thread tagged as: Problem, Error, Runway

And here is my template again

<perch:content id="jobID" type="text" label="Job ID" help="Leave empty, only used by BroadBean" suppress="true" />
<perch:content id="jobRef" type="text" label="Job Reference" help="Reference as displayed on website" suppress="true" />
<perch:content id="jobTitle" type="text" label="Job Title" required="true" suppress="true" />
<!-- used to display  category selection interface to the CMS page -->
<!-- job sector and sub sector -->
<perch:categories id="jobSector" label="Sector" set="sectors" required="true" suppress="true"> 
    <perch:before>              
    <ul class="tags">
    </perch:before>
        <li><a href="<perch:category id="catPath" />"><perch:category id="catTitle" /></a></li>
    <perch:after>
    </ul>
    </perch:after>
</perch:categories>
<!-- Region -->
<perch:categories id="jobRegion" label="Location" set="regions" required="true" suppress="true"> 
    <perch:before>              
    <ul class="tags">
    </perch:before>
        <li><a href="<perch:category id="catPath" />"><perch:category id="catTitle" /></a></li>
    <perch:after>
    </ul>
    </perch:after>
</perch:categories>

<perch:related id="consultant" collection="Team Members" label="Assign A Consultant">  
      <perch:content id="teamMemberName" />
</perch:related>



<perch:content id="jobDesc" type="textarea" label="Description" html="true" editor="redactor" suppress="true" />
<perch:content id="consultantName" type="text" label="Consultant Name" suppress="true" />
<perch:content id="consultantTel" type="text" label="Consultant Telephone" suppress="true" />
<perch:content id="ApplyEmail" type="text" label="Application Email" help="Aplitrack email or consultant email" suppress="true" />


<div class="row job-list-item">    
    <div class="col-md-10 col-sm-12">
        <div class="article-text">
            <h3><perch:content id="jobTitle" type="text" /></h3>
            <perch:if exists="jobSalary">
                <p>
                    <perch:content id="jobSalary" type="text" label="Job Salary" required="false" help="Leave blank and select from drop down if not specified" />
                </p>
            </perch:if>                     
            <p>
                <perch:content id="salaryType" type="select" options="Negotiable,Competitive,On Application,Per Annum, Per Day, Per Month, Per Hour" label="Salary Type" required="false" help="Select type e.g Per Annum" />             
            </p>            

                <perch:categories id="jobSector">
                        <span style="display:block"><perch:category id="catTitle" type="text" /></span>
                </perch:categories>

                <perch:categories id="jobRegion">
                        <span style="display:block"><perch:category id="catTitle" type="text" /></span>
                </perch:categories>

            <a href="" class="btn btn-primary">Read more</a>
        </div>
    </div>
</div>


and the related field (Team Member) template

<perch:content id="teamMemberName" type="text" label="Name" required="true" suppress="true" />
<perch:content id="teamMemberSlug" for="teamMemberName" type="slug" label="Slug" editable="true" indelible="true" suppress="true" help="Do not change this unless you know what you're doing!"/>
<perch:categories id="sectors" label="Assign to sector" set="sectors" display-as="checkboxes" />

<p><perch:content id="teamMemberName" type="text" /></p>
<img src="<perch:content type="image" id="teamMemberImage" label="Image" bucket="team" />" />

incredibly frustrating as I really need to be able to assign team members (consultants) to jobs and your video example using authors works like a charm! :-)

Am I missing any steps, do I need to have page / slug specified or something?

Many thanks

Lee

Drew McLellan

Drew McLellan 2638 points
Perch Support

Try adding title="true" to one or more of your team member fields.