1. Fabrik 3.9 has been released. If you have updated Joomla to 3.9, this is a required update.
    Dismiss Notice

Content plugin can't be embedded in Joomla categories?

Discussion in 'Community' started by mirceat, Jul 26, 2018.

  1. mirceat

    mirceat Member

    Level: Community
    Hello,

    I'm using this placeholder to test if i can embed the content plugin in my site: {fabrik view=list id=47 resetfilters=1}.

    It works fine for Joomla articles but it doesn't works for Joomla categories, the list is not displayed. Also tested with {fabrik view=form id=47}, same problem only for categories, the form is not displayed.... any idea why?

    Joomla 3.8.10, Fabrik Github version (updated last week)

    Thank you
     
  2. achartier

    achartier Active Member

    Level: Community
    What do you mean in a category? Where exactly are you trying to place the plugin information?
     
  3. mirceat

    mirceat Member

    Level: Community
    I mean the Content menu->Categories in administration area. I'm trying to place the placeholder in Category description textarea, the same way i'm doing it for Articles
     
  4. troester

    troester Well-Known Member Staff Member

    Level: Community
    It's working fine on my site.
    Check the raw HTML code if you have any tags, non-printable characters etc inside {}
     
  5. mirceat

    mirceat Member

    Level: Community
    There is no html tag around Fabrik placeholder..

    Strange fact: the Fabrik JS code is visible in page source both for categories and articles, but the HTML is not displayed for category.

    while the code for article shows the List name in Body ("Contracte" in this case):

    HTML:
    <div itemprop="articleBody">
    <div class="page-header">
    <h1>Contracte</h1>
    </div>
    for category there is no such information. After the option to add a new article in this category, there is no html code from Fabrik:

    HTML:
    <span class="hasTooltip" title="Add new article"><a href="/aplicatii-sme/contracte?task=article.add&amp;return=aHR0cDovL3NtZS52b2RhZm9uZS5yby9hcGxpY2F0aWktc21lL2NvbnRyYWN0ZQ==&amp;a_id=0&amp;catid=39" class="btn btn-primary">    New&#160;</a></span>
    </form>
    </div>
    </div>
    </div>
    <!-- End Content -->
    </main>
    </div>
    </div>
    </div>
    <!-- Footer -->
     
  6. troester

    troester Well-Known Member Staff Member

    Level: Community
    Did you try to use any other placeholder (not Fabrik) in your category intro? e.g. a module?
    As I said it's working on my site.
    So it seems to be a Joomla issue, not Fabrik.
     
  7. mirceat

    mirceat Member

    Level: Community
    Indeed, seems to be a Joomla issue, it doesn't work even with {loadmodule login} in category but it works fine for articles. I suspect one of my other plugins/components installed is the "culprit"

    Thank you troester
     

Share This Page