Manual:Extension/BlueSpiceTagSearch and Startpage templates download/Startpage SME: Difference between pages

(Difference between pages)
No edit summary
 
No edit summary
Tag: 2017 source edit
 
Line 1: Line 1:
<bookshelf src="Book:User manual" />
<div class="downloadarea">
{{DISPLAYTITLE:Search field in the page content (TagSearch)}}
<span class="getButton">[[Media:Startpage SME.zip|Download]]</span>


'''TagSearch''' allows the integration of a configurable search field in content pages. This search field relies on [[Manual:Extension/BlueSpiceExtendedSearch|BlueSpiceExtendedSearch]].
[[File:Startpage SME.png|350x350px]]
</div>This template provides a good starting layout for the homepage of the wiki for a small or medium-sized company.  
==Importing the template==
{{Templateimport|Startpage SME}}


==Inserting the tag==
==Pages included in the import==
The tag <code><nowiki><bs:tagsearch /></nowiki></code> can be inserted and configured directly in visual editing mode.
The xml import creates the following files in your wiki:


Go to ''Insert > Magic word''  in the  [[Manual:Extension/VisualEditor|VisualEditor]] menu. Select tagsearch from the dialog and click done. This opens the configuration options dialog on the page.  
*Help:Startpage SME
[[File:Manual:SMW tagsearch.png|alt=|center|thumb|Inserting TagSearch on a page]]
*Help:Startpage SME/Banner
{| class="wikitable"
*Help:Startpage SME/Contact
|+
*Help:Startpage SME/Iconnav
!Parameter!!Display name
*Help:Startpage SME/New employees
*Help:Startpage SME/News
*Help:Startpage SME/Minutes
*Help:Startpage SME/Recent changes
*Minutes
*MediaWiki:Dpl-parserfunc-tracking-category
*MediaWiki:Dpl-tag-tracking-category
*Template:Banner
*Template:Banner/styles.css
*Template:Dropdown
*Template:Employee
*Template:Employee/styles.css
*Template:Startpage/styles.css
 
 
{{Startpage}}
===Sections of Startpage SME===
{| class="wikitable" style="width: 100%;" data-ve-attributes="{&quot;style&quot;:&quot;width: 100%;&quot;}"
! style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Section
! Subpage
!Content type
!Description
!Description
|-
|-
|placeholder
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" | Banner
|Placeholder
| Banner
|Text to be shown in the search field when nothing is typed in
|Template
|The banner parameters are described on the [[Templates download/Banner|Banner download page]].
|-
|-
|type
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |Contact
|Type
|Contact
|List of types of search entities to search. By default search entities availble are: ''wikipage'', ''specialpages'', ''repofile'' (internal files), ''externalfile,'' ''socialentity''<nowiki>. Multiple values can be entered separated by pipe (|) - "wikipage|repofile"</nowiki>{{Messagebox|Note text=If a particular namespace is selected, then type "repofile" returns uploaded files that have the associated namespace prefix.|boxtype=note}}
|Text, Tag:profileimage
|Content can be edited directly on the page. Double-click on the profile image tag to change the user name for the contact avatar.
|-
|-
|namespace||Namespace(s)
| Iconnav
|<nowiki>List of namespaces in which to search. Namespaces can be entered by using their IDs or names, separated by a pipe (|). IDs and names cannot be mixed. Correct entries are: "1|6|8", "Help|QM", while invalid is "1|QM".</nowiki>
| Iconnav
To search in the main namespace, use an empty space as value (e.g., " " or " |Template")
|Template
| The icon nav uses FontAwesome icons out of the box. Up to BlueSpice 4.2, those are not included as an extension. In this case they have to be replaced with Bootstrap Icons or an external reference to FontAwesome has to be added to MediaWiki:Common.css (if allowed by the security policies of the company). The parameters are described on the [[Templates download/Image cards|Image cards download page]].
|-
|-
|category
|Minutes
|Category(-ies)
|Minutes
|<nowiki>List of categories in which to search. Mutltiple categories must be separated by a pipe (|) - "Cat1|Cat2"</nowiki>
|Inputbox,
DPL Tag
|The meeting minutes are created via an  [[Manual:Extension/InputBox|InputBox]]. They are created as subpages of a ''Minutes'' page in the main namespace.
|-
|-
|operator
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |New employees
|Search operator
|New employees
|Applies only to categories. Operator "AND" will only find results that are in all of the given categories, while operator "OR" will show results in any of the given categories.
|Template
|
|-
| style="width:200px;" data-ve-attributes="{&quot;style&quot;:&quot;width:200px;&quot;}" |News
|News
|Text/Table
|
|-
|Recent changes
|Recent changes
|Smartlist
|
|}
|}
==Look and feel==
=== Standard search field ===
[[File:suchfeld standard.png|alt=|thumb|Standard search field|link=Special:FilePath/suchfeld_standard.png|none]]
=== Customized style ===
Der Stil des Suchfelds kann über CSS angepasst werden.
[[File:suchfeld angepasst.png|alt=Screenshot of a customized search field|thumb|400x400px|Customized search field|none]]
Copy the following css-instructions to ''MediaWiki:Common.css:""
<syntaxhighlight lang="css">
/*Tagsearch */
.bs-tagsearch-cnt .bs-tagsearch-form .btn {
    height: 40px;
    border-radius: 5px 0 0 5px;
    background-color:#f1f3f9;
    border-color: #f1f3f9;
    padding-left:10px
}
.bs-tagsearch-cnt .bs-tagsearch-form {
    min-width: 180px;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    align-items: stretch;
    width: 570px;
}
.bs-tagsearch-cnt .bs-extendedsearch-searchbar-wrapper {
    display: table;
    width: 570px;
    background-color: #f1f3f9!important;
    border-radius: 0 5px 5px 0;
    border-color: #f1f3f9;   
}
.bs-tagsearch-cnt .bs-tagsearch-form input
  {
    height: 40px;
    width:100%;
    font-size: 1em;
    background-color: #f1f3f9!important;
    border-radius: 0 5px 5px 0;
    border: 1px solid #f1f3f9!important;
}
.bs-tagsearch-cnt .bs-tagsearch-form .bs-extendedsearch-searchbar-wrapper .bs-extendedsearch-searchbar-clear  {
    background-color: #f1f3f9!important;
    border: 1px solid #f1f3f9!important;
    border-left: none;
    border-radius: 0 5px 5px 0;
    width: 1%;
    padding-right: 16px;   
}
.bs-extendedsearch-autocomplete-popup.compact .bs-extendedsearch-autocomplete-popup-primary {
    font-size: 1em;
    width: 100%;
    padding-bottom: 5px;
    overflow: hidden;
}
.bs-tagsearch-cnt .bs-extendedsearch-autocomplete-popup.compact .bs-extendedsearch-autocomplete-popup-primary > .bs-extendedsearch-autocomplete-popup-primary-item {
    padding: 5px;
    position: relative;
    line-height:1.3em;
    height:auto;
    max-height:4em;
    background:#f1f3f9;
    margin:3px;
    border-radius:4px 
}
.bs-tagsearch-cnt .bs-tagsearch-form .bs-extendedsearch-autocomplete-popup.compact {
    top: 42px !important;
    left: 5px;
    width: 558px !important; 
    border: 2px solid #f1f3f9;   
}
</syntaxhighlight>
{{translation}}
[[Category:Search]]

