tobias

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • in reply to: 'null' page title when browsing through events #125264
    tobias
    Participant

    Hi Casey,

    after a while of trying stuff out, I was able to narrow down the problem. Basically, it was the absence of the “List Header” and “Header Navigation” code parts in list.php that caused the “null”. I threw them out because we don’t really need them, but obviously, they pull some routines related to the page title tag. Funny enough, it seems to be the presence of the DIV “tribe-events-header” that makes the difference, and not the calls of the various php actions (other than I would have suggested). I tried changing all the lines one by one, and only without the DIV, title will be set to “null”. It’s now back in our code, made invisible, so the title works correctly again.

    BTW: Without the list being navigated, the error was “masked” by the title tag routine of our template. Only when the AJAX navigation changed the list, title tag management was handed over to the plugin, which cause the strange effect that the title was okay at first load, but not anymore after using the list navigation. I threw out that part of the template routine, so the plugin can handle all title tags for all views, no matter if navigated or not. And in combination with the solution mentioned above, it all works smoothly now.

    Thanks again for your effort!
    Tobias

    in reply to: 'null' page title when browsing through events #123186
    tobias
    Participant

    Hi Casey,

    actually, the site is blocked until it’s ready to go live. Just for you, we opened it now. ๐Ÿ˜‰ If you could take a look, that would be great. As you see, we customized the plugin a lot – and as you see, the site is in German only.

    The problem occurs when you hover on the second menu entry, “Wann hast du Zeit?”, then selecting the second sub-entry “Liste”. Now click on “Nรคchste Veranstaltungen” and see what happens. All the sub-entries of the third menu, “Was willst du erleben?”, are category list views, too, with the same problem.

    Thanks for your help,
    Tobias

    in reply to: 'null' page title when browsing through events #122370
    tobias
    Participant

    Hi Casey,

    in the meantime, I got rid of the other problem I mentioned and checked out your hint on our earlier thread. The page title modification in functions.php works fine, and all four if-cases (lines 24 to 35 in the GitHub code you sent me) for list views are up and running. Other cases do not apply on list views, apparently. And if I remove the filter, the “null” problem stays. So that doesn’t seem to be the problem here.

    In fact, the “null” page title only occurs when I’m using the event pagination at the bottom of a list. When loading the list view, the page title set in the functions.php filter shows up correctly. When clicking on the next or past events link, AJAX reloads the list while staying on the page, but it also sets the page title to “null”. If I click back to the “present events” (the ones that are loaded by default), “null” stays. Only if I remove the “?action=tribe_list&tribe_paged=1” suffix from the URL and reload, the page title is restored to its correct form.

    Any idea where this is coming from? And is there any way for me to avoid it?

    Best,
    Tobias

    in reply to: 'null' page title when browsing through events #122308
    tobias
    Participant

    Hi Casey,

    sorry for not replying so far. Actually, I’m experiencing another problem right now that might be related – but I haven’t figured out yet what exactly is happening and if it’s probably my fault. ๐Ÿ˜‰ Because of that, I wasn’t able to check your suggestion on this matter here. I’ll get back to you as soon as possible.

    Thanks,
    Tobias

    in reply to: Title tag modification #109665
    tobias
    Participant

    Hi, that kind of worked, also I found out that my template was doing some unwanted modifications which i had overseen. Fixed the two things, now it’s just fine. Thank you and best regards!

    in reply to: Single event page details meta #109662
    tobias
    Participant

    Thank you! I preferred killing the whole meta output and puzzling it together myself. ๐Ÿ˜‰ That did the trick.

    in reply to: tribe_is_event_venue #109657
    tobias
    Participant

    Thank you, now I see why it wasn’t working. Plus, I did the global variable thing wrong, now I got it figured out and the switch works as desired. Thanks again and best regards!

Viewing 7 posts - 1 through 7 (of 7 total)