Textpattern Forum

You are not logged in. Register | Login | Help

#31 2007-04-26 16:35:51

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: wet_quicklink: Quick internal link builder

v0.4.1, no more trailing space after the link text

Offline

#32 2007-05-10 13:34:41

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: wet_quicklink: Quick internal link builder

Would it be possible for wet_quicklink to to grab individual links that have been added using the Links tab? Right now you can only output those links in a linklist, which really limits Txp’s link management abilities. Being able to get them into an article would be all kinds of awesome.


“Never attribute to malice that which can be adequately explained by stupidity.”

Hanlon’s Razor

Offline

#33 2007-05-10 13:39:23

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: wet_quicklink: Quick internal link builder

Please elaborate.

Would you like a list similar to the present list of articles, but containing all links w/ details, and upon hitting one of them the link would be inserted as what? inside one of the article’s input areas?

Offline

#34 2007-05-10 14:49:57

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: wet_quicklink: Quick internal link builder

I suppose it could be a wrapping tag or a single tag, similar to the way zem_link and <txp:permlink /> both function. I’m thinking “upm_image / upm_image_popper for links,” which is kind of what you’ve got going here anyway.

A more thorough description of what I have in mind is given here. Is such a thing possible?

I may be able to get the client in question to contribute money toward the effort, but they seem to be on a pretty tight budget.


“Never attribute to malice that which can be adequately explained by stupidity.”

Hanlon’s Razor

Offline

#35 2007-05-10 19:45:50

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: wet_quicklink: Quick internal link builder

So there’s two parts to this request: One plugin to read and output a link’s properties, plus a second one to inject this first plugin’s tag into an article. The first one is satisfyable with wet_linkinfo. This is fresh from the press, so please give it a spin and report back whether it suits your needs.

The second part, which would either require an extension to wet_quicklink, or a similar plugin just for the purpose of composing the article text, is a larger endeavour. I will think about it…

Offline

#36 2007-05-16 15:13:22

wolle
Member
Registered: 2006-05-04
Posts: 17
Website

Re: wet_quicklink: Quick internal link builder

Hi, thanks for this plugin, works great on one of my sites.
But I tried it now on an other installation/server (0.2 / 0.42) and there the linklist is empty all the time. The popup is displayed correct with a correct page-counter (for exampel 1/14) and the link-table-headers. But no links. So I tried to get the XML-output vom wet_peex with

http://mysite.tld/textpattern?wet_peex=article

an get the following output:

<textpattern>
− <pre>
Ein Fehler trat auf beim Laden des Plugins:
<b>wet_peex</b> ->
− <b>
User_Warning: You have an error in your SQL syntax near ‘offset 0’ at line 1
select * from textpattern where 1=1 order by Posted asc limit 20 offset 0 on line 84
</b>
</pre>
<articles count=“135” offset=“0” limit=“20”>
</articles>
</textpattern>

It says there is an error by loading the plugin wet_peex and/or in the SQL syntax.
I don’t know what to do, what is wrong!? Can someone help me?

Offline

#37 2007-05-16 16:34:55

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 755
Website

Re: wet_quicklink: Quick internal link builder

Hi

I’m not sure who to ask for help in fixing my problem, so to avoid double posting, I’ll start here :) I scanned previous posts, the help page, and the plug-in help but didn’t see an answer. My apologies if I overlooked something.

I installed wet_quicklink (and wet_peex) today. The new menu option did not show in the content-write tab. It occurred to me that perhaps it might be a conflict with zem_event. Disabling zem_event confirmed the conflict (the menu option for wet_quicklink showed up). Reabling zem_event caused wet_quicklink to disappear again.

I am hazzarding a guess that it may be a conflict from both plugins using jQuery. (I’m not well versed on javascript, though). It looks to me that wet_quicklink is pulling jQuery from the jQuery website, while zem_event is pulling from a version located in my textpattern installation.

Is the conflict “fixable”, and if so, what’s the best way to resolve it? Is it as simple as editing wet_quicklink to use the local install of jQuery?

Thanks

Mike

Last edited by maverick (2007-05-16 16:35:19)

Offline

#38 2007-05-17 15:37:23

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: wet_quicklink: Quick internal link builder

wolle wrote:

I don’t know what to do, what is wrong!? Can someone help me?

At first glance, there’s nothing wrong with that query. Please post your high-level diagnostics.

maverick wrote:

Is the conflict “fixable”, and if so, what’s the best way to resolve it?

I have just tried to install both zem_link and wet_quicklink and experienced no problems with Opera 9.20, Firefox 2 and IE7, all of them on Windows XP. What browser are you using?

Offline

#39 2007-05-17 17:09:42

wolle
Member
Registered: 2006-05-04
Posts: 17
Website

Re: wet_quicklink: Quick internal link builder

wet wrote:

At first glance, there’s nothing wrong with that query. Please post your high-level diagnostics.

