Forum Academy Marketplace Showcase Pricing Features

Add "Current Page Title" to Insert Dynamic Data

The “Current Page Name” field has underscores between the words, so could another option be added to the Dynamic Data values to be able to select the current page title?

4 Likes

Where would you use this?

My current use case is a breadcrumb. At a minimum I want to show the index page, which is static, and the current page dyanmically. I’ve built a reusable element that shows the index page (home) along with the current page name.

Here’s a couple screenshots

URL for “Home” page

URL for “How it Works” page
https://myapp.bubbleapps.io/version-test/how_it_works

Best case scenario – which I think would require development on your part and not something I’m currently requesting – I would like to be able to add three or more levels. For instance, I have a “Request” page that shows one unique request, and a “Requests” page that shows all of the unique requests in a repeating group, but so far I can only show the “Request” page.

URL for unique request on “Request” page
https://myapp.bubbleapps.io/version-test/request/add-kanban-to-the-application-so-users-can-create-a-todo-list-1462972435312x547717160649097200

Current breadcrumb, that doesn’t show the

What I would ideally like to be able to do

Home > Requests > Add kanban to the application so users can create a todo list


Another use case would be for dynamically displaying the Page Title on the page. You could create a reusable element, add it to all of the pages, and reduce the maintenance of Page Title changes.

1 Like

I’ll think about it. The issue is that the title can by dynamic, so it’s not super straightforward. No promise.

3 Likes

I would like to see this as well. Allow me to add a dynamic title in the header for a page via a reusable element.

Add me in as wanting to see this functionality.

Anyone else figure out a decent work around for this? Thinking if really really terrible workarounds for my fairly simple use case (like having multiple strings that only show up for the pages they belong to pages…)

I’d like to see a way to do this as well. @emmanuel is there any workaround or method for this? I’d like to display the page name in the header dynamically, but as @Kfawcett said, the “Current Page Name” has underscores.

I would also like to see this feature added.

@jordan.shotwell: A workaround is to set a conditional page title text for every page name.

@maestro what exactly do you mean? Do you have a screenshot of something like that?

What I want to do is insert the page name in the header of my page, which is a reusable element.

I understand. You can put a (reusable) text element in your header.
Then got to conditional tab of that text element and set current page’s name as a condition to show a different text. (i.e. current page name = “index” -> text = Home).

1 Like

Worked like a charm @maestro! Thank you!

Great @jordan.shotwell Happy to help! :slight_smile:

This feature is a part of bubble now.

Note that the option, will only be available in reusable elements. So you will NOT see ‘Current Page Name’ as an option in dynamic data, unless editing reusable elements. (this confused me for a moment though it is said in the documentation)

Just wanted to revisit this conversation. Would love to be able to display Current Page’s Title in a Reusable Element that features as a kind of header at the top of the page as this is something other web solutions (e.g., WordPress/Elementor) support.

Wouldn’t current page name work in a text element inside the reusable?

Unfortunately, no because it includes hyphens due to it being used for page navigation. Plus, it can only use lower case letters out of the box.