@saguaros

https://gpc.com.es/index.php/categorias/recetas-de-pasta/94-linguini-o-tallarines-al-limon

Referring to the following post:
https://www.joomlart.com/forums/d/46555-can-i-see-the-article-with-the-header-layout-use-global/6

It has been a euphoria to see that it worked. But it was a mirage on my part.
The only thing that was fine was the header, the rest doesn't work like a podcast-2 .
The podcast doesn't work.
In the end I have restored the original podcast-2.php file and naturally it works like it couldn't be otherwise.

It has been a euphoria to see that it worked. But it was a mirage on my part.
The only thing that was fine was the header, the rest doesn't work like a podcast-2 .
The podcast doesn't work.
In the end I have restored the original podcast-2.php file and naturally it works like it couldn't be otherwise.

For now we leave the original podcast-2.
And if it's not too much trouble,
modify the layout : podcast in a way that the header is like that of the layout : use global
and only the header, nothing else.

    carlucci Hi

    Is there any cache settings on your server side? could you add the file that I suggested? as I tried to use it but there is no difference on frontend.

      saguaros
      I always clear the cache of the web and the browser. You don't have to always tell me.
      It is a habit that I have to clear the cache after a modification.

      As I can see that this article has layout-2 : https://gpc.com.es/index.php/categorias/recetas-de-pasta/94-linguini-o-tallarines-al-limon

      and it shows that Episode Timeline + mini player there (which is included in the podcast type-2 by default).

      Or you want to remove it? If so, you can use this custom css:

      .mini-player-active .mini-player-detail-wrap {
          display: none;
      }
      
      .item-podcast .episode-timeline {
          display: none;
      }

        saguaros
        That does not work like that.
        Podcast type-2 should work by default except the header.
        I don't know how to express myself otherwise. I have given you several examples.

        https://gpc.com.es/index.php/categorias/recetas-de-carne/90-muslos-de-pollo-al-horno-un-segundo-plato-apetecible-y-nutritivo

        How a type 2 podcast article should be:

        First :
        The header should display layout ---> Use global

        Second :
        The body of the article should be layout --->podcast-2

          carlucci I'm a bit confused as, for example: https://gpc.com.es/index.php/categorias/recetas-de-carne/90-muslos-de-pollo-al-horno-un-segundo-plato-apetecible-y-nutritivo

          This article page is showing exactly the same as you're mentioning now, header part is default layout and the remained part is from podcast-2 layout.

          If you meant there is no content in Episode Timeline and mini player, it's because in this article, you've not added audio file and timeline for it yet:

            saguaros

            If you meant there is no content in Episode Timeline and mini player, it's because in this article, you've not added audio file and timeline for it

            yet:

            That's not true!

            The podcast-2.php file is the original.
            Click on the following link and you will see that it works.

            https://gpc.com.es/index.php/categorias/recetas-de-carne/90-muslos-de-pollo-al-horno-un-segundo-plato-apetecible-y-nutritivo

            Now empty the Audio file link field

            Click again on the previous link and you will see that it does not work.
            I couldn't put the mini player on display none, in this way the field is being disabled in all the articles, this would not be correct.

            It's a template bug!

            The developers would have had to program that if the field is empty then nothing should be displayed.

            The same goes for Episode Timeline.

            Hi

            I updated a bit in this file: /templates/ja_podcast/html/com_content/article/podcast-2.php

            so that when there is no local audio file + timeline set in article, it will not show on frontend.

            podcast-2php.zip
            4kB

            I will share with team to update this also.

              saguaros
              I've checked quite a bit and I think it works as it should.
              It would be, for me naturally, that the header of postcat-2 should display layout ---> Use global

                carlucci the header of postcat-2 should display layout ---> Use global

                You mean that you want the podcast-2 layout has the header of default layout? I think I suggested you how to change already.

                  saguaros
                  Yes it's correct. But then the mini player didn't work. For this reason I put another post.
                  You corrected the bug and it worked. but you left the header not working.
                  I can't use two files podcast-2.php
                  The last podcast-2.php you sent me works the mini player , not the header.

                  Write a Reply...
                  You need to Login to view replies.