Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-31 00:52:41

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Article status - Draft, hidden, pending, etc...

Honest to god that I look for this info everywhere before asking!

What exactly is the difference between Draft, hidden and pending? I know what Live and Sticky are.

How do I preview an article before going live? (shouldn’t there be a preview button? surely!)

To set an article to publish in the future I need to set the date/time and have it’s status set to live?

Thanks in advance and forgive me if I’m asking the obvious.

Offline

#2 2006-08-31 01:14:48

jdykast
Member
From: Tennessee
Registered: 2004-12-30
Posts: 119
Website

Re: Article status - Draft, hidden, pending, etc...

There is information about article status at the Textbook.

To preview your article click on the “preview” tab located to the right of the body portion of the article entry area. The article I linked to above has a pretty good introduction to this section of the Textpattern backend.

Offline

#3 2006-08-31 01:24:46

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: Article status - Draft, hidden, pending, etc...

Thanks for the links. I’ll read through them thoroughly.

I don’t get any tabs on the right of the body text area, both in IE and FireFox.

Also, does the preview only show what’s in the body area or the whole page as it would look like when published?

Offline

#4 2006-08-31 03:37:01

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Article status - Draft, hidden, pending, etc...

Make sure you have all the images uploaded to /textpattern/txp-img (img something). Take a look at the TXP posting screenshot to see the images. The preview shows the article formatting, but not in the context of your site design—just in terms of Textile formatting basically.

Offline

#5 2006-08-31 12:42:19

lozmatic
Member
From: Melbourne, Australia
Registered: 2006-08-27
Posts: 259
Website

Re: Article status - Draft, hidden, pending, etc...

That’s no good to me. My pages are made up of default content (title, body) and 9/10 custom fields holding other text and pics… all coming together in a fairly complex layout.

Perhaps I should create a section called ‘Staging’ and publish there (making sure that no links are generated to staged content) and then switch section when I’m ready.

Offline

#6 2006-09-17 08:45:47

mwillse
Member
From: brooklyn, ny
Registered: 2006-06-26
Posts: 83
Website

Re: Article status - Draft, hidden, pending, etc...

It would be nice to do have a live preview. A status that made the article accessible by url, but didn’t include it on the site in any other way.

Offline

#7 2006-09-18 00:35:43

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Article status - Draft, hidden, pending, etc...

You can do that by creating a section for that purpose and password protecting it with ign_password_protect. That’s what I do for my own site, and it works perfectly. Once I’m satisfied with what my article looks like, I change the article section to what it should be, and make sure the timestamp is regenerated. :)

Now if you really wanted it to be even less work, writing a plugin for this purpose is also possible. :)

Offline

#8 2006-09-23 13:22:18

lisionosk
Member
From: Switzerland
Registered: 2006-02-10
Posts: 99

Re: Article status - Draft, hidden, pending, etc...

I have been using TXP to publish my pages for about 8 months and I had never suspected the existence of the ‘Text’, ‘Html’ and ‘Preview’ tabs until I read this thread. I have checked the txp_img folder online and compared with the copy I have on my desktop and both contain the right images (‘textup.gif’, ‘textdown.gif’, ect) and even re-uploaded all of them to be sure, but I still fail to see these 3 tabs alongside my entry window in Opera, Firefox and IE.

I use the version 4.0.3 and the bas_img_sel and rss_admin_show_adv_opts plugins, if that helps, although deactivating them does not change anything.

What could be wrong ?

Last edited by lisionosk (2006-09-23 13:26:48)

Offline

#9 2006-09-23 16:55:32

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Article status - Draft, hidden, pending, etc...

If you navigate to /textpattern/txp_img/, do you see htmlup.gif, htmldown.gif, previewdown.gif, etc.? Also, have you tried re-uploading the CSS file from a clean install?

Last edited by jm (2006-09-23 16:55:55)

Offline

#10 2006-09-23 19:48:46

lisionosk
Member
From: Switzerland
Registered: 2006-02-10
Posts: 99

Re: Article status - Draft, hidden, pending, etc...

I see all these images, jm. I also re-downloaded a fresh, unopened TXP package and re-uploaded textpattern.css in my install, but to no avail.

Offline

#11 2006-09-23 20:35:54

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Article status - Draft, hidden, pending, etc...

Does this show up in the HTML for the write page:

<pre>
&lt;td valign=&quot;top&quot; style=&quot;width:400px&quot;&gt;&lt;textarea style=&quot;width:400px;height:420px&quot; rows=&quot;1&quot; cols=&quot;1&quot; name=&quot;Body&quot; tabindex=&quot;2&quot;&gt;&lt;/textarea&gt;&lt;p&gt;Excerpt &lt;a target=&quot;_blank&quot; href=&quot;http://rpc.textpattern.com/help/?item=excerpt&amp;#38;lang=en&quot; onclick=&quot;window.open(this.href, ‘popupwindow’, ‘width=400,height=400,scrollbars,resizable’); return false;&quot; class=&quot;pophelp&quot;&gt;?&lt;/a&gt;&lt;br /&gt;&lt;textarea style=&quot;width:400px;height:50px&quot; rows=&quot;1&quot; cols=&quot;1&quot; name=&quot;Excerpt&quot; tabindex=&quot;3&quot;&gt;&lt;/textarea&gt;&lt;/p&gt;&lt;input type=&quot;hidden&quot; name=&quot;from_view&quot; value=&quot;text&quot; /&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot; align=&quot;left&quot; width=&quot;20&quot;&gt;&lt;img src=&quot;txp_img/textup.gif&quot; height=&quot;100&quot; width=&quot;19&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;txp_img/htmldown.gif&quot; onclick=&quot;document.article.view.value=‘html’; document.article.submit(); return false;&quot; height=&quot;100&quot; width=&quot;19&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;txp_img/previewdown.gif&quot; onclick=&quot;document.article.view.value=‘preview’; document.article.submit(); return false;&quot; height=&quot;100&quot; width=&quot;19&quot; alt=&quot;&quot; /&gt;&lt;/td&gt;
</pre>

Hopefully that section won’t be there, then you can just update the PHP files. If it does, then I have no idea. Not that this is relevant, but have you ever edited your database?

Offline

#12 2006-09-23 20:55:47

lisionosk
Member
From: Switzerland
Registered: 2006-02-10
Posts: 99

Re: Article status - Draft, hidden, pending, etc...

My mistake, I don’t think it shows. How do I edit my PHP files, jm ?

Offline

Board footer

Powered by FluxBB