Hello Magnolia - Headless

25 views
Skip to first unread message

Hank Bradley

unread,
Sep 16, 2022, 6:00:04 PMSep 16
to Magnolia User Mailing List
I have followed the steps in Hello Magnolia - Headless demo project:

https://docs.magnolia-cms.com/headless/getting-started-with-magnolia-headless/hello-headless.html#_install_the_demo_project

Did I miss the instruction to insert a reference to the
class="card-columns tours" in the index.html to tours?

<div class="container">
      <div class="card-columns tours"><!-- placeholder for results --></div>
</div>

The class="jumbotron" in the index.html renders and the tours do not.


Christopher Zimmermann

unread,
Sep 19, 2022, 7:20:38 AMSep 19
to user...@magnolia-cms.com
Hmm. Maybe check in the development tools in the Network tab and ensure the REST request succeeds and brings back the content. And then maybe inspect the DOM to see if the elements are created. And see if there are any errors in the Console.

Cheers, Topher

--
You received this message because you are subscribed to the Google Groups "Magnolia User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to user-list+...@magnolia-cms.com.
To view this discussion on the web, visit https://groups.google.com/a/magnolia-cms.com/d/msgid/user-list/838760e0-03a3-4255-a9a0-7086bf1a1df1n%40magnolia-cms.com.


--
Best regards,

Christopher Zimmermann Product Manager 
christopher...@magnolia-cms.com 

Magnolia 
Oslo-Strasse 2, 4142 Münchenstein (Basel), Switzerland
Office: +41 61 228 90 00 www.magnolia-cms.com
 
 

Message has been deleted

Hank Bradley

unread,
Sep 19, 2022, 3:29:52 PMSep 19
to Magnolia User Mailing List, christopher...@magnolia-cms.com
Christopher,

Appears the REST request fails per screenshot.

When attempting to access Magnolia content with - http://localhost:8080/magnoliaAuthor/.rest/delivery/tours/?limit=100&orderBy=mgnl:lastModified%20desc 
encountering " This site can’t be reached" error.

HankrestIssue.jpg
Reply all
Reply to author
Forward
0 new messages