• Resolved lutz3000

    (@lutz3000)


    Hello,

    Is it possible to use two different templates in one website, but they access the same connections database? I already use the Circled Template, but now I want to display more data with the Tile Plus Template in a closed area of the same website.

    BR

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    RE: Is it possible to use two different templates in one website, but they access the same connections database?

    Yes, you can use two different templates on the same site using the same database. On the second page, you would use the template shortcode option to define which template should be loaded.

    I hope this helps! Let me know.

    Thread Starter lutz3000

    (@lutz3000)

    Thanks a lot Steve, that helps in indeed.
    However, the same data is always displayed in both templates, is that correct? Or can I also select which data can be displayed in which template?

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Yes, the same data would be displayed unless you filter the two instances by different parameters. The most common method used by others is to display a specific category(ies) on one page while displaying a different category(ies) on the second. This is done with the category shortcode option:

    I hope this helps!

    Thread Starter lutz3000

    (@lutz3000)

    Hello Steve,

    I think I have expressed myself in a misleading way: What I want is the following:
    On a web page, for an entry, I want to display only the name, address and website.
    In another part of the website, a closed area, I want more data to be displayed for the same entry mentioned above (with a different template).Namely also the direct extension and the fax number. Is it possible to configure what data can be shown for an entry in a category?
    Thanks a lot!

    Plugin Author Steven

    (@shazahm1hotmailcom)

    All repeatable fields (address/phone/email) have a “Visibility” setting. For the data, you wish to show to only logged in users, choose the private option.

    Here’s the link to how visibility setting works at the Entry level:

    The same rules apply to the visibility setting of the repeatable fields. You would set the Entry itself to “Public” and the data you wish to show only to logged-in users to “Private.”

    I hope this helps!

    Thread Starter lutz3000

    (@lutz3000)

    Many thanks, looks promising I am going to test it

    Plugin Author Steven

    (@shazahm1hotmailcom)

    No problem, happy to help! Let me know how it goes.

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

The topic ‘Different Templates, same database?’ is closed to new replies.