Tiny News Feed
News List
Home Page
News List
Search
Editing
Edit This News
Please correct the information in the form below in order to edit this page on your website.
Page URL:
http://mimimi.software/demos/TinyNewsFeed/news/
Leave this field blank if you want to automatically generate the page URL. In this case, it will consist of a random set of characters.
Visible For All
Title:
This field contains the name of the publication in listings. It is also the string of the page Title tag.
Short Text:
Do you need to get the URL of the current page? Okay, let us look at this action with a small example.
This field contains short introductory text that appears in publication listings and at the top of the publication page. It is also the string of the page Meta Description tag.
Full Text:
<h4>Source Code</h4><p>Please paste any of these code snippets into your template to see how it works.</p><blockquote><p><small>Let's experiment with a template like <code>tiny.news.feed/Themes/default/404.tpl</code> by pasting that code into it and then opening some <a href="some-indefinite-vague-non-existent-abracadabra" rel="nofollow">non-existent page</a> associated with this template.</small></p></blockquote><pre><?php $TEST = mimimiUri(FALSE); echo 'The relative page URL is ' . $TEST; ?></pre><blockquote><p><small>Note that we are used above one of the core routines to retrieve URL path. If you are interested in its algorithm, please see the <code>mimimi.core/Routines.php</code> file.</small></p></blockquote><p><b>Way 2</b></p><pre><?php $TEST = mimimiSite(FALSE) . mimimiRoot(FALSE) . mimimiUri(FALSE); echo 'The absolute page URL is ' . $TEST; ?></pre><blockquote><p><small>Note that we are used above 3 core routines to assemble URL from its parts. If you are interested in their algorithmes, please see the <code>mimimi.core/Routines.php</code> file.</small></p></blockquote><p><b>Way 3</b></p><pre><?php $TEST = printPageUrl(FALSE); echo 'The absolute page URL is ' . $TEST; ?></pre><blockquote><p><small>Note that we are used above one of the helper routines to get all URL parts at once. Its algorithm look at the basic Helper module, that is <code>mimimi.modules/Helper/Helper.php</code> file.</small></p></blockquote><h4>Remark</h4><p>If you want to program specific helper routines to be used in website templates, you can do it anywhere. For example, open local Helper module to see how another routines has been programmed.</p><p><small>* This page is a demo post to display a page content for testers. You need <a href="news/demo-posts/faq/how-to-get-current-page-url/delete" rel="nofollow">delete this page</a> when you launch website in production mode.</small></p>
You can use valid HTML markup for this field. All HTML tag attributes will be removed for security reasons except attribute href="some-url" for tag <a> and attribute src="some-url" for tag <img>.
Image to upload:
The file length should not exceed 5 megabytes. File type: WEBP, JPEG, PNG, SVG, GIF or BMP.
Image URL:
http://mimimi.software/demos/TinyNewsFeed/
You should enter the image URL manually if your page needs to have an image with a specific file name. Otherwise, the image URL will be set to the name of the uploaded file. If you need an external image on your page, enter its absolute URL here and do not use the input field above to upload the image.
Send »
× Cancel