Zum Hauptinhalt gehen

Accessing single FS_CATALOG from WebEdit

Kommentare

4 Kommentare

  • Zendesk API User
    Author: tenter - 12/12/2018 15:57

    Hi Damon,

    strange, I thought it should simply work by supplying the correct name of the catalog in editorId. I guess you have multiple catalog items defined in your section template like

    <FS_CATALOG name="catalog_a" ...

    <FS_CATALOG name="catalog_b" ...

    <div$CMS_VALUE(editorId(editorName:"catalog_a"))$>

    <div$CMS_VALUE(editorId(editorName:"catalog_b"))$>

    and so on. I hope I didn't overlook sth. If this doesn't work, could you please give us your template and your output channel, so that we can take a look at it?

    Regards,

    Hannes

    0
  • Zendesk API User
    Author: damon_s - 12/12/2018 16:46

    Hi Hannes-

    Thanks for the reply.  That is correct, I have multiple catalog items laid out just like you have it.  I have about 5 of each of the following on the same template (looking back I should've made a reusable template for the catalog block):

    HTML code:

    <div $CMS_VALUE(editorId(editorName:"st_articles"))$>

          <h2>Articles</h2>

          $CMS_VALUE(st_articles)$

    </div>

    Form:

    <FS_CATALOG name="st_articles" height="5" useLanguages="no">

         <LANGINFOS>

              <LANGINFO lang="*" label="articles"/>

         </LANGINFOS>

         <TEMPLATES type="link">

              <TEMPLATE uid="lt_article_link"/>

         </TEMPLATES>

    </FS_CATALOG>

    Nothing happens when I  hover over the div that has the editorId tag.  If I swap out the catalog editorName with a CMS_INPUT_TEXT type element I get the pencil when I hover.

    I've attached an export of the template.  Thanks again.

    0
  • Zendesk API User
    Author: pavone - 12/18/2018 12:22

    Hi Damon,

    as far as I know FS_CATALOG does not support InEdit (hovering the item and editing it in place). A FS_CATALOG can only be edited by opening the form dialog.

    What you can do though is using InEdit for the components inside each entry in the FS_CATALOG. And you can also open a form dialog for each entry.

    Best regards,

    Tim

    0
  • Zendesk API User
    Author: damon_s - 12/18/2018 22:10

    Thanks Tim. 

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.