User Tools

Site Tools


custom_galleries_and_tgp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

custom_galleries_and_tgp [2026/03/21 10:11] – created - external edit 127.0.0.1custom_galleries_and_tgp [2026/10/20 17:27] (current) – Synchronize English documentation with canonical Russian pages; reviewed locally 2026-10-20 user
Line 11: Line 11:
  
   - Gallery code should not change at all   - Gallery code should not change at all
-  - Different recipes are needed for different TGPs+  - Different TGPs require different reciprocal-link blocks
  
 **How to set it up:** **How to set it up:**
Line 19: Line 19:
 <code> <code>
 <? if ($_GET['recip'] == '1') { ?> <? if ($_GET['recip'] == '1') { ?>
-recipes 1 here+reciprocal links for TGP 1 go here
 <? } ?> <? } ?>
  
 <? if ($_GET['recip'] == '2') { ?> <? if ($_GET['recip'] == '2') { ?>
-recipes 2 here+reciprocal links for TGP 2 go here
 <? } ?> <? } ?>
  
-Add as many recipe blocks as needed.+Add as many reciprocal-link blocks as needed.
  
-Also remove the rot_in and scj_include tags from this template, since they can change.+Also remove the rot_in and scj_include tags from this template, 
 +since they can change.
 </code> </code>
  
Line 41: Line 42:
 http://domain/gallery/<!--GALLERY_SLUG-->/recip_2.html http://domain/gallery/<!--GALLERY_SLUG-->/recip_2.html
  
-Where 1, 2, etc. represent the recipes. You can replace these numbers with TGP names if preferred.+Where 1, 2, etc. identify the reciprocal-link blocks. You can 
 +replace these numbers with TGP names if preferred.
 </code> </code>
  
Line 47: Line 49:
 **How to generate this URL format** **How to generate this URL format**
  
-There's no dedicated section for recipe URLs, but you can go to Rotation - Export and select "Slug URL" in any pattern field. The script will generate URLs like:+There's no dedicated section for reciprocal-link URLs, but you can go to Rotation - Export and select "Slug URL" in any pattern field. The script will generate URLs like:
   http://domain/gallery/cool_gal/index.html   http://domain/gallery/cool_gal/index.html
  
 Then replace `index.html` with `recip_1.html`, `recip_2.html`, etc. using any text editor or during your TGP posting process. Then replace `index.html` with `recip_1.html`, `recip_2.html`, etc. using any text editor or during your TGP posting process.
custom_galleries_and_tgp.txt · Last modified: by user