Dear all,
With help of Curtis I made this listing type key 'biz' to need approval while others are auto approved according to admincp. One thing left is to change the step done phrase. Which I found in this file:
templates/controllers/add_listing/step_done.tpl
In this find is this code:
I want to add listing type 'biz' to show phrase saying that listing need approval so I add<div class="text-notice">
{if $config.listing_auto_approval}
{assign var='done_phrase_key' value='notice_after_listing_adding_auto'}
{else}
{assign var='done_phrase_key' value='notice_after_listing_adding'}
{/if}
{phrase key=$done_phrase_key}
</div>
But it always show value='notice_after_listing_adding_auto', even though I add listing in biz listing type. Did I do something wrong?<div class="text-notice">
{if $config.listing_auto_approval || $listingType.Key != 'biz'}
{assign var='done_phrase_key' value='notice_after_listing_adding_auto'}
{else}
{assign var='done_phrase_key' value='notice_after_listing_adding'}
{/if}
{phrase key=$done_phrase_key}
</div>