Reversing markup

#2
[eluser]gmask[/eluser]
Hey everyone, I actually decided to do something that I think works really well for this situation:

Rather than using a single field in the table for content, I decided to make two: content, and content_textile. That way I can use the content field for inserting and updating, and then process it with Textile for storage in content_textile. Then I just call the content_textile field in my views for display.

If anyone else is in the same boat I was, you might try out my solution. It's a little more work at first, but I think it's probably better in the long run.


Messages In This Thread
Reversing markup - by El Forum - 09-18-2010, 02:03 PM
Reversing markup - by El Forum - 09-18-2010, 05:44 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.