Revision as of 14:35, 11 May 2023

This template provides a good starting layout for the homepage of the wiki for a small or medium-sized company.

Importing the template

Importing the template

The import file is included in the archive file Startpage SME.zip. Unpack the zip file first.

On the page Special:Import follow these steps:

  1. Select file and choose Startpage SME.xml.
  2. Enter an Interwiki prefix. Since this field is required, simply add hw (for hallowelt).
  3. Keep the selection Import to default locations.
  4. Click Upload file... .

The template is now available in your wiki.


Pages included in the import

The xml import creates the following files in your wiki:

  • Help:Startpage SME
  • Help:Startpage SME/Banner
  • Help:Startpage SME/Contact
  • Help:Startpage SME/Iconnav
  • Help:Startpage SME/New employees
  • Help:Startpage SME/News
  • Help:Startpage SME/Minutes
  • Help:Startpage SME/Recent changes
  • Minutes
  • MediaWiki:Dpl-parserfunc-tracking-category
  • MediaWiki:Dpl-tag-tracking-category
  • Template:Banner
  • Template:Banner/styles.css
  • Template:Dropdown
  • Template:Employee
  • Template:Employee/styles.css
  • Template:Startpage/styles.css


Sections of Startpage SME

Section Subpage Content type Description
Banner Banner Template The banner parameters are described on the Banner download page.
Contact Contact Text, Tag:profileimage Content can be edited directly on the page. Double-click on the profile image tag to change the user name for the contact avatar.
Iconnav Iconnav Template The icon nav uses FontAwesome icons out of the box. Up to BlueSpice 4.2, those are not included as an extension. In this case they have to be replaced with Bootstrap Icons or an external reference to FontAwesome has to be added to MediaWiki:Common.css (if allowed by the security policies of the company). The parameters are described on the Image cards download page.
Minutes Minutes Inputbox,

DPL Tag

The meeting minutes are created via an InputBox. They are created as subpages of a Minutes page in the main namespace.
New employees New employees Template
News News Text/Table
Recent changes Recent changes Smartlist



To submit feedback about this documentation, visit our community forum.

No categories assignedEdit

Discussions