Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2015-07-24 11:38:56

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Modificare un sito on line

In english please?

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

#4 2015-07-24 13:32:46

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

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

#5 2015-07-24 17:10:26

maruchan
Member
From: Ukiah, California
Registered: 2010-06-12
Posts: 590
Website

Re: Modificare un sito on line

You can do something like this:

  1. Install the adi_gps plugin.
  2. 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,303

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

#7 2015-07-24 17:31:14

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355
Website

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

#8 2015-07-24 18:15:59

etc
Developer
Registered: 2010-11-11
Posts: 5,028
Website GitHub

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

Board footer

Powered by FluxBB