cmbrougham
Grandmaster Brewer
I'm attempting to design a brew sheet/production report for our small 1BBL brewery that more closely meets our needs vs. the stock stuff that is available in BS. Making and/or modifying an existing report to either show or hide the information from the recipe that we want to see is pretty easy (I can hack my way through the HTML and CSS to do this), but what I'm mystified by is whether it's possible to influence how XML tags are expressed in the outputted report.
In the HTML template, for example, I have something like "$MASH_INGREDIENTS." It's not surrounded by any HTML tags or CSS styles. However, if you apply a report template to a recipe and then use the "Save Report" function to actually cook a standalone HTML file from the recipe, you can see that the XML tag has been replaced with a whole host of HTML and CSS. The CSS styles are referenced in the "style.css" file, so I could at least influence the look of some of these HTML elements. However, what I can't seem to figure out is if there is a way to control WHAT the XML tags are replaced with in the exported or printed report. For example, "$MASH_INGREDIENTS" turns into an HTML <table> tag with a bunch of nested tags that control the structure of the table... but what if I didn't want some of those tags (and therefore, columns and information) to appear? Is there any document that we can modify to control the expression of the XML tags into HTML, or is hardwired into BS and you get what you get?
(I think I know the answer to this, but...)
Thanks!
In the HTML template, for example, I have something like "$MASH_INGREDIENTS." It's not surrounded by any HTML tags or CSS styles. However, if you apply a report template to a recipe and then use the "Save Report" function to actually cook a standalone HTML file from the recipe, you can see that the XML tag has been replaced with a whole host of HTML and CSS. The CSS styles are referenced in the "style.css" file, so I could at least influence the look of some of these HTML elements. However, what I can't seem to figure out is if there is a way to control WHAT the XML tags are replaced with in the exported or printed report. For example, "$MASH_INGREDIENTS" turns into an HTML <table> tag with a bunch of nested tags that control the structure of the table... but what if I didn't want some of those tags (and therefore, columns and information) to appear? Is there any document that we can modify to control the expression of the XML tags into HTML, or is hardwired into BS and you get what you get?
(I think I know the answer to this, but...)
Thanks!