Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tool Slug vs. RealURL added
- Loading branch information
Showing
10 changed files
with
257 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# backendtools | ||
|
||
version 1.5.1 | ||
version 1.5.2 | ||
|
||
6 admin tools for extensions, redirects, files, images and links: | ||
extensionlist, import redirects, delete unused files, images with no title, unzip and linklist. | ||
7 admin tools for extensions, slug, redirects, files, images and links: | ||
extensionlist, Slug vs. RealURL, import redirects, delete unused files, images with no title, unzip and linklist. | ||
|
||
You find the documentation for this extension at typo3.org: | ||
https://docs.typo3.org/p/fixpunkt/backendtools/master/en-us/ | ||
|
||
Last feature: link the title with the slug. | ||
Last feature: tool Slug vs. RealURL added. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
{namespace ex=Fixpunkt\Backendtools\ViewHelpers} | ||
<f:layout name="Default" /> | ||
<f:section name="content"> | ||
<style> | ||
.f3-widget-paginator { padding-left:0; } | ||
.f3-widget-paginator li { display:inline-block; } | ||
</style> | ||
<h1>RealURL vs. Slug</h1> | ||
<f:flashMessages /> | ||
<f:form action="realurl" class="form-inline"> | ||
<p>Differences between RealURL-pagepath (in tx_realurl_pathdata) and Slug (in pages):</p> | ||
<div class="row"><div class="col-md-6"> | ||
|
||
<div style="margin: 10px 0;">Show only entries with | ||
<label class="checkbox-inline"> | ||
<f:form.radio name="my_e" value="1" checked="{my_e} == 1" /> empty or | ||
</label> | ||
<label class="checkbox-inline"> | ||
<f:form.radio name="my_e" value="2" checked="{my_e} == 2" /> available or | ||
</label> | ||
<label class="checkbox-inline"> | ||
<f:form.radio name="my_e" value="0" checked="{my_e} == 0" /> whatever ... RealURL-pagepath. | ||
</label> | ||
</div> | ||
<!-- div style="margin: 10px 0;">Show only | ||
<label class="checkbox-inline"> | ||
<f:form.radio name="my_p" value="1" checked="{my_p} == 1" /> not visible or | ||
</label> | ||
<label class="checkbox-inline"> | ||
<f:form.radio name="my_p" value="2" checked="{my_p} == 2" /> visible or | ||
</label> | ||
<label class="checkbox-inline"> | ||
<f:form.radio name="my_p" value="0" checked="{my_p} == 0" /> all ... pages. | ||
</label> | ||
</div --> | ||
|
||
</div><div class="col-md-6"> | ||
<div style="margin: 10px 0;">Entries per page: | ||
<f:form.textfield name="my_page" value="{my_page}" size="5" /> | ||
</div> | ||
</div></div> | ||
|
||
<f:form.submit value="search" name="search" class="btn btn-default" /> | ||
</f:form> | ||
|
||
<f:if condition="{pages -> f:count()} > 0"> | ||
<f:then> | ||
<f:widget.paginate objects="{pages}" as="paginatedpages" configuration="{settings.pagebrowser}"> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th colspan="4" style="text-align:center;background-color:#cfc;">Page</th> | ||
<th colspan="1" style="text-align:center;background-color:#fcc;">RealURL</th> | ||
<th colspan="2" style="text-align:center;background-color:#ccf;">Slug</th> | ||
</tr> | ||
<tr> | ||
<th>uid</th> | ||
<th>lang.</th> | ||
<th>hidden</th> | ||
<th>title</th> | ||
<th>Path</th> | ||
<th>Slug</th> | ||
<th>Locked</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<f:for each="{paginatedpages}" as="page" iteration="iterator"> | ||
<tr{f:if(condition:iterator.isOdd, then: ' style="background-color:#fff;"')}> | ||
<td> | ||
<ex:editLink action="edit" table="pages" uid="{page.uid}" returnUrl="mod.php?M=tools_BackendtoolsMod1&tx_backendtools_tools_backendtoolsmod1[action]=realurl"> | ||
<img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-open.svg" width="16" height="16"> | ||
</ex:editLink> | ||
<a href="/index.php?id={page.uid}&L={page.sys_language_uid}&no_cache=1" target="extern"> | ||
<img src="/typo3/sysext/core/Resources/Public/Icons/T3Icons/actions/actions-document-view.svg" width="16" height="16"> | ||
</a> | ||
{page.uid} | ||
</td> | ||
<td>{page.sys_language_uid}</td> | ||
<td><f:if condition="{page.hidden} == 1"><f:then><span style="color:#bb0000;font-weight:bold;">yes</span></f:then><f:else>no</f:else></f:if></td> | ||
<td>{page.title}</td> | ||
<td>{page.realurl}</td> | ||
<td>{page.slug}</td> | ||
<td><f:if condition="{page.slug_locked} == 1"><f:then><span style="color:#bb0000;font-weight:bold;">yes</span></f:then><f:else>no</f:else></f:if></td> | ||
</tr> | ||
</f:for> | ||
</tbody> | ||
</table> | ||
</f:widget.paginate> | ||
<p>{pages -> f:count()} pages found.</p> | ||
</f:then> | ||
<f:else> | ||
<p>0 pages found!</p> | ||
</f:else> | ||
</f:if> | ||
</f:section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters