Skip to end of metadata
Go to start of metadata

To modify the design of the Featured Jobs block - you need to edit the featured_listings.tpl

(Layout and Content>System tempaltes-> classifieds -> featured_listings.tpl)

Changing number of columns

To change the number of columns / rows you need to edit the main.tpl

(Edit Templates > Main > main.tpl)

Note: the number of columns can be changed for all Themes except the “Intelligent View” Theme.

In the _main.tpl_you need to find the following part of the code:

    {module name="classifieds" function="featured_listings" number_of_cols="4" items_count="4" listing_type="Job"}

To change the number of columns speciy the apropriate numbers here:

number_of_cols="4" – number of columns

items_count="4" - total number of listings that will be displayed in Featured Jobs block. This number is used by  the system to automatically calculate number of rows  ("items_count" number devided by "number_of_cols" number).

For example you want 3 columns of featured jobs and 21 featured jobs in total ( system will automatically show 7 rows)

    {module name="classifieds" function="featured_listings" number_of_cols="3" items_count="21" listing_type="Job"}

 

Please note that even if you set items_count="21" but in Admin panel-> Listing Management-> Manage Listsings you have only 4 listsings marked as "featured", only 4 will be displayed in "Featured Jobs" block.

Please note that CSS file might need modifications if you change number_of_cols data. For example, depending on the theme, you might need to increase or decrease the width and height of the backgound image used for "Featured Jobs" block.

Moving "Featured Jobs" block

To move the Featured Jobs block to another place – cut the code and paste it to the needed place in the main.tpl template code.


    {module name="classifieds" function="featured_listings" number_of_cols="4" items_count="4" listing_type="Job"}

  • No labels