Site.pro
  • Nástroj na tvorbu webových stránok
    • Nástroj na tvorbu webových stránok
    • Ceny
    • Import webových stránok
    • Online Obchody
    • Doplnky
    • Spolupráca
    • Šablóny
    • Jazyky
    • Partnerský program
    • Príklady
    • Tvorca webových stránok s AI
    • Pre dizajnérske štúdiá
    • Staviame pre vás
  • Domény
  • Email
  • Učiť sa
    • Návody
    • Blog
    • FAQ
    • Rastový Hacking
    • Pre hostingy
    • Doména
    • Pre vzdelávanie
  • pre predajcov
    • Ceny
    • Biely štítok
    • Podiel na príjmoch
    • Panely
    • Ako to funguje
    • Hromadný dovoz
    • Naši partneri
    • Príklady opätovnej predaja
    • Marketingové materiály
    • Dokumentácia
    • Bezplatné webové stránky
  • Nástroj na tvorbu webových stránok
    • Nástroj na tvorbu webových stránokKaždý môže ľahko vytvoriť webovú stránku, vstupnú stránku alebo elektronický obchod.
    • CenySite.pro Ceny: Šablóny 200+, Webové stránky, Základné funkcie nástroja, Online Obchody.
    • Import webových stránokPreneste svoje existujúce webové stránky odkiaľkoľvek do nástroja na tvorbu webových stránok Site.pro.
    • Online ObchodyPredávajte svoj tovar alebo služby kdekoľvek na webovej stránke.
    • DoplnkyMnoho funkcií a doplnkov závisí od geografických preferencií.
    • SpoluprácaSpoločný tvorca webových stránok, Vytvorte webovú stránku so spoluhráčmi v reálnom čase v jednom priestore.
    • Šablóny
    • Jazyky
    • Partnerský program
    • Príklady
    • Tvorca webových stránok s AI
    • Pre dizajnérske štúdiá
    • Staviame pre vás
  • Domény
  • Email
  • Učiť sa
    • NávodyVideá pre začiatočníkov. Stiahnite si video tutoriály zadarmo Nový video návod.
    • BlogTipy na tvorbu webstránok: Tipy na zdieľaný hosting.
    • FAQCentrum pomoci. Problémy s platbou. Základný návod. Rýchle vyhľadávanie. Máte otázky? Svoju otázku vložte tu.
    • Rastový HackingZvýšte svoje predaje. Stratégia
    • Pre hostingyVzdelávanie. Vygenerujte viac predajov tvorcu webových stránok
    • DoménaDoména: Počet domén na 1000 ľudí
    • Pre vzdelávanieBezplatný nástroj na tvorbu webových stránok pre online a offline triedy.
  • pre predajcovBiely štítok
    • CenyZačnite predávať. Plaťte za aktívne webové stránky. Bezplatné webové stránky.
    • Biely štítokNajpopulárnejší nástroj na biele štítky je ideálny na ďalší predaj
    • Podiel na príjmochNástroj na tvorbu webových stránok: Poskytnite bezplatný nástroj na tvorbu webových stránok a získajte 50% provízie.
    • PanelyJeden produkt pre všetky platformy. Stiahnite si doplnok pre svoj panel.
    • Ako to fungujeCloud alebo On-Premises. Odporúčania pre server nástroja.
    • Marketingové materiályVideo. Makety. Bloky webových stránok. Marketingové materiály.
    • Hromadný dovoz
    • Naši partneri
    • Príklady opätovnej predaja
    • Dokumentácia
    • Bezplatné webové stránky
  • Zaregistrovať sa

    Zaregistrovať sa

    (Kúpiť doménu, Vytvorte e-mail)
    (Pre hostingové spoločnosti)
    Registráciou súhlasíte s našimi Zmluvnými podmienkami
    Počet Spoločností: 1-100
    Počet Spoločností: 1-100
  • Prihlásiť sa

    Prihlásiť sa

    Nový používateľ? Vytvoriť účet
    Zabudli ste heslo?
  • $
  • Slovenčina
Táto stránka je dostupná iba v angličtine
Požiadavky na server
  • Publikované webové stránky
  • Site.pro IP adresy
Inštalácia / Aktualizácia nástroja
Miestne
  • Požiadavky na server
  • Inštalácia
  • CRON
  • Aktualizácia
  • Migrácia na verziu v4
  • Služba spolupráce
  • Konfigurácia navyše
  • Manuálna aktualizácia
  • Mením PHP verziu
  • Podpora
