N1 Nex1on

Page

Themes and templates

Ta sekcja jest na razie po angielsku.

How a theme is built, where to change the look of the site and how to redo any page without PHP.

Section

In this section

Themes Site management → Appearance. A theme does not need to be installed: it has no tables and no data. Just make it active. Theme editor: change the look of your site right in the panel How to create your own theme, change its templates and styles right in the panel, and not break anything. Tag-based views: how to redo a page without PHP Any view of the site (home page, sign-in, registration, search, account, page) can be replaced with a tag file. It is plain HTML markup with {name} tags, conditions … and repeats [each:list]…[/each] (the common tag language, the same as in “Appearance → Post templates”… View rules How to tell page views which theme file to draw them from. Main site template with tags The main template is the frame of every page: header, menu, content area, side column and footer. You write it in plain markup with tags, no PHP. Post template with tags: a film page A post page is not a PHP file but text with markup and tags, and the site owner edits it in the panel. The “Side rail” theme (rail): a model tag-based theme The bundled themes differ in colour, font and details, but they all have the header on top and the menu in a row. “Side rail” is built differently: the menu stands on the left as a full-height column, and the content is on the right. The page frame lies entirely in one tag file: themes/rail/views/layouts/main.tpl.html. The rest of the theme: theme.json, assets/css/theme.css (the theme’s common styles plus the rail layer at the end of the file). Extra fields The “Extra fields” section (Content → Extra fields, right settings.manage) is one place for all extra fields of the site: “Year”, “Director”, “Size”, “Colour”, “Gallery photo”. A field is created once and attached with ticks to the places you need: news, forum, shop and other sections that offer their own fields. Profile fields and shop attributes are shown in the same list with a mark and a link to their edit page. Your own language from the panel Seven languages ship with the engine: English, Russian, Ukrainian, Norwegian, Polish, Swedish, Lithuanian. Any other language (French, German, Spanish, Turkish, Vietnamese, Arabic…) is added from the panel, with no code and without installing modules: Languages (the “Site” menu, the settings.manage right). Image compression “Site settings → Images and video → Image compression”. Two methods.

Updated 17.11.2026

Share: Telegram WhatsApp