+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Text Only Version of site

Text Only Version of site

4 posts, 0 answered
  1. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    22 Jan 2008
    Link to this post
    Hi

    a client has asked if they could have the functionality to view a text only version of the site

    would this come out of the box?

    how would i achieve this with sitefinity?

    thanks
  2. Nikifor
    Nikifor avatar
    232 posts
    Registered:
    18 May 2013
    23 Jan 2008
    Link to this post
    Hello Quade,

    Can you please give us a bit more information of what exactly your client wants to achieve. The exact implementation is not pretty clear and we cannot provide you with an answer or with a resolution without having more details about it.

    Looking forward to hearing from you.


    Kind regards,
    Nikifor
    the Telerik team


    Instantly find answers to your questions at the new Telerik Support Center
  3. Meister
    Meister avatar
    262 posts
    Registered:
    09 Nov 2007
    23 Jan 2008
    Link to this post
    Hi

    Accessibilty site usually have a TEXT ONLY VERSION link on every page, and when you click it, it gets rid of all the images etc, and just has large readable text

    here is an example
    http://www.thisislondon.co.uk/home/
    have a look at the bottom, it has a text only version link which loads this page
    http://www.thisislondon.co.uk/home/text/

    thats the type of functionilty i'm looking to implement

    thanks
  4. Tihomir
    Tihomir avatar
    53 posts
    Registered:
    24 Sep 2012
    24 Jan 2008
    Link to this post
    Hello Quade,

    We do not provide this option out-of-the-box but I think for your public websites built with Sitefinity you can easily achieve this using ASP.NET Themes. You will need to create 2 themes - 1 for your normal-looking website and 1 for the text-only version. Sadly, we do not have any built-in control to switch themes but this functionality can be achieved with Sitefinity with just a few steps:
    1. Create a new class in the App_Code folder that inherits from Telerik.Cms.Web.InternalPage and override the OnPreInit method. Enter your logic in this method to determine which theme to display.
      public class CustomPage : Telerik.Cms.Web.InternalPage  
      {  
          protected override void OnPreInit(EventArgs e)  
          {  
              base.OnPreInit(e);  
              this.Theme = Request.QueryString["theme"];  
          }  
      }  
       
    2. Replace the declaration of the InternalPage class with the name of your newly created class in the following file ~/Sitefinity/cmsentrypoint.aspx. The file should look like this:
      <%@ Page Language="C#" MasterPageFile="~/App_Master/Dummy.master" Inherits="CustomPage" %> 
       
    Hope this helps!


    Regards,
    Tihomir
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
4 posts, 0 answered