Inštalácia doplnku
  • Hostiteľský panel
    • cPanel
    • DirectAdmin
    • Plesk
    • Sentora/ZPanel
    • ISPmanager
    • InterWorx
    • Vesta
    • Hosting Controller
    • CentOS Web Panel
    • Hestia
    • LiveConfig
    • Webuzo
    • Custom hosting (API)
  • Fakturačný panel
    • WHMCS
    • Blesta
    • Custom billing (API)
Dokumentácia API
  • Tvorca
    • Create session (SSO)
    • Remove existing session
    • Create website backup
    • Restore website backup
  • Šablóny
    • List template categories
    • List template category tags
    • List templates
    • Get page types available in templates
  • Import
    • Import website
    • Get website import status
    • Import website block
    • Get website block import status
    • Check if imported website is owned by user
  • Webové stránky
    • Create website
    • Modify website
    • Rename website
    • Publish website
    • Edit website pages
    • Edit website settings
    • Delete website
    • Get website template
    • Get website pages
    • Get website variables
    • Get template variables
    • Get website settings
    • Add pages to website
    • Duplicate pages in website
    • Remove pages from website
  • Bloky webových stránok
    • Create empty website
    • Modify website
    • Inspect website
    • Add empty page
    • Modify page
    • Remove page
    • Inspect page
    • Inspect composition
    • Modification descriptor structure by element type
    • Add blocks from compositions
    • Remove blocks
    • Move blocks
    • Modify blocks
    • Inspect block
  • Licencie
    • Get list of published websites
    • Get statistics of publications/openings
    • Block/unblock published website
    • Controlling IP list
    • Read/add/delete hosting plans
  • Integration with your system
    • Allow/disallow domain in builder
    • Check if domains are allowed in builder
  • FAQ
    • Get posts
    • Get categories
Dokumentácia doplnkov
  • For Website
    • Public demo URL
    • Editing plans
    • User registration from public demo
    • Website import
  • For Builder
    • Adding custom templates
    • Adding custom builder plugins
    • Scripts
Pre vývojárov
  • Programming reference
  • Directory structure
  • Meta information (main.json)
  • Frontend logic (main.js)
  • Element template (main.html)
  • Backend logic (main.php)
  • Plugin testing
  • Custom element plugin
  • E-commerce plugin
  • Overriding UI
  • Other examples
Zmeniť denník
Dokumentácia doplnkov → For Builder

Scripts available since version 4.0.0 / 3.7.288 On-Premises

Scripts can be used in order to insert extra piece of code to clients' websites or into builder itself.
All scripts must be located in your builder installation folder /assets/scripts (create folder if it does not exist).
Make sure that scripts folder is readable by Web server.

Here is the list of available scripts:

  • builder_head_end.html — inserts content before closing </head> tag in builder.
    Available variables: isDemo, hostingPlan.
  • site_head_end.html — inserts content before closing </head> tag in all clients' websites.
    Available variables: isDemo, isPreview, hostingPlan.
  • site_body_end.html — inserts content before closing </body> tag in all clients' websites.
    Available variables: isDemo, isPreview, hostingPlan.

In order to add script create file with script name in builder scripts folder and add your HTML content.
Important: Be careful with a script for sites. If you accidentally make a mistake in the script then with time it will be injected to many sites and sites may not work properly afterwards. Moreover it can take quite a lot of time for all sites to be re-published with a correct script after it is fixed.

Script variables

You can use variables in scripts. Available variables are specified for each script separately.
Here is the list of available variables:

  • Boolean — True if public demo builder is opened.
  • Boolean — True if client opens previewed website in builder rather than live published website.
  • String — Client's hosting plan in control panel (available since version 3.7.330).

The Boolean variable can be used with IF statement in script with the following syntax: {{#var}}..{{/var}}, for example:

{{#isDemo}}
    <!-- My code for public demo builder only -->
{{/isDemo}}
{{^isDemo}}
    <!-- My code for non-public demo builder only -->
{{/isDemo}}

The String variable can be used with IF statement in script with the following syntax: {{if var = "value"}}..{{/if}}, for example:

{{if hostingPlan = "free-plan"}}
    <p>Click <a>this link</a> to upgrade.</p>
{{/if}}
© Site.pro 2011. Nástroj na tvorbu webových stránok. Spojené štáty.
Kontaktujte predajPodmienky služby