You are not logged in.
Hi,
in a desparate need for a version of zem_link which integrates all the modifications proposed in this thread I have thrown together a full featured bells’n‘whistles version of it. Help mangeled in from Threshold State site, patches applied, tiny kind of runtime error reporting added via tool tips.
No one ever after should be forced to read the code, despite its beauty ;-)
Grab it here for at least a while. If that offends someone, most probably the author, just shout out. I will surrender then.
BTW: This should really be integrated into some “Textile for Textpattern” as it reintroduces tags to the content authors. Who should not see tags, IMHO, but Textile markup.
I’d prefer Textile to process markup like that
"Article Link" ::article-id
"Internal Link" :>link-id
or whatever syntax sounds useful…
//w&
Last edited by wet (2005-11-27 06:51:38)
Try wet_quicklink | Me | @rwetzlmayr | +Robert Wetzlmayr | Repos
Offline
Thanks, that works a treat….. I agree with you on the textile thing too, would be much nicer
Offline
What would be even nicer is this:
A “Link to article” option in the Write tab. When selected, this would present a pop-up with a list of all articles, sortable by category, section, date etc. Each article title would be a link which, when clicked, would produce a textile tag which could then be used to link to the selected article.
Anyone know if this is already a feature request? I couldn’t find it so I’m thinking I’ll raise it… Or give me a couple of years and I’ll figure out how to code a plugin….. :)
Last edited by marvincooper (2005-07-24 17:46:44)
Offline
marvin, you have the exact same requirement as me it seems. Maybe requesting it as a feature is the way to go? I know creating links in the content > write page is simple but I have clients who dont want (and don’t need) to learn HMTL.
I’m already using Mary’s excellent upm_img_popper (http://textpattern.org/plugins/393/upmimgpopper) which does for images what I (and you, I think) want to do with article links. Rather cheekily I did pose the request to her to make “upm_link_popper” but maybe it’d be better as a feature request.
I haven’t seen anything similar in my trawl of plugins and tutorials unfortuanately…
(Thanks to Wet for alerting me to this thread)
TT
Offline
i use rc5 and plugin zem_link doesnt work.
Notice: Undefined index: permlink in /home/ivorius.com/ivorius.com/textpattern/lib/txplib_misc.php(429) : eval()‘d code on line 26
Notice: Undefined index: permlink in /home/ivorius.com/ivorius.com/textpattern/lib/txplib_misc.php(429) : eval()‘d code on line 26
Notice: Undefined index: permlink in /home/ivorius.com/ivorius.com/textpattern/lib/txplib_misc.php(429) : eval()‘d code on line 26
What is this?
Project: Textpattern with Texy
Job: Webdesign
Offline
ivorius: please see this thread for information on what the notices mean.
You cooin’ with my bird?
Offline
Offline
I just installed the update, and have one (hopefully) minor request: could rel be added to the list of optional attributes? It would make it a lot easier to do things like rel=“bookmark” or rel=“nofollow.”
Textpattern Community Member since 2004-02-23 | World Headquarters
Offline
Oh, how I hate that minor tasks, I’d love to do something important ;-) But, I guess someone’s gotta do it.
So as of today’s version 0.3.2, which can be fetched from the already known interim location, zem_link will listen to your wishes according to rel, id, and name as well. I’ve sweeped over w3.org’s definition for the <a> tag and did not implement any other attributes. By purpose.
Also I’ve reduced testing in favour of delivery speed. Mind your step.
hth,
//w&
Last edited by wet (2005-09-16 05:20:56)
Try wet_quicklink | Me | @rwetzlmayr | +Robert Wetzlmayr | Repos
Offline