View Full Version : I would like to block out / remove the post your add button please ? how to

Pete Young
December 9, 2018, 02:28 AM
As per the title like to block out the code that shows this button please as I want to just set a text link in a box else where



December 10, 2018, 02:37 AM
Hello Pete,

Do you want to remove Post you Add button from top menu? Would you please send us a screenshot.

Pete Young
December 10, 2018, 08:34 AM
ok sorry I thought it was attached ?


Sorry again my error, my preference would be to just comment block out the code that supports that button

Thank You.

December 10, 2018, 09:29 AM
Hello Pete,

Open file: ftp://templates>>general_wide>>tpl>>menus>>main_menu.tpl find and remove the code:

{if $mainMenu.Key == 'add_listing'}
<a class="add-property button" {if $mainMenu.No_follow || $mainMenu.Login}rel="nofollow" {/if}title="{$mainMenu.title}" href="{$rlBase}{if $pageInfo.Controller != 'add_listing' && !empty($category.Path) && !$category.Lock}{if $config.mod_rewrite}{$mainMenu.Path}/{$category.Path}/{$steps.plan.path}.html{else}?page={$mainMenu.Path }&amp;step={$steps.plan.path}&amp;id={$category.ID}{/if}{else}{if $config.mod_rewrite}{$mainMenu.Path}.html{$mainMen u.Get_vars}{else}?page={$mainMenu.Path}{/if}{/if}">{$mainMenu.name}</a>

save and check again.

Pete Young
December 10, 2018, 10:33 AM
thank you Viktor