Steven, 

Sounds like your page template and dialog are OK but the paragraph script 
myTextBlock.ftl has a problem.

First, check that the script is in the correct folder. The templatePath 
property in the paragraph definition says the script should be in 
/templates/myProject/paragraphs. If you saved it in 
/templates/myProject/templates instead, you will get the behavior you described 
first where content is not rendered on the page. (However, since you are seeing 
the Edit bars the paragraph script should be OK.)

Second, verify that the script renders both the Edit bars AND the paragraph 
content. It should contain:

[[email protected] /]

<p class="myTextBlock">
    ${content.textBlock!}
</p>

If you leave paragraph rendering out you will get the behavior you describe in 
the update.

--Antti


On Dec 8, 2010, at 8:00 PM, medikgt wrote:

> 
> 
> Hi,
> 
> I was going through the templating tutorial 
> http://documentation.magnolia-cms.com/templating/introduction.html here  and
> I'm at the step where I just finished creating a new paragraph.  I tested it
> by clicking "New" on the new bar, clicking "My Text" to insert new next, and
> enter some text into the dialog box.  When I click save, the dialog box
> closes but nothing new appears on my helloworld.ftl template.  I don't even
> get an error message.
> 
> Someone has posted a comment about the exact same issue at the bottom of the
> tutorial but it was not fully answered (search for "Stefan").  I'm wondering
> if anyone else has encountered and fixed this problem since then.
> 
> Update: I went ahead with the tutorial and added the edit bar.  It turns out
> that each time I add text, a paragraph is created because I see a new edit
> bar for each message I sent.  However, I only see the bar and not the text. 
> Clicking the "Edit" button on the bar does reveal the text but it does not
> show on helloworld.ftl directly.  Is there something that I have to do to
> make it visible? (ie: set visible=true, set height, etc?)
> -- 
> View this message in context: 
> http://old.nabble.com/Paragraph-not-showing-on-templating-tutorial-tp30407843p30407843.html
> Sent from the Magnolia - User mailing list archive at Nabble.com.
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



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

Reply via email to