new_rotation_step_by_step
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| new_rotation_step_by_step [2019/08/12 13:06] – [Old Rewrites for version 1.X] admin | new_rotation_step_by_step [2026/03/21 10:11] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== New Rotation Step By Step ====== | ====== New Rotation Step By Step ====== | ||
| - | Basically any site consists of at least 2 pages: index (with list of thumbs or list of categories or both) and X pages with list of thumbs for each category. You can also have galleries created by SmartCJ (Demo [[http:// | + | A modern rotation system that meets current needs. |
| + | This rotation is built on the old system but lets you quickly build multi-niche, | ||
| - | ===== Basics ===== | + | Most multi-niche sites have 4 core pages: index, category thumb list, content page (video or gallery), and optionally a search page. With SmartCJ, you can launch such a site in 15 minutes. |
| - | Basically there are 2 types of galleries: embedded | + | Extended versions add user registration, |
| - | + | ||
| - | ===== Setup ===== | + | The system is extremely flexible. You can create almost any site type with it. |
| - | * Rotation -> Settings turn it on ( Rotation | + | ===== Basic Concepts ===== |
| - | * Rotation - Groups : Create groups (categories, | + | |
| - | * Copy (!!! copy, not move, do not delete source) to the root of your domain index.php and common.php from scj/cgi | + | |
| - | * Create .htaccess at the root of your domain (**NOTE** If you use nginx or lighttpd - ask admin to add those rules to config file) and add rewrite rules [[tcms_install|Install]]. Those rewrites are for version 2.X (TCMS) | + | |
| - | * Settings - CJPages: type PATH (not URL, you need PATH!!!) to scj/ | + | |
| + | There are two main content types for tube CMS: | ||
| - | ===== Rewrites for Apache ===== | + | **External galleries** - Content from sponsors (like FHG) that lives on their servers. Clicking links external galleries is an external redirect. |
| - | < | + | **Embedded galleries** - Content played directly on your site (like any tube site). The video stays on your domain; no external redirects. |
| - | ewriteEngine On | + | |
| - | RewriteBase / | + | You can use both types. SmartCJ can also convert sponsor content into either format. |
| - | RewriteCond %{REQUEST_FILENAME} !-f | + | |
| - | RewriteCond %{REQUEST_FILENAME} !-d | + | |
| - | RewriteRule ^([^/ | + | |
| - | RewriteRule ^category/ | + | ===== Engine Setup ===== |
| - | RewriteRule ^category/ | + | |
| - | #slug galleries | + | * Go to Rotation → Settings and enable the rotation engine |
| - | RewriteRule ^gallery/([^/]+)/index.html$ / | + | * Go to Rotation - Groups and create site categories. You can create unlimited categories. |
| - | RewriteRule ^gallery/([^/]+)/([0-9]{1,2}).html$ / | + | * Copy index.php from the **scj/cgi** directory to your domain root (along with common.php) |
| + | * Verify that your rewrite rules are configured | ||
| - | #tags | + | ===== Adding content ===== |
| - | RewriteRule ^tag/ | + | |
| - | RewriteRule ^tag/ | + | |
| - | RewriteRule ^tag/ | + | |
| - | # | + | All galleries |
| - | RewriteRule ^model_galleries/ | + | |
| - | RewriteRule ^model_galleries/ | + | |
| - | RewriteRule ^model/([^/]+)/$ / | + | See [[New Rotation Content]] for details. |
| - | RewriteRule ^model/ | + | |
| - | RewriteRule ^search/ | + | After adding content, your site will have galleries. Next, move to [[New Rotation Templates]] to customize appearance. |
| - | RewriteRule ^search/([^/]+)/([^/]+)/([^/]+)/$ / | + | |
| - | |||
| - | </ | ||
new_rotation_step_by_step.1565615177.txt.gz · Last modified: by admin
