Textpattern Forum

You are not logged in. Register | Login | Help

#11 2005-09-05 03:24:44

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: hak_article_image

They are supposed to be in article forms. What does the tag you are using look like? Can you post it? I’m just not being able to reproduce it.


Shoving is the answer – pusher robot

Offline

#12 2005-09-10 14:11:01

ickii
New Member
Registered: 2005-09-08
Posts: 5

Re: hak_article_image

Hello and thanks for what looks to be a promising solutions for my site.

But I’m having some problems. I’m using version 3.1 and getting this error

Warning: join(): Bad arguments. in /home/site/public_html/textpattern/publish/taghandlers.php on line 1224

I only get this error when <txp:hak_article_image /> is used in the page form.

Is this a plugin problem or something else I’m missing?

Thanks

Ickii

Offline

#13 2005-09-10 15:12:11

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: hak_article_image

The tags need to be used in the article form, since it requires an article to pull the article image from.


Shoving is the answer – pusher robot

Offline

#14 2005-09-10 15:21:54

ickii
New Member
Registered: 2005-09-08
Posts: 5

Re: hak_article_image

This is what I have in the aritcle form

I guess I can’t post the actual form code but it’s basically the default article form with the txp:hak_article_thumb code added after the end of h3

Is this incorrect?

Ickii

Last edited by ickii (2005-09-10 15:25:11)

Offline

#15 2005-09-10 15:57:46

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: hak_article_image

That sounds fine. It looks like the error is happening in the textpattern wrapping function. Are you passing anything through as a wraptag or a breaktag?


Shoving is the answer – pusher robot

Offline

#16 2005-09-10 16:34:19

ickii
New Member
Registered: 2005-09-08
Posts: 5

Re: hak_article_image

I don’t think so, the aritcle is only one paragraph. Im new to txp and just adding test articles to try to figure some of this out. So really all I’ve done is…

uploaded hak_article_image plugin
added the hak_article_image tag to the default article form
wrote a new article, added the article image in the advanced options
wrote a short paragraph in the text field
set a catagory and section
published

Any ideas? Thanks for the help btw.

ickii

Offline

#17 2005-09-10 16:49:18

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: hak_article_image

I think I might have figured it out. In the article image field are you entering an id or a file path (like 6.jpg)?


Shoving is the answer – pusher robot

Offline

#18 2005-09-10 18:04:49

hakjoon
Moderator
From: Arlington, VA
Registered: 2004-07-29
Posts: 1,631
Website

Re: hak_article_image

I uploaded version 0.3.2 which I think should take care of the problem you are seeing. Let me know if it does.


Shoving is the answer – pusher robot

Offline

#19 2005-09-11 00:22:44

ickii
New Member
Registered: 2005-09-08
Posts: 5

Re: hak_article_image

Sorry for the delay in responding, other obligations and all.

I updated to 0.3.2 and now the error message is gone but still no image appears in the article.

I have txp:image id=“2” as the article image. With <> of course.

And still txp:hak_article_image placed in the article form.

Now instead of an image there is “ alt=”“ /> appearing in the article. Could it be where I’m placing the hak_article_image tag in the form?

I appreciate your efforts. :)

ickii

Offline

#20 2005-09-11 01:12:32

zoeglingjulian
Member
From: London, UK
Registered: 2004-12-23
Posts: 52
Website

Re: hak_article_image

Did you write <txp:image id="2" /> in the “article image” field? If you did so, maybe you wanna try to write just 2… got confused the first time I used that too ;)

Last edited by zoeglingjulian (2005-09-11 01:13:40)

Offline

Board footer

Powered by FluxBB