Hi to everyone.
I have an huge gallery with a lot of subfolders.
My subfolders structure is like this:
phocagallery/electronics/sony/cd-player
phocagallery/electronics/denon/cd-player
There is a way to show the parent folders into the page title?I have many pages with the same page title!This is bad for seo! The title "cd player" should become "sony cd player".
Why the url structure doesn't display the subfolders structure?
Thanks a lot
showing parent title into the folder title
- salv.scarfone
- Phoca Member

- Posts: 12
- Joined: 13 Aug 2020, 09:33
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: showing parent title into the folder title
Hi, the url structure just display the current category only.
To display title based on all categories/parent categories, the code needs to be customized, because there is no such feature for now
Jan
To display title based on all categories/parent categories, the code needs to be customized, because there is no such feature for now
Jan
If you find Phoca extensions useful, please support the project
- salv.scarfone
- Phoca Member

- Posts: 12
- Joined: 13 Aug 2020, 09:33
Re: showing parent title into the folder title
how can be customized? thanksJan wrote: 28 Aug 2020, 15:41 Hi, the url structure just display the current category only.
To display title based on all categories/parent categories, the code needs to be customized, because there is no such feature for now :-(
Jan
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: showing parent title into the folder title
Hi, I didn't do such customization yet, but each view needs to get information about the category tree which will be transformed to title and set as page title.
See:
components/com_phocagallery/views/category/view.html.php - at the bottom, you can see functions which add breadcrumbs (category tree) and function to add title to a page.
Jan
See:
components/com_phocagallery/views/category/view.html.php - at the bottom, you can see functions which add breadcrumbs (category tree) and function to add title to a page.
Jan
If you find Phoca extensions useful, please support the project
- salv.scarfone
- Phoca Member

- Posts: 12
- Joined: 13 Aug 2020, 09:33
Re: showing parent title into the folder title
I can't find that link. I'm new to joomala and phoca sorryJan wrote: 28 Aug 2020, 15:52components/com_phocagallery/views/category/view.html.php - at the bottom, you can see functions which add breadcrumbs (category tree) and function to add title to a page. :idea:
Jan
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: showing parent title into the folder title
Hi, this is not a link, this is the folder and file structure which you will find on your server.
Jan
Jan
If you find Phoca extensions useful, please support the project