PluginProbe
404 Solution / 4.3.3
404 Solution v4.3.3
4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.0 4.1.19 4.1.18 4.1.17 4.1.16 4.1.15 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.1.7 4.1.6 4.1.5 4.1.4 4.1.3 trunk 2.30.0 All 109 releases
404-solution / includes / html / viewSuggestions.html

viewSuggestions.html in 404 Solution 4.3.3, at includes/html/viewSuggestions.html

57 lines 4.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <p>
2 {Display the closest matching pages by using the shortcode [abj404_solution_page_suggestions].}
3 <BR/><BR/>
4 {This shortcode can be used on the 404 page and will display a list of suggested pages. This is for when a user requests a page that doesn't exist and they are not automatically redirected to a matching page.}
5 <BR/>
6 <BR/>
7 {Note: The "scores" that appear in the format of "(75.7576)" after the page links are only displayed for admin users.}
8 <HR/>
9 <p>
10 <label for="update_suggest_url">{Update the URL bar}:</label>
11 <input type="checkbox" name="update_suggest_url" id="update_suggest_url" value="1" {SELECTED_SUGGEST_URL}>
12 <BR/>&nbsp;&nbsp;&nbsp;
13 {When checked the URL will be changed from the custom 404 page URL to the URL originally requested (after the page headers load).}
14 {This will not change the URL if the destination 404 page is set to (Default 404 Page) or Home Page.}
15 </p>
16 <p>
17 <label for="suggest_cats">{Allow category suggestions}:</label>
18 <input type="checkbox" name="suggest_cats" id="suggest_cats" value="1" {SELECTED_SUGGEST_CATS}>
19 </p>
20 <p>
21 <label for="suggest_tags">{Allow tag suggestions}:</label>
22 <input type="checkbox" name="suggest_tags" id="suggest_tags" value="1" {SELECTED_SUGGEST_TAGS}>
23 </p>
24 <p>
25 <label for="suggest_minscore_enabled">{Require minimum match quality}:</label>
26 <input type="checkbox" name="suggest_minscore_enabled" id="suggest_minscore_enabled" value="1" {SELECTED_SUGGEST_MINSCORE_ENABLED}>
27 <BR/>&nbsp;&nbsp;&nbsp;
28 {Only show suggestions that closely match the requested URL. This filters out weak matches that may confuse visitors.}
29 </p>
30 <p>
31 <label for="suggest_max">{Maximum number of suggestions to display}:</label>
32 <input type="text" name="suggest_max" id="suggest_max" value="{SUGGEST_MAX_SUGGESTIONS}" style="width: 50px;">
33 <BR/>&nbsp;&nbsp;&nbsp;{Even if more pages could be suggested, show at most this many (default: 5)}
34 </p>
35 <p>
36 <label for="suggest_title">{Page suggestions title}:</label>
37 <input type="text" name="suggest_title" id="suggest_title" value="{SUGGEST_USER_TITLE}" style="width: 400px; background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;">
38 <BR/>&nbsp;&nbsp;&nbsp;{This text will appear before the list of suggestions (default: &lt;h3&gt;Here are some other great pages&lt;/h3&gt;)}
39 </p>
40 <p>
41 <label for="suggest_before">{Display Before/After page suggestions}:</label>
42 <input type="text" name="suggest_before" id="suggest_before" value="{SUGGEST_USER_BEFORE}" style="width: 150px;"> /
43 <input type="text" name="suggest_after" value="{SUGGEST_USER_AFTER}" style="width: 100px;">
44 <BR/>&nbsp;&nbsp;&nbsp;{This creates the list. For example, use &lt;ol style="list-style-type: none;"&gt; to hide the numbers in the list. (defaults: &lt;ol&gt; / &lt;/ol&gt;)}
45 </p>
46 <p>
47 <label for="suggest_entrybefore">{Display Before/After each suggested page}:</label>
48 <input type="text" name="suggest_entrybefore" id="suggest_entrybefore" value="{SUGGEST_USER_ENTRY_BEFORE}" style="width: 100px;"> /
49 <input type="text" name="suggest_entryafter" value="{SUGGEST_USER_ENTRY_AFTER}" style="width: 100px;">
50 <BR/>&nbsp;&nbsp;&nbsp;{This surrounds each item in the list. (defaults: &lt;li&gt; / &lt;/li&gt;)}
51 </p>
52 <p>
53 <label for="suggest_noresults">{Display if no suggestion results}:</label>
54 <input type="text" name="suggest_noresults" id="suggest_noresults" value="{SUGGEST_USER_NO_RESULTS}" style="width: 400px;">
55 <BR/>&nbsp;&nbsp;&nbsp;{If no suggested pages are found, then this text will be displayed. (default: &lt;p&gt;No suggestions. :/ &lt;/p&gt;)}
56 </p>
57