Hi
I'm building an application and i like the idea of what wymeditor does as it's not too much clustered with things i'm never going to use. I want to use a custom tag though and here's the scenario: i've got a table in my database which stored prices for products, now these prices are subject to change but i need to reference them within articles. I'm thinking of creating a <price> tag which will be used as follows:
....this product will cost you <price>11</price> if you buy it online...
where 11 is the id of the column from which to retrieve the price (not the price itself!).
This would give me the flexibility i need because when i'm going to change prices, it would be reflected in the article by looking up the latest value for the price from the database and replacing <price>11</price> with the current price. I hope you are getting the picture.
I'll probably let the users click on a button to select the item they want and inject the code (<price>11</price) into the html of wymeditor. That's going to go on the html source but when i go into visual i want the users to actually see the price. Is there a way of doing that?
Thanks.