Jump to content

I would like to have an button for edit listing, on its own not as part of dropdown manage menu.


Adrian Peptine1424296193

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...