Difference between revisions of "ArticleView Options"

From Lianjapedia
Jump to: navigation, search
(Notes on Client Support)
(ArticleView Section options)
Line 35: Line 35:
  
 
As shown in the [[#Overview|screenshot above]], clicking on the keyboard icon in the Section header opens the file in the HTML Editor.
 
As shown in the [[#Overview|screenshot above]], clicking on the keyboard icon in the Section header opens the file in the HTML Editor.
 +
 +
===CSS stylesheet===
 +
The '''CSS stylesheet''' Attribute defines the custom CSS stylesheet for the article.  From v9.0.
 +
 +
Note that ArticleView sections include bootstrap by default.  See the articleview.rsp Lianja Server Pages script file for included stylesheets.
  
 
===Editable===
 
===Editable===
Line 43: Line 48:
 
[[Category:Lianja v5.3]]
 
[[Category:Lianja v5.3]]
 
[[Category:Lianja v8.0]]
 
[[Category:Lianja v8.0]]
 +
[[Category:Lianja v9.0]]

Revision as of 11:24, 2 May 2023

See Also

ArticleView Section Attributes, Attachments Options, DocumentView Options

Overview

ArticleView Sections are used to display HTML pages with a default bootstrap theme. From v5.3.

ArticleView Section


From v8.0, click the Edit Article button to open the HTML file in the WYSIWYG HTML editor in place:

ArticleView Section


ArticleView Section


example_component

The example_component App includes an ArticleView Section (section3). Find the example_component App listed under 'Examples|General' in the App Names explorer panel in the Apps Workspace.

ArticleView Section options

The following ArticleView Section section-specific options are available:

Database

The Database Attribute defines the database name for the data source for data-bound ArticleView Sections.

Table

The Table Attribute defines the table name for the data source for data-bound ArticleView Sections.

Data source

The Data source Attribute defines the varchar/memo column name for data-bound ArticleView Sections.

File

The File Attribute defines the HTML file to be displayed in the Section. In the example_component App, this is:

barrytest.html

As shown in the screenshot above, clicking on the keyboard icon in the Section header opens the file in the HTML Editor.

CSS stylesheet

The CSS stylesheet Attribute defines the custom CSS stylesheet for the article. From v9.0.

Note that ArticleView sections include bootstrap by default. See the articleview.rsp Lianja Server Pages script file for included stylesheets.

Editable

The Editable Attribute determines whether the file specified above is editable (based on user roles and permissions).