How .to configure .for iPad

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
3/10/2011 8:30:11 AM
Gravatar
Total Posts 11

How .to configure .for iPad

How do I configure mojoPortal to allow posting to the blog and forums using an iPad? None of the editors appear when attempting blog or forum entries. I have to revert to using the Netbook PC. Even with the JavaScript update in iOS 4.3, it still doesn't work with an iPad. Regards, Colin Begg
3/10/2011 9:30:32 AM
Gravatar
Total Posts 18439

Re: How .to configure .for iPad

Unfortunately no wysiwyg editors currently work in iPad, so we use a textarea. Some users use a separate ipad app html editor and then copy paste it into the textarea.

http://www.ipadforums.net/ipad-help/6685-wysiwyg-editor-not-working-my-ipad.html

http://stackoverflow.com/questions/5023510/ipad-compatible-html-wysiwyg-editor

Hopefully someday a solution will emerge for this.

Best,

Joe

 

3/10/2011 12:53:43 PM
Gravatar
Total Posts 11

Re: How .to configure .for iPad

To test this theory of yours, I went to the website of each of the editors you support in turn and found that the FCKEDITOR demo was the only one which worked. Full of hope, I came back to my site and selected it for my user. It still didn't work in the blog or forum. It does when I'm on a PC. Do you mean you enforce text area when you check the browser type? Try fckeditor on your iPad, it works on mine. Cheers, Colin Begg
3/10/2011 12:57:51 PM
Gravatar
Total Posts 18439

Re: How .to configure .for iPad

Add this to your user.config

<add key="ForcePlainTextInIpad" value="false" />

then touch web.config to make it reload settings.

Let me know if it works for real and you can actually edit, but I will be surprised if it really works. 

Best,

Joe

3/11/2011 4:13:01 AM
Gravatar
Total Posts 11

Re: How .to configure .for iPad

Yes, that works with Fckeditor. I may try the others at lunchtime. The ckeditor demo site threw me off beceaue I was an iPad but it may be that the JavaScript update in iOS 4.3 might make them all work. I'll report back.

I may have been a bit premataure. Yes, the editor displays, but not all of the functions seem to work. I'll play around aat lunchtime (I'm working!) and get back.

Regards, Colin

3/11/2011 12:07:19 PM
Gravatar
Total Posts 18439

Re: How .to configure .for iPad

It isn't going to work with FCKeditor, it does show on the screen but it doesn't see it as an input so no keyboard is available.

After some googling I did find something that is a little better than a plain text area, it isn't a wysiwyg but it is an editor for html that just decorates an existing textarea with some javascript that is helpful for editing html.

http://markitup.jaysalvat.com/examples/html/

If you try to make a forum post here on this site with ipad you will see it. I also enabled it for iphone and android by default but it isn't as good on those smaller screens. But it isn't bad for ipad, it is definitely better than a plain textarea in my opinion.

So this will be in the next release of mojoPortal and will make it a little more ipad friendly.

Best,

Joe

3/12/2011 4:27:34 PM
Gravatar
Total Posts 11

Re: How .to configure .for iPad

Testing HTML editor

I see the image is only from the web , but this could be from my own site's media
  • So thanks for this Joe. As you say, better than a textarea which always merges paragraphs unless you insert your own HTML
  • 3/12/2011 5:10:56 PM
    Gravatar
    Total Posts 18439

    Re: How .to configure .for iPad

    Hi Colin,

    These changes are so far only in the source code repository. If you've updated your site to a build you made yourself from the source code repository, then, add this to your style.config:

    <file cssvpath="/ClientScript/markitup/skins/html/style.css" imagebasevpath="/ClientScript/markitup/skins/html/">none</file>

    also not related to that change but to other changes you should add this to style.config:

    <!-- choose one of these for colorbox used in the Image Gallery -->
      <!--
      <file cssvpath="/ClientScript/colorbox/colorbox.css" imagebasevpath="/ClientScript/colorbox/">none</file>
      <file cssvpath="/ClientScript/colorbox/cb_mojo_dark1.css" imagebasevpath="/ClientScript/colorbox/">none</file>
      <file cssvpath="/ClientScript/colorbox/cb_mojo_light1.css" imagebasevpath="/ClientScript/colorbox/">none</file>
      <file cssvpath="/ClientScript/colorbox/cb_mojo_light2.css" imagebasevpath="/ClientScript/colorbox/">none</file>
      -->
      <file cssvpath="/ClientScript/colorbox/cb_mojo_dark1.css" imagebasevpath="/ClientScript/colorbox/">none</file>
     
      <file cssvpath="/Data/style/styleautocomplete.css" imagebasevpath="/Data/style/">none</file>

    and add this to your theme.skin file:

    <portal:mojoTreeView runat="server" SkinID="SiteMapPage"
       ContainerCssClass="sitemap"
       RootUlCssClass=""
       RenderLiCssClasses="false"
       RenderAnchorCss="true"
       LiCssClass=""
       LiRootExpandableCssClass=""
       LiRootNonExpandableCssClass=""
       LiNonRootExpnadableCssClass=""
       LiSelectedCssClass=""
       LiChildSelectedCssClass=""
       LiParentSelectedCssClass=""
       AnchorCssClass=""
       AnchorSelectedCssClass=""
       ExpandDepth="-1"
       ShowExpandCollapse="false"
       PopulateNodesFromClient="false"
     
      />
     
      <portal:mojoTreeView runat="server" SkinID="ChildSiteMap"
       ContainerCssClass="sitemap"
       RootUlCssClass=""
       RenderLiCssClasses="false"
       RenderAnchorCss="true"
       LiCssClass=""
       LiRootExpandableCssClass=""
       LiRootNonExpandableCssClass=""
       LiNonRootExpnadableCssClass=""
       LiSelectedCssClass=""
       LiChildSelectedCssClass=""
       LiParentSelectedCssClass=""
       AnchorCssClass=""
       AnchorSelectedCssClass=""
       ExpandDepth="-1"
       ShowExpandCollapse="false"
       PopulateNodesFromClient="false"
     
      />

    Best,

    Joe

    You must sign in to post in the forums. This thread is closed to new posts.