bread crumbs for our blog posts?

How can I add bread crumbs (neat navigation links) to our blog posts page? Just as on our Discussions Forum. 

I don't see the option on the Pages module, not in the Developer module. Please help if you can. Thanks.

  • 579
  • More
Replies (29)
    • Hello otherperson !

      You need to go to Studio->Navigation->Posts area. And Enable items in "View Post submenu" item for the start.

      • Thank you for visiting my discussion, Leonid. I am close to the answer, I believe.

        At present, I have no (0) options in my "View Post submenu" When I try to add a new item, the list is too long. Do you know which one to select in order to have "breadcrumbs" appear at the top of the Posts pages? What do I choose to enable? 

        This neat feature enable a user to bypass the 2 step (click) hamburger menu and speeds up the site experience.

        I notice in the html for the Discussions Template there is: <div class="bx-base-general-breadcrumb">. ???  I need those bread-crumbs! 

        • You need to click on 0 items and activate the current 2 items there. Also you may add the new 1 items. The exact URL 

          [site url]studio/builder_menu.php?page=items&module=bx_posts&set=bx_posts_view_submenu

          • I need breadcrumbs, as shown. Not a submenu, as shown. My Articles module has them as well as Discussions (Forum). Sorry I was not more clear. Please consider.

            • 📡    Attention Anton!    Calling Anton!    Come in, Anton L!   📡

              I see that several of your excellent modules (AQB Software) feature neat, quick "bread crumbs" navigation at the upper LEFT side of the page. Just as appears on this very page in our Discussion module. 

              My burning question: Did you create this row of links in UNA or did you change the html coding somewhere else? If so, could that code be "injected" into the Posts (Blog, Files, Photos, too) moduleS so that future upgrades would be no problem?

              We use the Protean template, if it matters.

              Much thanks to YOU in advance. I hope you are well today wherever you may be!

              • Hello

                By default, Posts app and the other content related apps don't have breatcrumb and it cannot be easily added (activated) via Studio. But some groundwork is already available. So, you need to do the following:

                1. I added some code in the version which allows to add breadcrumbs in content related apps without customizations in core files. It will be released in the next update. So, you may add it in your UNA right now if you have access to files and necessary knowledges.
                https://github.com/unaio/una/issues/2265

                2. You need to copy breadcrumb.html file from modules/boonex/forum/template/ folder in modules/boonex/posts/template/ one, in case of the Posts app.

                3. You need to go to Studio -> Developer app -> Pages -> select Posts -> select View Post page and add Service block in necessary position. Use the following code in the Code field

                array (
                'module' => 'bx_posts',
                'method' => 'entity_breadcrumb',
                )

                Fill in the other mandatory fields and save the block.

                4. You are welcome to test your Breadcrumb on some View Post page. 

                ---
                Best Regards
                Anton

                • Anton, we are forever indebted to you. You are a great asset to the UNA team. Much thanks from the USA.

                  • You are very welcome! :)

                    • UNA sites can become huge. With just a glance users with bread crumbs can know where they are and how to navigate. They like it that way, of course.

                      Has anyone's tried Anton's addition above which is reportedly built into UNA 10?

                      I am getting a pesky error message about the need to add a value. What value? Can you help? Thank you.

                      • Oh. The missing value is the title of the service block. Still, I can't get Bread crumbs to work for my view Posts. Hmmm.

                        • Hello

                          1. Language key from Title field can be copied in Title System one.
                          2.The second screenshot doesn't show any errors. Could you please describe your problem in more details.

                          ---
                          Best Regards
                          Anton

                          • Good. So good, Anton. It's working. Thank you.

                            Can you tell me how to remove the box (border) surrounding the breadcrumb links? Just like on this very page, above? My breadcrumb link chain is in a white box, you see. I'm using the Protean template, if it matters.

                            • Good. So good, Anton. It's working. Thank you.

                              Can you tell me how to remove the box (border) surrounding the breadcrumb links? Just like on this very page, above? My breadcrumb link chain is in a white box, you see. I'm using the Protean template, if it matters.

                              Hello

                              You are welcome! :) You just need to update a block with breadcrumbs using Studio -> Pages builder. The field 'Layout' should have 'Content' value. In this case you'll see content only withour border, internal padding and background.

                              ---
                              Best Regards
                              Anton

                              • Hello, is the breadcrum option now available somewhere in Studio?

                                Thanks

                                • Good question. Has the implementation of this feature changed since 2019 when the above discussion took place?

                                  • Hello banister !

                                    You may create the breadcrumb block via the Studio->Developer app. Go there to the Pages section, then choose the proper module and page. Then add the new block (Skeletons->service) and add there the following code (example for the Posts app):

                                    array (

                                      'module' => 'bx_posts',

                                      'method' => 'entity_breadcrumb',

                                    • Thank you, Leonid, for this kind reply. 

                                      These breadcrumbs inform site visitors where they are in the site with just a glance and how they can easily move around. As you are aware, UNA sites, with their abundance of apps, can become quite large.

                                      • I tried to add this to my blogs but after doing just what you say above it shows nothing. I added in Studio->Developer app and used the (Skeletons->service)  block. Can you look at what I added here and tell me what I might have missed?

                                        • John, any news on this? Did you clear your UNA and browser caches? 

                                          • banister , No, I asked LeonidS to take a look at the block I added but he didn't get back to me on this. To bad, I was really hoping to get those breadcrumbs working in the blogs. Yes I did clear all caches.

                                            • I think you forget copy file!  You need to copy breadcrumb.html file from modules/boonex/forum/template/ folder in modules/boonex/posts/template/ one, in case of the Posts app.

                                              • Hi John Curtis !

                                                Your case is very unusual - your site has every necessary file for it but it doesn't show. So it is in process, I'll inform you when we have the result.

                                                • Thanks, LeonidS I hope we can get those working. I posted the snippets of the service block above. Maybe you can look at them and see if I might have missed something. BTW, I left the service block enabled so I'll keep checking to see if starts working. Thanks again.

                                                  • I'm not sure what you did but yes they are working. Great Thank you sir. Can I use the same for, lets say Articles by changing the word  "posts" to articles? 

                                                    array (

                                                      'module' => 'bx_articles',

                                                      'method' => 'entity_breadcrumb',

                                                    • The Articles app has the aqb_articles prefix as it is the product of AQB team. So it will look like:

                                                      array (

                                                        'module' => 'aqb_articles ',

                                                        'method' => 'entity_breadcrumb',

                                                      • Yes, I misspoke. Articles already has breadcrumb. thank you.

                                                        • Yes banister , LeonidS fixed it. He said " there was issue which we've fixed in coming UNA version
                                                          so i've added the proper breadcrumb.html file to posts template "

                                                          • Is there any way to put put breadcrumbs on every page at once?

                                                            • Writing 2 years ago:

                                                              Yes banister , LeonidS fixed it. He said " there was issue which we've -->fixed in coming UNA version <--so i've added the proper breadcrumb.html file to posts template "

                                                              So, was something changed after 2021??? What was it? Any updates on this issue? Has the file structure changed?

                                                              Please reply here: https://una.io/d/breadcrumbs-affected-by-una-13-upgrade

                                                              Login or Join to comment.