Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] iOSC - mobile version of OSC on your iPhone


bumbarash

Recommended Posts

feel free to upload an updated version

 

Big thanks to PIXCLINIC for pointing out, investigating and repairing this bug

AJAX part didn't work correctly if you have quotes or space.

addslashes() added to categories_js.php in version 1.4

Link to comment
Share on other sites

Which file are you referring to to make these changes in ?

 

To upgrade from v1.2

To add AJAX support for categories:

1. Starting those lines

[code]
  require(DIR_MOBILE_INCLUDES . 'header.php');
  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);

till the end of the file replace with

require(DIR_MOBILE_INCLUDES . 'header.php');
  require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_DEFAULT);

  include(DIR_MOBILE_CLASSES . 'categories_js.php');

  $headerTitle->write($headerTitleText);
  ?>
  <!-- categories //-->
  <div id="iphone_content_body">
  <div id="iphone_content" style="position: absolute; width: 100%">
  <table id="categoriesTable" class="categories" width="100%" cellpadding="0" cellspacing="0">
  <?php
   foreach ($list as $item ) {
	   $path = tep_mobile_link(FILENAME_DEFAULT, 'cPath=' . $item['categories_id']);
	   $img = strlen($item['categories_image']) > 0 ? tep_image(DIR_WS_IMAGES . $item['categories_image'], $item['categories_name'], 30,30) : ' ';
	   print tep_mobile_selection($path, array($img, $item['categories_name']));

   }
  ?>
  </table>
  </div>
  </div>
  <!-- categories_eof //-->

 

2. Copy categories_js.php from v1.3 zip file to your mobile/include/classes

 

This is beta functionality and some people reported it's not working off-the-shelf.

Link to comment
Share on other sites

Fresh install getting this error, "Unable to determine the page link!", when accessing http://www.mysite.com/mobile/mobile.php through my PC browser of IE, Firefox, Opera or Chrome. I do have Ultimate SEO installed, but there is the define in the configuration below to disable it.

 

Here is the Configuration for the mobile directory

<?php
define('DIR_MAIN_HTTP_CATALOG', '/');
define('DIR_WS_HTTP_CATALOG', '/mobile/');
define('DIR_WS_HTTPS_CATALOG', '/mobile/');
define('DIR_WS_IMAGES', '../images/');
define('DIR_WS_INCLUDES', '../includes/');

define('DIR_MOBILE_IMAGES', 'images/');
define('DIR_MOBILE_INCLUDES', 'includes/');
define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/');
define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/');
define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/');
define('DIR_MOBILE_LANGUAGES', 'includes/languages/');

define ('MOBILE_IMAGE_WIDTH', '80px');
define ('MOBILE_IMAGE_HEIGHT', '80px');

define ('FILENAME_MOBILE', 'mobile.php');
define ('FILENAME_PRODUCTS', 'products.php');
define ('FILENAME_ABOUT', 'about.php');
define ('FILENAME_SEARCH', 'search.php');
define ('FILENAME_LANGUAGES', 'languages.php');

define ('SEO_ENABLED', 'false');
?>

 

 

