Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-06-05 07:16:05

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,595
GitHub Twitter

[Solved] Draft article with image and preview

Hi Devs ;)

I’d just noticed this strange behaviour (Textpattern CMS 4.5.5):

When I display an article (draft status) on the front office I can’t see the associated image. When switching to “Publish” status, all is visible.

Did it been corrected in a recent version?

Last edited by Pat64 (2015-06-06 12:57:59)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2015-06-05 08:23:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: [Solved] Draft article with image and preview

Hi Pat, Is the associated image, an article_image, a textiled image in the body of the text or a textpattern tag?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2015-06-05 11:37:46

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,595
GitHub Twitter

Re: [Solved] Draft article with image and preview

Hi Colak ;)

It’s just article_image.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#4 2015-06-05 14:57:37

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: [Solved] Draft article with image and preview

This happens, when you use article_custom like this:

<txp:article_custom section='<txp:section />' limit="1" form="form for the article image display" />

In draft status it only works in this context:

<txp:article limit="1" form="form for the article image display" />

Last edited by GugUser (2015-06-05 14:58:57)

Offline

#5 2015-06-06 12:57:30

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,595
GitHub Twitter

Re: [Solved] Draft article with image and preview

Yes, you’re right GugUser!

Thanks lot ;)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#6 2015-06-06 13:42:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,007
Website GitHub Mastodon Twitter

Re: [Solved] Draft article with image and preview

So, as this is not a feature, is it a bug or an expected behaviour?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2015-06-06 15:26:23

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: [Solved] Draft article with image and preview

I think in the draft status the section for article_custom is missing.

Offline

Board footer

Powered by FluxBB