Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-17 21:47:49

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

[plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

Just finished local testing the first version of bas YaTag and it would ne nice, if you can help testing!
The plugin has over 1000 lines of code… Possible there are some bugs you can help to find :)

Backend Demo
bas_yatag_01.txt
bas_yatag_01.zip

After you installed and activated the plugin, go to extensions tab and follow the instructions.
Also you have to upload all files contained in .zip to http://your-page.com/textpattern/lib/bas_yatag/

At the moment i have only access to a Firefox, so testing with other browsers would be nice!

Features

  • Clean URL’s : /tag=plugin/ loads articles tagged with plugin
  • Input and create tags an the fly with AJAX auto completer. Just type in tags separated by spaces
  • An extension helps to manage tags

Before use

Change your page and replace

 <txp:article />

by

<txp:bas_if_tag>
<txp:bas_articles_by_tag/>
<txp:else/>
<txp:article />
</txp:bas_if_tag>

Plugin’s help is not complete, but most tags and attributes are listed there.

Credits

bas YaTag contains:

Hope you find not much errors, but all :)

Udate

bas YaTag needs Textpattern 4.0.4

Bugs reported

  • Editing tags at extension could cause some error messages -> Bad
  • The tag field is not showing up in any case-> Very bad

Last edited by Bastian (2007-01-17 22:50:28)

Offline

#2 2007-01-17 21:53:16

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

Backend demo not working! :)

Z

Offline

#3 2007-01-17 21:58:51

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

Maybe the demo is not working, because linking to a localhost is not a very good idea :)
I fixed the link, thanks zanza

Offline

#4 2007-01-17 22:13:12

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

I also installed everything, but I can’t get the input tag field appear on write page.

The extension tab is on and working. I can add tag. But if I try to edit a tag I get this message:

—-
Notice: Undefined variable: list in /XXXXXX/XXXX/public_html/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 885

Warning: join() [function.join]: Bad arguments. in /XXXXXX/XXXXX/public_html/textpattern/lib/txplib_misc.php(512) : eval()’d code on line 885
——

Hope this may help.

Z

Offline

#5 2007-01-17 22:17:11

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

Thanks for the quick reply!

I also installed everything, but I can’t get the input tag field appear on write page.

Which TXP version do you use?

I will have a look at the edit option, but there is no error at my TXP. Neither local nor online. I’m using 4.0.4

Offline

#6 2007-01-17 22:34:14

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

Me too. 4.0.4. I suspected some other plugin could interfer with yours, and deactivated all admi plugin I could find. No luck. I used FF 2 and Safari.

But the error I get in the extension is normal?

Offline

#7 2007-01-17 22:37:47

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

But the error I get in the extension is normal?

No, but yet i did’t found it…

Does the demo work since i updated the link?

Offline

#8 2007-01-17 22:42:25

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

Yes the demo is fine. I tried also an installation on a 4.0.3 TXP, no luck. Maybe is some setting of mine that I can’t easily spot. Let’s hear for someone else. If it works, it’s me.

Thanks

Z-

Offline

#9 2007-01-17 22:51:31

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

Thank you Zanza. Maybe tomorrow there are some others…
Have a good night and i’m out…

Offline

#10 2007-01-18 00:37:54

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

This looks interesting.
I tried the backend Demo ( Unfortunately I don’t have time for testing now )
on Safari, and the AJAX works fine.

@bastian, would you allow me to ask, what has made your decision, to choose scriptacoulous over other frameworks, to implement this ?

I’d be interested.
( From a technical point of view )

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#11 2007-01-18 13:28:11

Bastian
Plugin Author
From: Wuppertal, Germany
Registered: 2005-02-02
Posts: 376
Website

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

I decided for script.aculo.us just because i know it better then i know the others :)

Some month ago i started to test some of well known frameworks(query, moo.fx, dojo etc.)

The main resons for scriptacoulous:

If I have a little time i will explore moo

marios, what do you use?

Last edited by Bastian (2007-01-18 13:29:07)

Offline

#12 2007-01-18 16:08:12

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: [plugin] [ORPHAN] bas_yatag - Yet another tagging plugin

I started experimenting with mootools, just recently. I saw that Christophes slimbox implementation was cute and pretty fast.
At the same time I started to make a small plugin ( 90% done ) for better image category sorting.
In the meanwhile I had this fancy Idea, that I wanted to pull in the exif data into the caption area of the slimbox popups. ( which I managed to handle as well using regular tags and some php includes and asy_wondertag )

As I started to think about it, I realized that the direct usage of the exif data pulled from the title attribute, doesn’t make much sense, since it is impossible to force linebreaks in any standard compliant and cross Browser way.

I then went on Safari again and searched all those things that you mention above and settled on mootools.
First because Christophes implementation was already at hand and second, because I found an extension from Graumeister called Extendtips, does already what I want.

I am intrigued to believe, that mootools is the most powerfull but also the most difficult, because it is so much abstracted towards 00.
( I try to learn from the docs and the examples also. The docs are excellent. )

Here are some very nice videos about the DOM, javascript from Douglas Crockford’s Presentations, that got released to the public.
( More that one hour to watch all three of them. Better go and grab your self some coffee before )
Then there is also the YUI
(Probably the most and best documented and supported one)

Watching those and trying to search my way through, I gained the impression that this last one could possibly be a DeFacto Standard in the Future.

However, I don’t understand any muchof these, but I want to learn.

Also of interest:
Aptana. Did you hear about Aptana? A new and powerfull IDE built ontop of Eclipse for authoring.

What you are trying to say above about scriptaculous makes sense to me (easier to learn?)
How would it compare to the Yahoo Approach in this regard ?

Javascript

regards, marios

( Good luck also with this plugin, I think this is terrific and very difficult work )

Last edited by marios (2007-01-18 16:22:46)


⌃ ⇧ < ⌃ ⇧ >

Offline

Board footer

Powered by FluxBB