Here is the Configuration from my site

  define('HTTP_SERVER', 'http://www.mysite.com/');
 define('HTTPS_SERVER', 'https://www.mysite.com/');
 define('ENABLE_SSL', true);
 define('HTTP_COOKIE_DOMAIN', 'www.mysite.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.mysite.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '');
 define('DIR_WS_HTTPS_CATALOG', '');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

 

Thanks in advance for any direction you can provide to get this contribution working.

Link to comment
Share on other sites

Hi, ive upgraded to the newest version and it looks great but im getting an error with categories_js.php

 

the source for my homepage is:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Atom Computers</title>
<meta name="viewport"
content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<style type="text/css" media="screen">
@import "includes/iphone.css";
</style>
</head>

<body>
<!-- header //-->
<div id="header">
<table width="100%" class="logo">
 <tr>

<td id="headerLogo"><a href="http://www.atom-pc.co.uk/mobile/index.php"><img src="../images/store_logo.png" border="0" alt="Atom Computers" title=" Atom Computers " width="25" height="20"></a></td>
<td align="right" class="midText"></td>
 </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="headerNavigation">
 <tr class="headerNavigation">
<td class="headerNavigation" id="headerShop"	  onclick="location.href='http://www.atom-pc.co.uk/mobile/index.php'"><a href="http://www.atom-pc.co.uk/mobile/index.php">Store</a></td>
<td class="headerNavigation" id="headerSearch"	onclick="location.href='http://www.atom-pc.co.uk/mobile/search.php'"><a href="http://www.atom-pc.co.uk/mobile/search.php">Search</a></td>
<td class="headerNavigation" id="headerAccount"   onclick="location.href='http://www.atom-pc.co.uk/mobile/account.php'"><a href="http://www.atom-pc.co.uk/mobile/account.php">Account</a></td>

<td class="headerNavigation" id="headerAbout"	 onclick="location.href='http://www.atom-pc.co.uk/mobile/about.php'"><a href="http://www.atom-pc.co.uk/mobile/about.php">About</a></td>
<td class="headerNavigation" id="headerLanguage"  onclick="location.href='http://www.atom-pc.co.uk/mobile/languages.php'"><a href="http://www.atom-pc.co.uk/mobile/languages.php">Languages</a></td>	
<!-- <td class="headerNavigation" id="headerLanguage" onclick="location.href='http://www.atom-pc.co.uk/mobile/index.php'"><a href="http://www.atom-pc.co.uk/mobile/languages.php"><img src="../includes/languages/english/images/icon.gif" border="0" alt="English" title=" English " width="24" height="15"></a></td> -->	
 </tr>
</table>
</div>
<!-- header_eof //-->
<!-- error msg -->
<div id="errorMsg">
</div>
<!-- error msg -->
<div id="mainBody">



<script language="javascript" src="includes/categories.js"></script>
<script type="text/javascript">
var catNav = new CategoriesNavigator('index.php', '

 

this leads me to belive the problem stems from something in categories_js.php here:

<script language="javascript" src="includes/categories.js"></script>
<script type="text/javascript">
var catNav = new CategoriesNavigator('<?php echo FILENAME_DEFAULT; ?>', '<?php $categoriesJS = new categoriesJS(); echo str_replace("\n",'',$categoriesJS->getText()); ?>');
function onWindowLoad(){
catNav.run();
}
window.onload=onWindowLoad;
</script>

 

any ideas?

 

thanks

 

chris

Edited by chris2403
Link to comment
Share on other sites

Hi, ive upgraded to the newest version and it looks great but im getting an error with categories_js.php

chris

Yes, it's most likely because of js files. AJAX functionality is in beta and doesn't seem to work out-of-box.

I'm kinda surpriced you are not getting any php warnings. Do you know version of php you running.

Also you could add this to your mobile/includes/application_top.php as first line

error_reporting(E_ALL & ~E_NOTICE);

and see if you get any warning messages

 

if this doesn't help, disable AJAX by removing

include(DIR_MOBILE_CLASSES . 'categories_js.php');

from our mobile/index.php and

include(DIR_MOBILE_CLASSES . 'about_js.php');

from mobile/about.php

Edited by bumbarash
Link to comment
Share on other sites

I'm having trouble getting this to work.

 

I've uploaded in my catalog folder straight from the download so i can only assume it is in my configure.php file.

 

Contents of my configure.php file

<?php
define('DIR_MAIN_HTTP_CATALOG', '/invest/');
define('DIR_WS_HTTP_CATALOG', '/mobile/');
define('DIR_WS_HTTPS_CATALOG', '/mobile/');
define('DIR_WS_IMAGES', '../images/');
define('DIR_WS_INCLUDES', '../includes/');

define('DIR_MOBILE_IMAGES', 'images/');
define('DIR_MOBILE_INCLUDES', 'includes/');
define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/');
define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/');
define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/');
define('DIR_MOBILE_LANGUAGES', 'includes/languages/');

define ('MOBILE_IMAGE_WIDTH', '80px');
define ('MOBILE_IMAGE_HEIGHT', '80px');

define ('FILENAME_MOBILE', 'mobile.php');
define ('FILENAME_PRODUCTS', 'products.php');
define ('FILENAME_ABOUT', 'about.php');
define ('FILENAME_SEARCH', 'search.php');
define ('FILENAME_LANGUAGES', 'languages.php');

define ('SEO_ENABLED', 'false');
?>

 

 

Have also tried

1. define('DIR_MAIN_HTTP_CATALOG', '/shop/');
2. define('DIR_MAIN_HTTP_CATALOG', '../shop/');
3. define('DIR_MAIN_HTTP_CATALOG', '/shop/mobile');
4. define('DIR_MAIN_HTTP_CATALOG', 'the_full_location_from_the_server_root');
5. define('DIR_MAIN_HTTP_CATALOG', 'http://mystore.com/shop/');

 

I have also tried turning on error display in application_top.php.

 

I get the same thing when navigating to index.php and mobile.php.

 

Any ideas anyone? Thanks.

Edited by quickshot12
Link to comment
Share on other sites

if your

 

define('DIR_MAIN_HTTP_CATALOG', '/invest/');

 

then you need to install the mobile application INSIDE your invest directory, NOT AT THE SAME LEVEL

 

I'm assuming what you have right now is:

 

www.yoursite.com/invest

 

www.yoursite.com/mobile

 

you need to have instead:

 

www.yoursite.com/invest

 

www.yoursite.com/invest/mobile

 

and reconfigure your mobile configure.php with the correct path that incudes "invest":

 

define('DIR_WS_HTTP_CATALOG', 'invest/mobile/');
define('DIR_WS_HTTPS_CATALOG', 'invest/mobile/');

Link to comment
Share on other sites

Yes, it's most likely because of js files. AJAX functionality is in beta and doesn't seem to work out-of-box.

I'm kinda surpriced you are not getting any php warnings. Do you know version of php you running.

Also you could add this to your mobile/includes/application_top.php as first line

error_reporting(E_ALL & ~E_NOTICE);

and see if you get any warning messages

 

if this doesn't help, disable AJAX by removing

include(DIR_MOBILE_CLASSES . 'categories_js.php');

from our mobile/index.php and

include(DIR_MOBILE_CLASSES . 'about_js.php');

from mobile/about.php

 

 

I just deleted the "reload stuff on the bottom of the pages I was having issues with....works perfectly now.

Except I still can't seem to disable payment methods that I don't want for mobile seeing as how most of them don't work properly.

I did add the paypal express and that works. I tryed the disable feature mentioned earlier in this forum but they still showed up anyways.

all in all super great addon thanks so much

Link to comment
Share on other sites

Hi, ive upgraded to the newest version and it looks great but im getting an error with categories_js.php

 

the source for my homepage is:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Atom Computers</title>
<meta name="viewport"
content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
<style type="text/css" media="screen">
@import "includes/iphone.css";
</style>
</head>

<body>
<!-- header //-->
<div id="header">
<table width="100%" class="logo">
 <tr>

<td id="headerLogo"><a href="http://www.atom-pc.co.uk/mobile/index.php"><img src="../images/store_logo.png" border="0" alt="Atom Computers" title=" Atom Computers " width="25" height="20"></a></td>
<td align="right" class="midText"></td>
 </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="headerNavigation">
 <tr class="headerNavigation">
<td class="headerNavigation" id="headerShop"	  onclick="location.href='http://www.atom-pc.co.uk/mobile/index.php'"><a href="http://www.atom-pc.co.uk/mobile/index.php">Store</a></td>
<td class="headerNavigation" id="headerSearch"	onclick="location.href='http://www.atom-pc.co.uk/mobile/search.php'"><a href="http://www.atom-pc.co.uk/mobile/search.php">Search</a></td>
<td class="headerNavigation" id="headerAccount"   onclick="location.href='http://www.atom-pc.co.uk/mobile/account.php'"><a href="http://www.atom-pc.co.uk/mobile/account.php">Account</a></td>

<td class="headerNavigation" id="headerAbout"	 onclick="location.href='http://www.atom-pc.co.uk/mobile/about.php'"><a href="http://www.atom-pc.co.uk/mobile/about.php">About</a></td>
<td class="headerNavigation" id="headerLanguage"  onclick="location.href='http://www.atom-pc.co.uk/mobile/languages.php'"><a href="http://www.atom-pc.co.uk/mobile/languages.php">Languages</a></td>	
<!-- <td class="headerNavigation" id="headerLanguage" onclick="location.href='http://www.atom-pc.co.uk/mobile/index.php'"><a href="http://www.atom-pc.co.uk/mobile/languages.php"><img src="../includes/languages/english/images/icon.gif" border="0" alt="English" title=" English " width="24" height="15"></a></td> -->	
 </tr>
</table>
</div>
<!-- header_eof //-->
<!-- error msg -->
<div id="errorMsg">
</div>
<!-- error msg -->
<div id="mainBody">



<script language="javascript" src="includes/categories.js"></script>
<script type="text/javascript">
var catNav = new CategoriesNavigator('index.php', '

 

this leads me to belive the problem stems from something in categories_js.php here:

<script language="javascript" src="includes/categories.js"></script>
<script type="text/javascript">
var catNav = new CategoriesNavigator('<?php echo FILENAME_DEFAULT; ?>', '<?php $categoriesJS = new categoriesJS(); echo str_replace("\n",'',$categoriesJS->getText()); ?>');
function onWindowLoad(){
catNav.run();
}
window.onload=onWindowLoad;
</script>

 

any ideas?

 

thanks

 

chris

 

 

I deleted this code from the bottom of my pages:

function onWindowLoad(){

catNav.run();

}

window.onload=onWindowLoad;

 

categories_js.php

about_js.php

 

and everything works fine now...I was getting error messages too, looked like it reload the page, the first load would work if I clicked it before it reloaded, after it reloaded then my buttons just sat there or on the about us page it would show me an error...

Link to comment
Share on other sites

This is Release v1.0 of iOSC - mobile version of OSCommerce for iPhone.

iOSC Mobile v1.0

 

It will allow navigating through your website frontend easily using mobile devices.

All standard pages were redesigned to fit 320x420 iPhone and iPod Touch screens.

Based of standard version of OSC v2.2

 

See live example at

http://zaramir.com/osc/mobile

 

 

Feedback is greatly appreciated

 

Andrey

I'm a little bit late but I installed your contribution on a fresh install of osC v2.2rc2a : no additions.

 

I get a 17" full screen size blank page ... After few hours looking at the code I need help !!!

 

http://***_***/iphone_catalog/

works OK

 

sub_directory of /iphone_catalog/ is /mobile/ (ftp'ed the whole stuff)

after modification of the first line of /mobile/configure.php is :

define('DIR_MAIN_HTTP_CATALOG', '/iphone_catalog/');
define('DIR_WS_HTTP_CATALOG', '/mobile/');
define('DIR_WS_HTTPS_CATALOG', '/mobile/');
define('DIR_WS_IMAGES', '../images/');
define('DIR_WS_INCLUDES', '../includes/');

define('DIR_MOBILE_IMAGES', 'images/');
define('DIR_MOBILE_INCLUDES', 'includes/');
define('DIR_MOBILE_MODULES', DIR_MOBILE_INCLUDES . 'modules/');
define('DIR_MOBILE_CLASSES', DIR_MOBILE_INCLUDES . 'classes/');
define('DIR_MOBILE_HEADERS', DIR_MOBILE_INCLUDES . 'headers/');
define('DIR_MOBILE_LANGUAGES', 'includes/languages/');
...

 

I just spotted that the application stopped just before loading the 4th line of /mobile/includes/application_top.php i.e.

 

...

require('../includes/application_top.php');

...

 

Help would be much appreciated !

Link to comment
Share on other sites

if your

 

define('DIR_MAIN_HTTP_CATALOG', '/invest/');

 

then you need to install the mobile application INSIDE your invest directory, NOT AT THE SAME LEVEL

 

I'm assuming what you have right now is:

 

www.yoursite.com/invest

 

www.yoursite.com/mobile

 

you need to have instead:

 

www.yoursite.com/invest

 

www.yoursite.com/invest/mobile

 

and reconfigure your mobile configure.php with the correct path that incudes "invest":

 

define('DIR_WS_HTTP_CATALOG', 'invest/mobile/');
define('DIR_WS_HTTPS_CATALOG', 'invest/mobile/');

 

...

define('DIR_MAIN_HTTP_CATALOG', '/iphone_catalog/');
define('DIR_WS_HTTP_CATALOG', 'iphone_catalog/mobile/');
define('DIR_WS_HTTPS_CATALOG', 'iphone_catalog/mobile/');

 

do'nt work either ...

Edited by dimitryous
Link to comment
Share on other sites

...

define('DIR_MAIN_HTTP_CATALOG', '/iphone_catalog/');
define('DIR_WS_HTTP_CATALOG', 'iphone_catalog/mobile/');
define('DIR_WS_HTTPS_CATALOG', 'iphone_catalog/mobile/');

 

do'nt work either ...

I'm assuming that your main site is located here:

http://www.mysite.com/iphone_catalog/index.php

and you added your added your mobile plugin inside of iphone_catalog

In this case your configurations will be

define('DIR_MAIN_HTTP_CATALOG', '/iphone_catalog/');
define('DIR_WS_HTTP_CATALOG', '/iphone_catalog/mobile/');
define('DIR_WS_HTTPS_CATALOG', '/iphone_catalog/mobile/');

Link to comment
Share on other sites

I'm assuming that your main site is located here:

http://www.mysite.com/iphone_catalog/index.php

and you added your added your mobile plugin inside of iphone_catalog

In this case your configurations will be

define('DIR_MAIN_HTTP_CATALOG', '/iphone_catalog/');
define('DIR_WS_HTTP_CATALOG', '/iphone_catalog/mobile/');
define('DIR_WS_HTTPS_CATALOG', '/iphone_catalog/mobile/');

 

Many thanks, but still a blank page.

The application bump out just before opening the 4th line of "http://www.mysite.com/iphone_catalog/mobile/includes/application_top.php"

i.e.

 

require('../includes/application_top.php');

//@TODO need to findout why it's missing $SID for cURL

...

 

Just before this 4th line I put

echo 'DIR_MAIN_HTTP_CATALOG= ' . DIR_MAIN_HTTP_CATALOG;

and I get the correct result :

DIR_MAIN_HTTP_CATALOG= /iphone_catalog/

 

I just do'nt understand as this is a fresh 2.2rca2 install ...

 

php 5.2.9 running on winXP with mySQL 5.0.27-community-nt and Apache/2.2.3 (Win32) PHP/5.2.9

 

Stange enough because http://www.mysite.com/iphone_catalog/index.php and related stuff is working perfectly !

 

Thanks for your advice on how to progress solving my setup ( the problem is that I ca'nt debug on this damn 4th line ...)

 

p.s. same diag with login.php or mobile.php or products.php ... the app is blocked by "require('../includes/application_top.php');" as I get my echo correctly ... I know that I ca'nt bypass first level application_top.php ...

Edited by dimitryous
Link to comment
Share on other sites

Hey all,

 

Great product. My hosting provider does not allow # in the url, therefore, <domain>/mobile/index.php#root does not work. However, <domain>/mobile/mobile.php does work. Is there anyway to use the index.php without the #root option?

 

Thx

Link to comment
Share on other sites

if your

 

define('DIR_MAIN_HTTP_CATALOG', '/invest/');

 

then you need to install the mobile application INSIDE your invest directory, NOT AT THE SAME LEVEL

 

I'm assuming what you have right now is:

 

www.yoursite.com/invest

 

www.yoursite.com/mobile

 

you need to have instead:

 

www.yoursite.com/invest

 

www.yoursite.com/invest/mobile

 

and reconfigure your mobile configure.php with the correct path that incudes "invest":

 

define('DIR_WS_HTTP_CATALOG', 'invest/mobile/');
define('DIR_WS_HTTPS_CATALOG', 'invest/mobile/');

 

 

Yeh i already already have it invest/mobile

 

I tried that as well (invest/mobile/) and have tried again, still blank page.

 

I have also removed

include(DIR_MOBILE_CLASSES . 'categories_js.php');

from the index file.

 

Any more help would be greatly appreciated.

Link to comment
Share on other sites

Hey all,

 

Great product. My hosting provider does not allow # in the url, therefore, <domain>/mobile/index.php#root does not work. However, <domain>/mobile/mobile.php does work. Is there anyway to use the index.php without the #root option?

 

Thx

 

Hi Senore!

 

The #root after whatever url around the web ( http://your_domain_dot_com/sub_domain/my_code.php#root )is just asking your browser to go to a reference called "root" in your web page. If this "anchor" (namely "root") exist, the browser load the entire page and step back to the point where the anchor is located. If the reference does not exist, just too bad, nothing happens!!! and you get your web page. Basic.

 

It is not a question of provider, it is question of browser.

 

What browser are u using by the way?

Link to comment
Share on other sites

Great product. My hosting provider does not allow # in the url, therefore, <domain>/mobile/index.php#root does not work. However, <domain>/mobile/mobile.php does work. Is there anyway to use the index.php without the #root option?

 

Yes, in your your mobile/index.php comment out this line

include(DIR_MOBILE_CLASSES . 'categories_js.php');

and in mobile/about.php comment this

include(DIR_MOBILE_CLASSES . 'about_js.php');

Link to comment
Share on other sites

Yeh i already already have it invest/mobile

I tried that as well (invest/mobile/) and have tried again, still blank page.

i think correct setting should be

define('DIR_WS_HTTP_CATALOG', '/invest/mobile/');
define('DIR_WS_HTTPS_CATALOG', '/invest/mobile/');

if it doesn't help please send me a link to your site

Link to comment
Share on other sites

The #root after whatever url around the web ( http://your_domain_dot_com/sub_domain/my_code.php#root )is just asking your browser to go to a reference called "root" in your web page. If this "anchor" (namely "root") exist, the browser load the entire page and step back to the point where the anchor is located. If the reference does not exist, just too bad, nothing happens!!! and you get your web page. Basic.

This is correct , but AJAX part (for sliding menues) relies on anchor sign (#). It allows to change url in browser without reloading the page.

IUI uses this approach and you could see example here

Link to comment
Share on other sites

Yes, in your your mobile/index.php comment out this line

include(DIR_MOBILE_CLASSES . 'categories_js.php');

and in mobile/about.php comment this

include(DIR_MOBILE_CLASSES . 'about_js.php');

 

and in mobile/account.php comment this line :

include(DIR_MOBILE_CLASSES . 'account_js.php');

 

in mobile/includes/header and in mobile/includes/iheader

replace

<title><?=TITLE?></title>

by

<title><?php echo TITLE; ?></title>

 

Thanks for all bumba this is a great contribution ... I will try to include imageMagick into your code ...

Link to comment
Share on other sites

Bumbarash/dimitryous,

 

It does the same thing in IE and Firefox. What is actually happening is that when I go to http://your.domain.com/mobile the header comes up with store, search, account, about, languages, however, I don't see the Catalog banner nor the Catalog content. It works in my tests at the house but when I put it on the site, I have this issue.

 

I can pm you guys the url so you can see what I am saying, if needed.

 

Also, on your site and in my tests, the advanced_search.php script is missing, which is causing 404 errors.

 

Thx

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...