PDA

View Full Version : Directly referencing a specific fragment


ogun
25-Feb-2005, 10:54 AM
Hi,

I am looking to reference a page fragment specifically within a template I am customising.

Lets say I have 3 fragments - frag1,frag2,frag3

Inserting the var: NETQUOTEVAR:BROCHUREBODY displays all the fragments in a block.

I don't want the fragments displayed together - I want to control where they are displayed individually.

ie. NETQUOTEVAR:BROCHUREBODY:frag1 would display frag1.

The Questions is, is there a way of doing this (variables that directly bring in a specific page fragment as opposed to the whole lot)

Many Thanks ina advance.

Nadeem
28-Feb-2005, 08:51 AM
Hi Owen

I'm afraid what you are asking cannot be done. You will need to create a separate brochure page with one fragment to achieve what you want. Think of a fragment as a paragraph, not as a page. By the way, you can also embed html within a fragment, see the help file on "Editing HTML | Embedding HTML"

Kind Regards

george
28-Feb-2005, 09:18 AM
Handy if you could do this though. For example having a small linky poo on your homepage to take you directly to the Security or Delivery sections on the Terms & Conditions page.


Wish list
Wish list
Wish list

:D

Mike Hughes
28-Feb-2005, 10:54 AM
Presumably you could do this yourself for the Ts & Cs by putting:

<A NAME="NETQUOTEVAR:INFOTITLE"></A>

into the Act_InfoLine.html template where you want the anchor.

Mike