Skip to content
  1. Extras
  2. SEOtabs

Quick start

For quick start you need Bootstrap 4 or higher. On a clean MODX install use the Bootstrap package.

Setup

Call the snippet in your template:

fenom
{'!seoTabs' | snippet}

Before using SEOtabs check system settings under "Main" and the seoTabs snippet parameters. Default settings are already configured.

SEOtabs administration

For SEOtabs to work enable in MODX system settings "Use friendly URLs — Yes" and configure .htaccess in the project root. On Content -> Content types -> HTML set the correct file extension (usually .html, / or null).

The SEOtabs interface is on the resource edit page.

SEOtabs tab on resource management page

Add tabs via the management panel. Click "Add tab" and fill in:

NameTypeDescription
Tab titleStringTab name on site
NameStringSystem tab name (alias) for custom SEOTabs templating
SEO tabBalloonTwo modes. Set Yes for SEO mode, No for normal.
TitleStringTitle tag - fill regardless of SEO tab selector mode
DescriptionStringMeta Description - fill regardless of SEO tab selector mode
Specify variableStringmodResource or modTemplateVarResource field alias; its value is shown in tab content
ContentStringValue shown in tab content. Supports template variables and placeholders
Tab iconStringOptional icon next to tab name
ActiveBalloonDefault open tab on page load
EnabledBalloonSet No to unpublish the tab

SEO tabs mode

For SEO tabs fill the alias and Title/Description patterns. The component provides custom placeholders (e.g. [[+pagetitle]]: [[+seotab_caption]] where [[+caption]] is the tab name). Default Description: [[+pagetitle]] — [[+seotab_caption]] (to satisfy Yandex Webmaster). Works with redirects; settings control trailing slash in URL.

MODX ParserFenom Parser
[[+pagetitle]]{$pagetitle}

SEO tabs demo:

SEO tabs mode