Creating a Magnolia-managed page section instead of an entire page?

View: New views
2 Messages — Rating Filter:   Alert me  

Creating a Magnolia-managed page section instead of an entire page?

by rrc7cz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

We're looking at the Enterprise version of Magnolia, but it appears to
be missing one key (for us) feature we require: being able to create
and embed a Magnolia-managed page section. For example, perhaps I have
a page with a header, three paragraphs, and a footer. I would like to
make _only one_ paragraph on that page editable via Magnolia. Perhaps
there is some JavaScript you need to embed on the page which onLoad
will send an Ajax request to retrieve that paragraph contents from the
Magnolia repository. Or perhaps we embed some JSP code (we're running
a J2EE site) which does the retrieving.

Is this possible? I suppose we could custom build this functionality,
but does it exist in the base product or on any add-ons?

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------


Re: Creating a Magnolia-managed page section instead of an entire page?

by Jan Haderka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Why is that a problem? Simply make whatever part of the page is static
and should not be editable part of the template. This way editors would
be able to render only the paragraph.

If what you want is to have your web completely outside of Magnolia and
only stream in one paragraph from Magnolia then of course you need to
write the ajax piece that will retrieve it. If this is what you are
trying to do, look at the request used by Tools/Export to see how you
can construct your own http request that would retrieve page/paragraph
from Magnolia in xml format.

HTH,
Jan

On Tue, 2009-10-13 at 11:13 +0200, Robert Campbell wrote:

> Hello,
>
> We're looking at the Enterprise version of Magnolia, but it appears to
> be missing one key (for us) feature we require: being able to create
> and embed a Magnolia-managed page section. For example, perhaps I have
> a page with a header, three paragraphs, and a footer. I would like to
> make _only one_ paragraph on that page editable via Magnolia. Perhaps
> there is some JavaScript you need to embed on the page which onLoad
> will send an Ajax request to retrieve that paragraph contents from the
> Magnolia repository. Or perhaps we embed some JSP code (we're running
> a J2EE site) which does the retrieving.
>
> Is this possible? I suppose we could custom build this functionality,
> but does it exist in the base product or on any add-ons?
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <user-list-unsubscribe@...>
----------------------------------------------------------------