Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Server Manager2 create panel for contrib
(view source)
Revision as of 12:09, 8 January 2022
369 bytes added
,
12:09, 8 January 2022
no edit summary
Line 42:
Line 42:
├── public
├── public
│ ├── css
│ ├── css
−
│ ├── images
+
│ ├── images
│ └── js
│ └── js
−
└── templates
+
└── templates
- top level .html.ep file (one per theme)
├── layouts - contains one .html.ep file for each module
├── layouts - contains one .html.ep file for each module
└── partials - contains partial files - as many as required for modules
└── partials - contains partial files - as many as required for modules
(generally corresponds to subsidiary panels)
(generally corresponds to subsidiary panels)
</pre>
</pre>
+
+
So each module (contrib in this case), consists of at least 3 files:
+
+
# .pm file of perl in the controller directory to gather up the content into a data structure (generally a hash or array)
+
# .lex or .pm in the I18n/modules directory consisting of translation strings
+
# .html.ep file in the themes/default/templates/layout
Brianr
Administrators (Semantic MediaWiki)
,
Administrators
681
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version