You are not logged in.
You can post links like google.com which will be rendered as text but you will not be able to post messages that contain complete URLs like www.google.com
Thank you for your understanding!Pages: 1
How to count the jobs? i need to loop the numbers from 1 before the job shows up so i can see how many jobs there? Desperate for answers guys thanks and help will be appreciated!
Offline
No problem solved already
{if $spotlight_jobs}
<h2>{$translations.homepage.spotlight_jobs}</h2>
<span style="color:transparent;">{counter start=0}</span>
{foreach item=job from=$spotlight_jobs}
<div class="row-spot">
<span class="row-info">
{counter}
<img src="{$BASE_URL}_templates/{$THEME}/img/icon-{$job.type_var_name}.png" alt="{$job.type_name}" />
<a href="{$BASE_URL}{$URL_JOB}/{$job.id}/{$job.url_title}/" title="{$job.title}">{$job.title}</a> <span class="la">{$translations.homepage.at}</span> {$job.company}{if $job.is_location_anywhere}, {$translations.jobs.location_anywhere}{else} <span class="la">{$translations.homepage.in}</span> {$job.location}{/if}
</span>
<span class="spotlight-image"></span>
</div>
{/foreach}
{/if}
Offline
get the jobs counter from the query. and put in $spotlight_jobs array and display in the template
Thanks &Regards
DV Tech Services Pvt Ltd
Email: venkat@dvtservices.com; www.dvtservices.com Bangalore. India
We are Ready to Resolve your problems ..... And Ready to work for jobber base customizations
Offline
Pages: 1