Setup Advice for non techie

21 views
Skip to first unread message

ChristineR

unread,
Nov 10, 2010, 1:57:34 PM11/10/10
to mobilecat
I downloaded and took a stab at installing and configuring the
mobilecat code on a Windows 2003 server. PHP is installed and working
as well as Apache although I have very little experience with PHP
Apache web server management. I tried following the instructions for
setup but I think I'm missing some things. I'm not sure how to set up
the .htaccess file and redirect to a new mobilecat URL. I'm also not
sure if my Base URL in the siteparse file are correct. It would be
helpful to see the files of a catalog that works.

Thanks,
Christine Rigda

Systems Librarian
Carlson Library Mail Stop #509
University of Toledo
Toledo, Ohio 43606-3390
419.530.2333
christi...@utoledo.edu

Amy Deschenes

unread,
Nov 10, 2010, 2:30:57 PM11/10/10
to mobi...@googlegroups.com
Hi Christine-

I have setup the Simmons instance of MobileCat on a Windows 2003 server as well.  I've attached my SiteParse.php file here.

Have you installed the proper PHP extensions?  You have to make sure you have the right version of the extensions installed in order for MobileCat to work properly.  You should have a phpinfo page on your server that you can launch to see the details about your PHP setup.  Here is info about the phpinfo page setup: http://kb.mediatemple.net/questions/764/How+can+I+create+a+phpinfo.php+page%3F

The addtional pieces you need are the simpledom parser (can be found here http://simplehtmldom.sourceforge.net/), the PECL extension, and the SmartyTemplates.  This is a good overview of setting up the PECL extension in Windows.  http://www.iis-aid.com/articles/how_to_guides/enabling_php_pecl_extensions_for_windows You have to make sure you have installed the correct version of PECL, that corresponds with your version of PHP (you can find your version of PHP via the phpinfo page I mentioned above.  The PECL extension for Windows can be downloaded from here http://downloads.php.net/pierre/

All I had to do with the SmartyTemplates was copy the "Smarty" folder into my MobileCat directory

Could you explain a bit more about how much you've setup?  Do you have a working URL for your instance of MobileCat?

Hope this helps.
Thanks
Amy
--
Amy Deschenes
Library Technology Specialist
Simmons College Library
Boston, MA 02115


SiteParse.php

Amy Deschenes

unread,
Nov 15, 2010, 4:50:48 PM11/15/10
to mobi...@googlegroups.com
Hi All-

I have a slightly off-topic question, but I thought someone on the list might be able to point me in the right direction, since we're all familiar with III.

Before we're able to launch MobileCat we want to setup mobile access to the e-resources we subscribe to that have mobile interfaces. This would require someone to login through the catalog.

I want to have a mobile specific stylesheet in my \screens folder that will load automatically if a browser < 480px is detected. This way the login page will be 'mobile-friendly.'

I've tried using the 'media' tag in my CSS call (so this way http://www.vcarrer.com/2010/07/bulletproof-css3-media-queries.html ) and a couple of JS. I wasn't sure where to put the extra stylesheet. Here's a laundry-list of what I've tried:

- Inserting a second "Stylesheet" wwwoption
- Adding the stylesheet directly into the p_verify.html
- Adding an onload js to the p_verify.html that detects user_agent (similar to what Wittenberg U uses)
- Putting both stylesheet calls into a single "Stylesheet" wwwoption - this was the only thing that actually worked in most browsers, but didn't work in IE.

Does anyone have thoughts on how this might be accomplished in III?

Reply all
Reply to author
Forward
0 new messages