Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Page Publisher:
Best location of PML tags?

 

 


JamesKB
User

Aug 24, 2005, 8:48 PM

Post #1 of 2 (2825 views)
Shortcut
Best location of PML tags? Can't Post

HiYa....

Assume the following construct (I've added . so as not to have the tags render in the message):

<.div align="center">
<.p>
Now is the time for all good men to do what ever.
<./p>
<./div>

I want the user to only be able to modify "Now is the time for all good men to do what ever."

So where is the best place to place the <.!-- publish type="wysiwyg"....> and <.!-- /publish --> tags?

1. Before and after the <.div> tags?

2. Before and after the <.p> tags?

3. Within the <.p> tags?
If within the <.p> tags is there not the danger of many nested <.p> tags??

Thanks for your time.
--

Have a nice day....
--
JamesKB


ross
Staff / Moderator


Aug 25, 2005, 1:42 PM

Post #2 of 2 (2816 views)
Shortcut
Re: [JamesKB] Best location of PML tags? [In reply to] Can't Post

Hi James.

Thanks for posting!

I would put the publish tags around the actual text like this:


Code
  
<div align="center">
<p>
<!-- publish type="wysiwyg"....> Now is the time for all good men to do what ever. <!—publish -->
</p>
</div>


That will let you edit the text without worrying about any of the other tags.
Could you give that a shot and let me know what you think?

I look forward to hearing from you Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Product Specialist
support@interactivetools.com

Hire me!  Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/