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
thanks
Pete
https://forum.flynax.com/attachment.php?attachmentid=2999&d=1544322391
Viktor
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 ?
https://forum.flynax.com/attachment.php?attachmentid=3000&d=1544430757
Sorry again my error, my preference would be to just comment block out the code that supports that button
Thank You.
Viktor
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 }&step={$steps.plan.path}&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>
{break}
{/if}
save and check again.
Pete Young
December 10, 2018, 10:33 AM
thank you Viktor
Powered by vBulletin® Version 4.1.9 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.