Sure :-) – I just „cleaned“ the name with ##### and deleted the last lines with the release-numbers. I hope it containes everything you need:

Textpattern-Version: 4.0.4 (r1956)
Letzte Aktualisierung: 2007-04-30 18:11:45/2007-04-30 18:11:00
Document Root: /home/www/kunden/#####/pages (/home/ftp/kunden/#####/data)
$path_to_site: /home/ftp/kunden/#####/data/cms
Textpattern-Pfad: /home/ftp/kunden/#####/data/cms/textpattern
Schema der URLs: section_id_title
Temporäres Verzeichnis: /tmp
Seiten-URL: www.#####.de/cms
PHP-Version: 5.2.1
Register globals: 1
Lokale Serverzeit: 2007-05-17 18:55:53
MySQL: 3.23.49
Regionale Einstellungen: de_DE.UTF-8
Server: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.6c
Apache-Version: Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.6c
PHP Server API: apache
RFC-2616-Header: 
Betriebssystem des Servers: Linux 2.4.34
Aktive Plugins: fpx_image_import-0.3, glx_admin_image-2006.1, zem_ir-0.5, altum Email Obfuscator-1.1.2, upm_img_popper-1.3.4, Postmaster_library-0.1, chh_if_data-0.10m, rss_live_search-0.5m, rss_if_search_results-0.1, rss_admin_db_manager-4.3, swf_if_empty-0.31, upm_textile-0.2, upm_datetime-0.4, upm_category_image-0.4.8, jmc_event_manager-0.2 beta, zem_contact_reborn-4.0.3.17m, zem_contact_lang-4.0.3.03m, chh_article_lib-1.04, chh_flipflop-1.01, nhn_typotuner-0.1, rss_admin_show_adv_opts-0.3, bas_img_selector-0.7, chh_article_custom-1.15, bas_lightbox_lang_de_de-0.1m, bas_lightbox-0.4, rss_suparchive-0.18, rss_posted-0.1, ako_ifBrowser-0.2, upm_image-0.6, rss_pluginstaller-0.1, gho_alternation-2006.1a, wet_peex-0.2, wet_quicklink-0.4.2, Postmaster-0.3

Inhalt der .htaccess-Datei: 
------------------------
DirectoryIndex index.php index.html
Options +FollowSymLinks
RewriteBase /cms

<IfModule mod_rewrite.c>
 RewriteEngine On
 RewriteCond %{REQUEST_FILENAME} -f [OR]
 RewriteCond %{REQUEST_FILENAME} -d
 RewriteRule ^(.+) - [PT,L]

 RewriteRule ^(.*) index.php
</IfModule>

#php_value register_globals 0

------------------------

Charset (default/config): latin1/latin1
character_set: latin1
character_sets: latin1 big5 cp1251 cp1257 croat czech danish dec8 dos estonia euc_kr gb2312 gbk german1 greek hebrew hp8 hungarian koi8_ru koi8_ukr latin2 latin5 swe7 usa7 win1250 win1251 win1251ukr ujis sjis tis620
21 Tables: OK

PHP-Erweiterungen: xmlwriter/0.1, libxml, xml, tokenizer/0.1, session, SimpleXML, SPL, PDO, standard/5.2.1, Reflection, posix, pdo_sqlite/1.0.1, SQLite, mysql/1.0, ldap, json/1.2.1, imap, iconv, hash/1.0, gettext, gd, ftp, filter/0.11.0, dom/20031129, date/5.2.1, curl, ctype, bz2, bcmath, zlib/1.1, pcre, openssl, xmlreader/0.1, apache, Zend Optimizer

Apache-Module: http_core, mod_env, mod_log_config, mod_log_agent, mod_log_referer, mod_mime, mod_negotiation, mod_status, mod_include, mod_autoindex, mod_dir, mod_cgi, mod_asis, mod_imap, mod_actions, mod_userdir, mod_alias, mod_access, mod_auth, mod_cern_meta, mod_so, mod_setenvif, mod_ssl, mod_proxy, mod_rewrite, mod_php5


pretext_data: array (
  'id' => '',
  's' => '',
  'c' => '',
  'q' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/cms/5f50c0fb39380b37fff5ebc749fa2b99/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/cms\\/',
  'req' => '/5f50c0fb39380b37fff5ebc749fa2b99/?txpcleantest=1',
)

Thanks for your help!

Last edited by wolle (2007-05-17 17:11:03)

Offline

#40 2007-05-17 17:31:54

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,108
Website

Re: wet_quicklink: Quick internal link builder

MySQL: 3.23.49.

DBMS Jurassic Park…

Please grab a SQL entry field (phpMyAdmin or anything else) and issue these three queries:

select * from textpattern where 1=1 order by Posted asc limit 20
select * from textpattern where 1=1 order by Posted asc limit 20 offset 0
select * from textpattern where 1=1 order by Posted asc limit 0,20

Please report back which one succeeds or fails.

Offline

Board footer

Powered by FluxBB