I'm working on moving a website for a client that currently uses Wordpress and another CMS to manage their site.
I'm working on the transfer of the Wordpress blog pages just now and would like to know if anyone has successfully replicated the "More" tag that Wordpress has?
I've looked at truncating the Grid Text but that won't work as it will likely screw up the HTML. I've looked at using text-overflow CSS but I can see issues with that, and I've considered creating a summary field against my blog content type but I'd rather not have my client duplicate data if I don't need to, so any help here would be greatly appreciated.
One other thing I've considered is extending the RTE to include a button that writes out and then handling that via a bespoke RenderGridHtml partial but having never done this before I'm not too sure where to start.
Okay so I think what I'll do is use Umbraco.StripHtml from the UmbracoHelper class to strip out all the HTML then do a 100 substring or something along those lines.
Wordpress-style More Tag
I'm working on moving a website for a client that currently uses Wordpress and another CMS to manage their site.
I'm working on the transfer of the Wordpress blog pages just now and would like to know if anyone has successfully replicated the "More" tag that Wordpress has?
I've looked at truncating the Grid Text but that won't work as it will likely screw up the HTML. I've looked at using text-overflow CSS but I can see issues with that, and I've considered creating a summary field against my blog content type but I'd rather not have my client duplicate data if I don't need to, so any help here would be greatly appreciated.
One other thing I've considered is extending the RTE to include a button that writes out and then handling that via a bespoke RenderGridHtml partial but having never done this before I'm not too sure where to start.
Thanks in advance!
Anyone got any thoughts on this?
Okay so I think what I'll do is use Umbraco.StripHtml from the UmbracoHelper class to strip out all the HTML then do a 100 substring or something along those lines.
is working on a reply...