Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2015-07-24 11:34:32
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
Modificare un sito on line
E’ possibile creare sezioni nuove, pagine quando il sito è online e pubblicarle quando sono pronte.
Offline
Offline
#3 2015-07-24 12:56:29
- pierlu
- Member
- Registered: 2014-08-12
- Posts: 153
Re: Modificare un sito on line
Is possible to create new sections, pages when the site is online and to publish her when they are ready.
Offline
Re: Modificare un sito on line
A section is viewable by the public the moment you create it.
A page becomes viewable the moment you select when you set up a section.
To avoid people from accidentally stumbling across a section that you’re still working on, you could give it a hard to guess name during development and change the name once it’s ready.
Offline
Re: Modificare un sito on line
You can do something like this:
- Install the
adi_gps
plugin. - On the section page:
<txp:adi_gps name="version" quiet="1" />
<txp:if_variable name="version" value="beta">
<h1>Welcome to the Beta Version of My New Section!</h1>
<txp:article_custom /> <!-- et cetera -->
<txp:else />
<h1>Nothing to see here!</h1>
<!-- or you can redirect automatically to home page -->
</txp:if_variable>
Then you can give people a secret link that looks like this: http://www.example.com/hidden-section/?version=beta
and they can see your non-public things. If you really want to protect the articles you can set them to “Draft” instead of “Live” and use the aks_article
plugin to list them.
Offline
#6 2015-07-24 17:20:14
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,304
Re: Modificare un sito on line
Great TXP-Tips tip!
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Modificare un sito on line
Article can assign a future date. Then, in the navigation of the site will not be references to this article, but this article will be available for a direct link.
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
Re: Modificare un sito on line
If only logged users should see this section, exclude it from search, frontpage, syndication, all <txp:section_list />
. Then install rvm_privileged
and put <txp:rvm_privileged />
on its page, or
<txp:if_section name="your_sandbox_name"><txp:rvm_privileged /></txp:if_section>
if it shares the page with other sections. This should 403-redirect simple visitors if they try to access your sandbox articles.
Offline
Pages: 1