Please enable JavaScript to view this site.

 

Navigation: Saras > The 3 Ways of using Saras

Saras applied to a Diary Output File

Scroll Prev Up Next More

Each script has a global saras property. Saras defined this way are applied to the entire output file, even to information pages.

 

This could seem rather coarse, but Q++Studio gives you the option of applying the Saras to a selection of pages.

 

For Global Saras

For Global Saras

 

The advantages of Saras used this way are:

 

You can do global replacements, including info pages.

 

Using global saras you can display the value of some global tokens in QuarkPages, such as the tokens [year] script year, [yyyy:now] Year of Now, [ref#] Job/Reference Number. This is useful to be able to apply copyright dates and reference/SKU information to QuarkPages.

 

You can do razor-sharp replacements in a single page of the entire output file.

 

The disadvantage is that you must know which pages contain what. This way of using Saras is complementary with the use of Saras as DiaryGridLine properties.

 

Note that saras belonging to a DiaryGridLine will be executed before Saras applied to a Diary Output File.

 

See also: saras as properties of diarygridlines and saras as a stand-alone tool.