Sunday, July 02, 2006

Yahoo and Store Hosting

So I'm working with someone in creating a store and ran into a small problem. My file was working fine, until I decided to add an include file. For those of you who don't know, an include file, is a chunk of html code that you can use over and over again within your pages by simply calling the include function. In php this code looks like:

    < include(filename.inc) ? >


So I call text support and right off the bat Roy tells me "I'm sorry, but Yahoo support doesn't offer php or html support." I tried to remain calm, as this is clearly not a php issue, but instead an issue with the fact that although we purchase a php hosting solution, Yahoo Store Tags just don't work with a filename that has an extension of php.

Roy offered to send me some informational text via email that "was going to help fix my issue", I promptly offered him my email address and cordially said goodnight. A few minutes later I receive an email from the tech support team, I eagerly opened it to find out a document stating that which the Tech Support ID10T had just explained, "Yahoo does not offere HTL, PHP, MYSQL, or Perl support. You can learn more by visiting... some Yahoo half ass link."

After getting over my frustation with Yahoo, I came across a wonderful forum post, which promptly offered all the help I needed.

To save you the trouble of reading the solution, here it is:
  • Go to the table editor in your catalog manager section. Edit the default table and add a custom field. Give it a name like MyHeader, then give it a type of big-text and don't require it. Save the table.

  • Now, go into your catalog and create a new item. Call it say "htmlholder". Fill out the required fields, make it unorderable and untaxable, and put the contents of the file you wanted to include in the MyHeader field

  • Save the item and publish the changes to your catalog

  • In the HTML file you'll use on the site, use the following store tag... ystore_catalog id=htmlholder field=MyHeader format=html -->


  • The bottom line is that although there are a lot of hosters out there, this time we decided to use one with a big name to avoid the hastles of dealing with a smaller Web hoster. Unfortunately, it seems that just because you are a big corporation doesn't mean you operate as such. True to the hosting, we were able to find a half ass solution for a half ass hoster.
    Digg This Del.icio.us Slashdot

    0 Comments:

    Post a Comment

    Links to this post:

    Create a Link

    << Home