Working with same stylesheet across multiple projects

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Centauri27
Sr. Propeller Head
Posts: 134
Joined: Thu Apr 17, 2008 11:30 am
Location: Vancouver, BC, Canada

Working with same stylesheet across multiple projects

Post by Centauri27 »

Can anyone tell me if there is a good way (or the "proper" way) to work with the same stylesheet across different Flare projects? In our company, we have four Flare projects, each with their own .css stylesheet file. Some time ago, we decided to make all our projects look similar, so we copied the same stylesheet across four different directories. Now it's become a pain when we need to tweak a stylesheet--we must re-copy that across all the other directories!

To exacerbate the issue, our Flare projects are source controlled, so we need to "check out" the stylesheet files before we can overwrite them. But there isn't a way (not that I've found) to check out a .css file directly from within Flare--I need to trick it by opening the file, making a dummy change, then closing the file. Then Flare checks out the file as it is saving. This is a lot of work if say, all I need to do is to adjust the spacing of a certain style.

Is the solution as simple as directing all Flare projects to use the same stylesheet in a remote (i.e., not within the project) directory?

Many thanks.
Carl
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Working with same stylesheet across multiple projects

Post by NorthEast »

There's two options:

1. Use external resources, and synchronise your CSS file with a 'master' CSS file in another location.
http://webhelp.madcapsoftware.com/flare ... ources.htm

2. Use a project import (also called global project linking), and use that to import the CSS from a 'master' project.
http://webhelp.madcapsoftware.com/flare ... _Files.htm


To check-out a CSS file, right-click it and use the Source Control menu, or use the toolbar icon.
http://webhelp.madcapsoftware.com/flare ... _Files.htm
Centauri27
Sr. Propeller Head
Posts: 134
Joined: Thu Apr 17, 2008 11:30 am
Location: Vancouver, BC, Canada

Re: Working with same stylesheet across multiple projects

Post by Centauri27 »

Thanks for the tips, Dave. I'll try them out.

And I realize I was looking for the stylesheets in the wrong place (Project Organizer instead of Content Explorer). Sometimes you don't see things right under your nose.

Thx.
Carl
verisof
Jr. Propeller Head
Posts: 5
Joined: Tue Aug 17, 2010 1:51 pm
Location: Houston, TX
Contact:

Re: Working with same stylesheet across multiple projects

Post by verisof »

Just to reiterate what Dave said. . . I used exactly the same solution and it works like a charm. Now any changes I make to the master style sheet (in a shell project that just contains common items) propagate to all my other output types.
Post Reply