Topic: phpShop 0.8.1 Released

July 4, 2007 - phpShop 0.8.1 Released: phpShop 0.8.1 released with many bug fixes.  This version also patches a couple of security issues identified previously by the user community.  A specific set of changes follow:

Must Know
* Directory structure has been updated.  Now phpshop is installed directly inside the web folder.
* A new WEB-INF folder is where all phpshop library files are stored in.
* The WEB-INF folder should be protected from outside.
* .htaccess file to restrict access.

Fixes and Other
* Fixed security hole in reset_lost_password.ihtml of the shop module.
* Fixed database error when adding new category.
* Fixed language file selection error.
* Fixed category browsing bug.
* Fixed image uploads.
* Fixed csv import.
* Fixed image update error.
* Fixed category change error when updating a product.
* Replaced WYSIWYG editor with TinyMCE

Please see the ChangeLog for the full list of changes.

Re: phpShop 0.8.1 Released

I'm testing out phpshop for the first time.  It appears that this release is not complete.  The installation instructions refer to an "htdocs" directory, which I could not find in this 0.8.1 package, but I did find it in the 0.8.0 package.

Re: phpShop 0.8.1 Released

Thanks for the heads up.  I have updated the distribution with the correct installation instructions.  You can download it again to get the updated version.

Thanks.

Re: phpShop 0.8.1 Released

Hi,

I downloaded a copy of phpshop. I would like to know whether you have a nice tutorial which explains everything from installation, .htaccess protection, admin rights, user rights, database installation, etc. There is a link called manual on your site, but it is not working. Hence can you please help in this regard?

Re: phpShop 0.8.1 Released

Please check the "Manual"  once again.  I have updated it with more information on getting help for using phpShop. Thanks.

Re: phpShop 0.8.1 Released

Hi,

Where exactly is this manual? I have tried reading the txt files in the docs folder, and I could get the cart installed on my server. But what next? How do I customize the cart and integrate it with my design? And how do I edit those .ihtml files? I am a newbie to this stuff. can you please help?

Last edited by effectwave (2007-10-18 14:15:02)

Re: phpShop 0.8.1 Released

effectwave wrote:

Hi,

Where exactly is this manual? I have tried reading the txt files in the docs folder, and I could get the cart installed on my server. But what next? How do I customize the cart and integrate it with my design? And how do I edit those .ihtml files? I am a newbie to this stuff. can you please help?

Try the following link: http://trac.phpshop.org/wiki/UserGuide1

Also, take a look at the FAQ thread in the forums:  http://forums.phpshop.org/viewtopic.php?id=3995

Cheers.

Re: phpShop 0.8.1 Released

Hi,

I am really having a hard time editing these iHTML files. I tried to tweak my Dreamweaver MX so that iHTML files get recognized, but to no avail. I found a link where I did find some help, but it was not complete. Here is the link: http://www.ihtml.com/support/editor/editor_support.html . In this explanation the file "ihtml_tags.xml" is not opening properly. Can you please email the code for this file at info@effectwave.com?

Without this how else would you suggest I edit these files? On your homepage you have said that it is compatible with Dreamweaver, but I am not able to edit these iHTML files. Can you please help?

Last edited by effectwave (2007-10-19 13:52:16)

Re: phpShop 0.8.1 Released

All you need to do is add .ihtml  to the list of files that Dreamweaver recognizes. 

See http://kb.adobe.com/selfservice/viewCon … ;sliceId=2

You need to follow the instructions very carefully. 

I do not know anything about the ihtml_tags.xml file.  Please ignore this.

Thanks.

Re: phpShop 0.8.1 Released

Hi,

Thanks for the link Pablo. It did help me quite a bit. Now I am able to edit ihtml files in Dreamweaver. I did go through the module files to make changes to the look of the store. However it is a lot of trial and error before you get something right. For example how do I change the width of the main table from 100% to 50%? It would be great if there is a document which helps in customization and changing the layout and design.

Re: phpShop 0.8.1 Released

Also, what if you want to add new pages to the store. For example Contact, About us, etc. How do I do that? In short I would like to add new pages and alter the top and side menu. Is there a simple way to achieve this?

I also want to know how to add new modules. I tried adding a new test module through the Admin section, gave it the appropriate permissions but it doesn't show up in the actual store. Can you please explain that?

Last edited by effectwave (2007-10-21 10:09:57)

Re: phpShop 0.8.1 Released

I'm no expert, but i've been hacking phpShop for over a year now (about 10 sites that don't even resemble the original anymore).

concerning the Contact/About Us additions.

i've found that the best route is to keep it simple, but stick to what's already there.  this may be overkill, but it works.

you've already got a database to house the content - use it.  copy the shop/ directory completely to a new folder called contactus or whatever.  create a new category in the products list called contactus - leave it unpublished.  add a product under it called contactus, and put in the content you wish to have appear - leave it published.  in the contactus/html folder you copied, edit the index and browse IHTML files to strip out the functions you don't need (like the Add To Cart buttons and pricing displays and such).  change the format of the content as desired as well.  here's the trick - don't have it SELECT data based on values passed in, but hardcode it to pull the products listed under the unpublished "contactus" category instead, either by category_name or category_id.  all you really have to change is the SELECT statement - you can keep the display and navigation mechanisms the same.  also, update the menu file to reflect what you'd like to be there or not.  finally, as Administrator, you have create a new module based on exactly that of the existing "shop" module, changing what need to be changed to reference the "contactus" folder.

to integrate into the rest of the site, edit the template/s_header.ithml file and add the link to the nav bar across the top, formatted just like the Home link, but using contactus instead.

as a note, you can also copy the s_header and s_footer template files to new templates (contact_header and contact_footer for example) and reformat those temlates as well, further changing the look of the contactus section.  you'll need to specify the new templates when you create the new module as well.

works like a charm, and you end up with a more powerful CMS system out of the deal.  playing with the template and contactus ihtml files, you can change the layout and display features for just that section without affecting the rest of the site.

i typed these instructions up quickly, so there may be some vague references, but poke around, and respond if you need something clarified.

Re: phpShop 0.8.1 Released

Hi my name's Marco.
I'm new here.I wanna try PHP SHOP and I'm looking a tutorial to install in easy way the script.
I've just tryed to download the Guide at this link: http://www.devshed.com/Server_Side/PHP/ … page2.html , but don't work.
Please anybody can help me.
My mail is : marcogarini@tiscali.it and my Msn's : m.garini@inetco.it.
Cheers by Marco.