Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Custom Tags starting with <$: lots of problems

New Here ,
Jun 25, 2006 Jun 25, 2006

Copy link to clipboard

Copied

I'm building an extension for MovableType template tags. Those tags can be delimited in several ways: <MTNameOfTheTag> or <$MTNameOfTheTag> or even <$MTNameOfTheTag$>. Since the dollar sign is not allowed as tag name, i put a prefix="&lt;$" in tag definition, but now i have some problems:

1. even if in tag chooser i can see the dollar-prefixed tags, i cannot see them in code hints (I mean "automatic" code hints, those floating menus automatically made for every tag/every attribute/every enumerated attriboption in library).
2. I tried to manually code tags in codehints.xml file with the "&lt;$ pattern (so i can change the icon associated to my custom tags, too. That's will be very elegant) but I loose "child" codehints menus: the first codehints menu (the one i manually made) comes up, but those for attributes and attributes values don't.
3. With the solution in point 2 not only i loose "automatic" codehints, but i have to write THREE files for every tag (taglibrary, codehins, third party tags file). Lot of time :/
4. Dollar signs, in both start and end, are NOT part of the name, but part of the tag, like a prefix or a suffix. With an attribute i should have:

<$MTBlogName donald="goofie"$>

and not:

<$NTBlogName$ donald="goofie">

as actually i have

so, as i said...a lot of problems! i hope someone can help me...its really an hard sunday, today! :/

tnx in advance
TOPICS
Extensions

Views

407
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 27, 2006 Jun 27, 2006

Copy link to clipboard

Copied

I think you might be moving into creating your own server model.

Just a thought.

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 27, 2006 Jun 27, 2006

Copy link to clipboard

Copied

LATEST
uhm...perhaps its the onl solution possible....tnx for answer! 🙂

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines