Skip to content

Commit 7636d4f

Browse files
committed
Latest v 2.4
"Textpattern Community" version 2.4 with lot of improvements (see the release for more details).
1 parent ea1fbb6 commit 7636d4f

File tree

14 files changed

+619
-331
lines changed

14 files changed

+619
-331
lines changed

README.textile

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,29 @@ h1. Wait Me
22

33
*Wait Me*: a maintenance theme for Textpattern CMS.
44

5-
!https://raw.githubusercontent.com/cara-tm/wait-me/master/screenshots/wait-me_textpattern-theme.png!
5+
!https://raw.githubusercontent.com/cara-tm/wait-me/master/screenshots/presentation.jpg!
66

7-
p{width:100%;text-align:right;font-size:small}. _Illustration: courtesy (C) Chu Son (@sonctw), Unsplash.com_.
7+
p{width:100%;text-align:right;font-size:small}. _Illustration: courtesy © Unsplash.com_.
88

99
p. Fine handcrafted theme for your maintenance mode during your website development. Includes specific headers to search engine bots in order to differ indexations in later revisits. Minimal design with extremly subtile colored shadows around the custom picture (extracted from the image itself); additional text, social network links and contact links governed by TXP variables for immediat use. No javascript, no dependencies, Responsive with Flexbox inside for modern browsers and IE7 minimum capable!
1010

11+
p. Include the ability to display social network links (optional) from 9 flavors: Twitter, Facebook, Instagram, Mastodon, Tik Tok, Dribbble, LinkedIn, GitHub and YouTube. Include a possibility to send e-mails with the use of the major online solutions (Gmail, Outlook, Yahoo! or local system) from a Modal Box.
12+
13+
1114
h2. How to?
1215

1316
p. Unzip the distribution and place the theme folder @wait-me@ into your @/root/themes@ directory.
1417

18+
p. Place the @fonts@ folder (and its content) into your @/root/@ directory (optional).
19+
20+
h3. Version 2.4 (onward):
21+
22+
p. Upload an image of your choice from the Textpattern "Images" panel (dimensions: 350 × 500 px). This will be the image that is displayed with the main page; because Textpattern do not offer by default a simple method to support "Retina Display", upload an alternate image copy of that image (2 x in sizes) into your @/images@ directory it must be named <code>1@2x</code> with the same file extension as the one uploaded from the "Images" panel.
23+
24+
p. This theme use only 2 page models (@default@ and @error_default@) and only one form model: @config@. The @config@ form is used to store all informations to customise your maintenance website from TXP variables. Set it accordingly to your needs (all variables are commented).
25+
26+
h3. Older versions:
27+
1528
p. Upload an image of your choice, that must be named @0@, into your @/root/images@ directory (dimensions: 350 × 500 px). This will be the image that is displayed with the main page; set the extension image file with the corresponding TXP variable into the pages. To support the "Retina Display" screens, please download the same image of twice the size and named <code>0@2x</code> with the same file extension.
1629

1730
p. The theme use only 2 pages: "default" and "error_default" where you could find some TXP variables to set accordingly to your needs. Finaly, activate it.

dist/forms/article/config.txp

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<txp:hide>
2+
A list of social network names to use (lowercases, no comma separated, a space instead; remove all and replace by 2 spaces to hide the social link):
3+
</txp:hide>
4+
5+
<txp:variable name="socials" value="twitter instagram mastodon tiktok facebook linkedin dribbble github youtube" />
6+
7+
<txp:hide>
8+
And the corresponding social accounts (no comma separated, a space instead):
9+
</txp:hide>
10+
11+
<txp:variable name="twitter_account" value="https://twitter.com/lowel" />
12+
<txp:variable name="instagram_account" value="https://instagram.com/rodinature" />
13+
<txp:variable name="facebook_account" value="https://www.fb.com/zuck" />
14+
<txp:variable name="dribbble_account" value="https://dribbble.com" />
15+
<txp:variable name="linkedin_account" value="https://linkedin.com" />
16+
<txp:variable name="github_account" value="https://github.com/cara-tm/wait-me" />
17+
<txp:variable name="youtube_account" value="https://youtu.be/zpurVcrhY30" />
18+
<txp:variable name="mastodon_account" value="https://mastodon.social/@Gargron" />
19+
<txp:variable name="tiktok_account" value="https://www.tiktok.com" />
20+
21+
22+
<txp:hide>
23+
The main title of your page:
24+
</txp:hide>
25+
26+
<txp:variable name="title" value="This website is under development" />
27+
28+
<txp:hide>
29+
The main text of your page:
30+
</txp:hide>
31+
32+
<txp:variable name="text" value="We're working hard on this new website but all isn't finished yet. Please, renew your visit later." />
33+
34+
<txp:hide>
35+
The "Follow us" text:
36+
</txp:hide>
37+
38+
<txp:variable name="follow" value="Follow us" />
39+
40+
<txp:hide>
41+
Text before the contact link:
42+
</txp:hide>
43+
44+
<txp:variable name="prefix_contact" value="Keep in touch" />
45+
46+
<txp:hide>
47+
Text in the contact link:
48+
</txp:hide>
49+
50+
<txp:variable name="contact" value="Contact us" />
51+
52+
<txp:hide>
53+
Title into the Modal Box:
54+
</txp:hide>
55+
<txp:variable name="new_email" value="Compose new email" />
56+
57+
<txp:hide>
58+
Your brand displayed after the footer's page; leave blank if you don't want it:
59+
</txp:hide>
60+
61+
<txp:variable name="branding" value="wait me theme" />
62+
63+
<txp:hide>
64+
Retrieve the administrator's email. Can be changed, see below:
65+
</txp:hide>
66+
67+
<txp:authors group="publisher, managing_editor" break="" limt="1">
68+
<txp:php>
69+
global $variable;
70+
/**
71+
* Simple email address obfuscator
72+
*/
73+
function _encode_email($e) {
74+
for ($i = 0; $i < strlen($e); $i++) {
75+
$output .= '&#'.ord($e[$i]).';';
76+
}
77+
return $output;
78+
}
79+
/* Can be changed explicitly:
80+
$variable['email_encoded'] = _encode_email('recipient@example.com');
81+
*/
82+
$variable['email_encoded'] = _encode_email(author_email(array())); </txp:php>
83+
</txp:authors>

dist/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"title": "Wait Me: a maintenance theme for new fresh installations",
3-
"version": "2.3.1",
3+
"version": "2.4",
44
"description": "A single page layout to prevent indexation from search engine bots; custom informations; with optional social links and a simple contact modal box for major online messaging solutions.",
5-
"author": "Patrick LEFEVRE",
6-
"author_uri": "https://github.com/cara-tm/wait-me",
5+
"author": "Textpattern Community",
6+
"author_uri": "https://github.com/textpattern",
77
"txp-type": "textpattern-theme"
88
}

0 commit comments

Comments
 (0)