ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

help with snippets

March 02, 2012 9:55am

Subscribe [1]
  • #1 / Mar 02, 2012 9:55am

    javier vilchis

    9 posts

    I need help sharing snippets in MSM installation with two websites.

    My default website has a snippet and I want to embed it in website two. I used the following inside website two:

    {default_site}{snippetname}

    as well as

    {default_site:snippetname}

    but none of these work. Can someone please help me with this?

    thank you,
    JV

  • #2 / Mar 02, 2012 11:17am

    javier vilchis

    9 posts

    i figured out! actually, I found the answer online.
    snippets have a way to share with only one website or with all of the websites, I went inside the snippet I wanted to use in a sub website and clicked on the radio button that says “share with all”. After that, I had to use a prefix of the website short name I wanted to share from and enter the snippet name, here is the example:

    {mydefault_site_snippetname}

    “mydefault_site” <—is the website i’m sharing from
    “snippetname” <—is the snippet name i’m wanting to use.
    NOTE: you have to first go to your snippet and select to share with all websites on the bottom left hand of that snippet enty.

    Enjoy!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases