J-BusinessDirectory - default_style_3.php and bookmarks

Support Forum

 
 

 

Hi, the only listing detail page/template which seems to show 'save as bookmark' is default_style_7.php - this is also the case on the demo. I have compared the code and copied/updated the below (just between the <div id="bookmark-container">) as was slightly different, but it still doesn't show them.

Please can you advise what I need to update in default_style_3.php to have the bookmark heart and text show please.

 

                            <?php if($this->appSettings->enable_bookmarks) { ?>
                                <div id="bookmark-container">
                                    <?php if (!empty($this->company->bookmark)) { ?>
                                        <!-- Business Bookmarks -->
                                        <a id="bookmark-<?php echo $this->company->id ?>" class="btn btn-outline mr-2" href="javascript:jbdUtils.showUpdateBookmarkDialog(<?php echo $user->id == 0 ? "1" : "0" ?>,<?php echo $company->id ?>,<?php echo BOOKMARK_TYPE_BUSINESS ?>)" title="<?php echo JText::_("LNG_UPDATE") ?>" class=""><i class="la la-heart"></i> <?php echo JText::_("LNG_UPDATE") ?></a>
                                    <?php } else { ?>
                                        <a id="bookmark-<?php echo $this->company->id ?>" class="btn btn-outline mr-2" href="javascript:jbdUtils.showAddBookmark(<?php echo $user->id == 0 ? "1" : "0" ?>,<?php echo $company->id ?>,<?php echo BOOKMARK_TYPE_BUSINESS ?>)" title="<?php echo JText::_("LNG_SAVE") ?>" class=""><i class="la la-heart-o"></i> <?php echo JText::_("LNG_SAVE") ?></a>
                                    <?php } ?>
                                </div>
                            <?php } ?>

 

thank you.

 

4 replies

Oh I found the 'heart' on the logo image. I don't feel it's in a very intuitive place and is often 'obscured' by the image colors. Much better if can be moved to the top right of the page with the other icons. Would appreciate the code for this still :)

Hi,

 

We have aleady started to improve the design of the front-end views and also the user flows like registration and package upgrade.
The improvements will be available in the 5.6 version that will be out in about 3-4 weeks from now.

Great update and info George!

 

Thks!

Oh brilliant, this is excellent news :)

 
 
 

5 Item(s)

Show per page