nwrightau VIP
Total posts: 99
19 Сен 2014 06:14

Hi,

How do I remove the section name from the page title?

I've turned it off in section settings yet it still appears.

Thanks

Последние изменения: 26 Окт 2014


pepperstreet VIP
Total posts: 3,837
19 Сен 2014 16:24

grindstone How do I remove the section name from the page title

Browser page title Or Page Header (inside content) ?

I've turned it off in section settings yet it still appears.

Cobalt titles parameter in section Markup template affect the "page header".

cob_section_markup_template_title

Setting section and category options to NO has no effect. Set parameter Show Title to No Title.


pepperstreet VIP
Total posts: 3,837
19 Сен 2014 16:33

@Sergey

Noticed some issues with title parameters:

  • Option Menu Parameter Title does not work. Nothing is displayed.
    cob_section_markup_template_title_menuparam

  • In general, shouldn't it set the Browser Page Title as well?
    If Browser Page Title is set, then the two following name parameters should hide the "Page Header" with NO. Currently, setting both options to NO has no effect.


nwrightau VIP
Total posts: 99
21 Сен 2014 23:18

pepperstreet @Sergey

Noticed some issues with title parameters:

  • Option Menu Parameter Title does not work. Nothing is displayed.

    cob_section_markup_template_title_menuparam

  • In general, shouldn't it set the Browser Page Title as well?

    If Browser Page Title is set, then the two following name parameters should hide the "Page Header" with NO. Currently, setting both options to NO has no effect.

Exactly. I set both options to NO and page title still appears.


nwrightau VIP
Total posts: 99
21 Сен 2014 23:20

Can this be fixed ASAP?


pepperstreet VIP
Total posts: 3,837
21 Сен 2014 23:33

grindstone Can this be fixed ASAP?

Maybe it was a "feature" and on purpose. Can't remember, when those options has been added. Maybe they are meant to be "options" for the first selectbox... Somehow, I would expect them to hide both parts if set to "NO" ;)

Until clarification, just choose NO TITLE in first selectbox. At least, that option works!


nwrightau VIP
Total posts: 99
22 Сен 2014 00:19

pepperstreet

grindstone Can this be fixed ASAP?

Maybe it was a "feature" and on purpose. Can't remember, when those options has been added. Maybe they are meant to be "options" for the first selectbox... Somehow, I would expect them to hide both parts if set to "NO" ;)

Until clarification, just choose NO TITLE in first selectbox. At least, that option works!

I see, mine is set to NO TITLE and the section title still appears..


pepperstreet VIP
Total posts: 3,837
22 Сен 2014 22:42

nwrightau I see, mine is set to NO TITLE and the section title still appears...

Strange. Just noticed that the 2 options "No Title" and "Menu Parameter Title" are simply interchanged!

So, currently No Title shows the title from your menu parameter and vice-versa :D


Konstantin
Total posts: 1,113
24 Сен 2014 08:46

Fixed.


nwrightau VIP
Total posts: 99
25 Сен 2014 01:08

Konstantin Fixed.

? Fixed where? Can't see a new version out.


Sergey
Total posts: 13,748
25 Сен 2014 03:06

New release later today.


nwrightau VIP
Total posts: 99
25 Сен 2014 04:14

Any idea how long this will be? What time roughly?


Sergey
Total posts: 13,748
25 Сен 2014 06:45

May be in 4 hours.


nwrightau VIP
Total posts: 99
25 Сен 2014 23:50

Updated to the latest version, 8.588 - does nothing to solve this issue. Section title still displaying in title despite being turned off...


Sergey
Total posts: 13,748
26 Сен 2014 03:00

Did you created any markup custom template?


nwrightau VIP
Total posts: 99
26 Сен 2014 03:49

Yes, I tried disabling them all but no change. What part of the template is repsonsible for adding these to the title?


Konstantin
Total posts: 1,113
26 Сен 2014 05:01

About what title you talking about?


nwrightau VIP
Total posts: 99
26 Сен 2014 06:32

Konstantin About what title you talking about?

The browser title....


Konstantin
Total posts: 1,113
26 Сен 2014 06:43

Browser title not editable yet. Its dynamically changing.


nwrightau VIP
Total posts: 99
26 Сен 2014 07:27

Konstantin Browser title not editable yet. Its dynamically changing.

What so the section title is forced into the browser title with no way to change it?

Content is the section name, it absolutely has to be removed. Where's the code in your component that sets this? I'll have to hack the component.


Sergey
Total posts: 13,748
26 Сен 2014 08:38

It is in many places. It is generated based on condition. For example we have personolised sections and we are in home pages of different users, then title have to be different. Otherwhise when you see title when type URL you do not know the difference.

FOr example you say that section name have not to be there. But then title may be the same in different sections.

This is complicated issue it also affects PR of the page.

But you can hack it in views/records/view.html.php.

Работает на Cobalt