KB User's Guide - Documents Tab - No Frill Parameter at the Document Level

Quickly and easily strip away all document framing, styling, site headers, etc. by appending the string, &no_frill=x, to the page url.

    Placement of the No Frill Parameter

    There may be an occasion where you need to display just the body of your document, but the site headers, footers, frames and/or styling are taking up too much precious screen real-estate or are cluttering up a hard copy. For example, you may need your content to be as streamlined as possible to appear in; a content module, a pop up screen on live site's front page, or on another web site entirely. To apply the No Frill parameter:

    1. Identify the KB document:
    2. https://kb.wisc.edu/MyKBSite/page.php?id=12345

    3. Add &no_frill=x after the document ID number in the url:
    4. https://kb.wisc.edu/MyKBSite/page.php?id=12345&no_frill=x

    Persistence of the no_frill flag for absolute links

    The appended &no_frill=x flag that is applied to the original document will automatically be applied to every absolute KB link listed in the original document. There is no need to also hardcode links that reside within your document with the &no_frill=x flag.

    • Example - In the image below, we see our test document, Sample Document for No Frill Parameter: Ten Tips for Proofreading Effectively set to a &no_frill=1 which has been highlighted in yellow. There is an absolute link for document 5235 within this test document. As we hover our cursor (which looks like a hand in the image below) over the absolute link, we see that the 5235 link is automatically appended with the &no_frill=1 flag. There is no need to hardcode &no_frill=x as it persists through the document.

    Exception to Persistence

    Links within a document appended with the &no_frill=2 flag will not persist as it is used for document quick views.

    • Example - In the image below, once again, we see our test document, Sample Document for No Frill Parameter: Ten Tips for Proofreading Effectively set to a &no_frill=2 which has been highlighted in green. As we hover our cursor (which looks like a hand in the image below) over the absolute link, we see that the 5235 link is NOT automatically appended with the &no_frill=2 flag. All framing, styling, site headers etc. will appear when you click on a link within a document appended with &no_frill=2

    Nine No Frill Parameter Options:

    Each No Frill parameter omits specific parts of the document. The X in the table below indicates the specific part of the document that is omitted when you append your document url with a specific No Frill parameter.


    &no_frill=1 &no_frill=2 &no_frill=3 &no_frill=4 &no_frill=5 &no_frill=6 &no_frill=7 &no_frill=8 &no_frill=9
    Site Header X X X X X X X X X
    Site Footer X X X X X X X X X
    Topic Breadcrumbs X X X X X X X X X
    Title
    X X X X X X

    Summary

    X X X
    X

    Internal Notes


    X X
    X

    SeeAlso


    X X
    X

    Up


    X X
    X

    Previous


    X X
    X

    Next


    X X
    X

    JavaScript/CSS



    X X X

    Document Header


    X X



    Document Footer


    X X



    Document Info Table X X X X X X X

    Document Images








    Examples of the No Frill Parameter Applied to a Sample Document

    This sample document has content entered in the: Document Header, Document Footer, Title, Summary, InternalNote, SeeAlso, Up, Previous, Next fields and also has a CSS script entered into the JavaScript/CSS field that turns the ordered list in the body of the document green. https://kb.wisc.edu/kbGuide/page.php?id=39869

    1. &no_frill=1
    2. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=1

    3. &no_frill=2
    4. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=2

    5. &no_frill=3
    6. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=3

    7. &no_frill=4
    8. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=4

    9. &no_frill=5
    10. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=5

    11. &no_frill=6
    12. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=6

    13. &no_frill=7
    14. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=7

    15. &no_frill=8
    16. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=8

    17. &no_frill=9
    18. https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=9

    • Note: Content in the body, such as images and inline CSS, will be displayed while using any one of the No Frill Parameters.

    Embed Your KB Document Into Another Website

    You may embed your KB document into another website using the No Frill Parameter. If you would like your KB document to honor the CSS of the website in which it will be embedded:

    1. Identify which No Frill Parameter is the best fit for your document and append your KB document. For example: https://kb.wisc.edu/kbGuide/page.php?page.php?id=39869&no_frill=3
    2. Identify the CSS file of the web site in which you want to embed your document's URL. For example: https://website.in.which.to.embed.kbdoc/common.css
    3. Append the document URL with the selected No Frill parameter with &remote_css=https://website.with.embedded.kb.doc/common.css

    Here is what our sample document using No Frill Parameter would look like when appended with the other website's CSS file.

    https://kb.wisc.edu/kbGuide/page.php?id=39869&no_frill=6&remote_css=https://website.with.embedded.kb.doc/common.css

    *** Please be mindful that the KB document URL and the website's css URL must both begin with https, or there may be issues when the document renders.

    See Also:




    Keywords:no frill frills page display remove styling page headers footers "no_frill" parameter embed document into another website persist persistence apply strip framing frame style styling append CSS file   Doc ID:6274
    Owner:Teresa A.Group:KB User's Guide
    Created:2007-07-26 19:00 CDTUpdated:2016-08-29 16:33 CDT
    Sites:KB User's Guide
    Feedback:  0   0