Adrian Peptine1424296193 Posted February 13, 2019 at 01:59 PM Share Posted February 13, 2019 at 01:59 PM We realy nead to have a button that we can put on the list page that users use to edit their listing. Now they have to go to "Manage" and then from the dropdown menu choose "Edit listing". We need this button to be on its own. We have try to put this code on the custom detail page but we get an error <?php $icon = '<span class="jrIconEditListing"></span>' ?> <?php echo $this->Routes->listingEdit($icon . ' <span>' . $this->config->lang('lang_listing_edit',true) . '</span>',$listing,['class'=>'jr-edit']);?> Read More an AddMedia does work like this <?php if ( $this->config->list_show_readmore ) { echo $Routes->content(__t("Read more",true),$listing,['class'=>'jrButton jrSmall','rel'=>'nofollow']) . " "; }?> </div> <div class="jrListingActions"><?php $ListingHelper->listButtons($listing, $isMobile);?></div> <?php $ListingHelper->addMedia($listing);?> I hope someone can help Link to comment
Alejandro Posted February 13, 2019 at 03:09 PM Share Posted February 13, 2019 at 03:09 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Adrian Peptine1424296193 Posted February 15, 2019 at 04:15 PM Author Share Posted February 15, 2019 at 04:15 PM This section is only visible with a valid subscription. If you have a valid subscription, please login. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.