Using snippets

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Pamb10
Sr. Propeller Head
Posts: 126
Joined: Wed Feb 01, 2006 2:08 pm
Location: Florida
Contact:

Using snippets

Post by Pamb10 »

I am very new to using snippets and trying to integrate them into an existing project so I can reuse some of the text in other topics.

The first snippet I created, was based on existing text that was within <li> </li> tags. The snippet did not include the tags. This worked perfectly.

The second snippet I was to create was based on existing text a few paragraphs long. However, in this instance, there are different style tags on these paragraphs. The first paragraph is numbered using <li> tags. The next few paragraphs are indented text. The problem here is that I do not want the numbered tags or indents to be part of the snippet. The place that I will be reusing this snippet will not need these things. Is there a way to accomplish this without making more than one snippet out of these paragraphs?

Thanks.
Pam
DocuWil
Sr. Propeller Head
Posts: 344
Joined: Thu Feb 09, 2006 1:22 am
Location: Netherlands
Contact:

Re: Using snippets

Post by DocuWil »

Hi Pam,

Just go into the snippet itself (Content Explorer > Snippets) and make your adjustments.
Wil Veenstra

Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
Pamb10
Sr. Propeller Head
Posts: 126
Joined: Wed Feb 01, 2006 2:08 pm
Location: Florida
Contact:

Re: Using snippets

Post by Pamb10 »

Ok, Ive been playing around with this and here is where I am:
snippet ex.png
On the attached image, there is item number 5 and 6. They are duplicates. Number 5 is the snippet and 6 is text. How do I get the numbered item 5 to show at the top of the snippet rather than the bottom?
You do not have the required permissions to view the files attached to this post.
Nita Beck
Senior Propellus Maximus
Posts: 3672
Joined: Thu Feb 02, 2006 9:57 am
Location: Pittsford, NY

Re: Using snippets

Post by Nita Beck »

Pamb10 wrote:How do I get the numbered item 5 to show at the top of the snippet rather than the bottom?
You can't. It's a quirk of the XML Editor. But when you generate the output, the list item's number will be in the right place. (I think the same is true if you preview the topic.) In short, don't worry about it while editing!
Nita
Image
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Pamb10
Sr. Propeller Head
Posts: 126
Joined: Wed Feb 01, 2006 2:08 pm
Location: Florida
Contact:

Re: Using snippets

Post by Pamb10 »

Thank you! It did preview fine. Did not even think to check that.
Post Reply