VirtueMart - 1.0 Betriebsanweisung

Stöbern Sie online oder laden Sie Betriebsanweisung nach Datenbanksoftware VirtueMart - 1.0 herunter. VirtueMart - 1.0 Developer's Guide Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 19
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
VirtueMart Developer Manual
Soeren Eberhardt(www.virtuemart.net [http://www.virtuemart.net])
Copyright © 2005 Soeren Eberhardt
This document is published under the Open Content License available from
http://www.opencontent.org/opl.shtml [http://www.opencontent.org/opl.shtml]
Revision History
Revision 1.1 November 21, 2005 soeren_nb
Update for VirtueMart
Revision 1.0 June 29, 2005 soeren_nb
Initial Release (mambo-phpShop v1.2 stable-pl3)
Table of Contents
1.Preambel..............................................................................................................................1
2.Introduction..........................................................................................................................1
3.Basics..................................................................................................................................3
4.ModifyingtheLayout ............................................................................................................. 12
5.CreatingormodifyingExtensions ............................................................................................. 13
6.AbouttheProject ................................................................................................................... 18
1. Preambel
The content of this document is related to VirtueMart.
VirtueMart is free Software, licensed under GNU/GPL; VirtueMart [ http://www.virtuemart.net ]
Conversion to Joomla and much more: © 2005 Sören Eberhardt
The Software 'VirtueMart' is intended for use in Joomla and Mambo (version 4.5.1 and 4.5.2.x). Joomla or
Mambo are required for running VirtueMart.
(Joomla / Mambo is free Software, licensed under GNU/GPL)
The abbrevation VM, which stands for VirtueMart is used in this document.
2. Introduction
2.1. History
VM has its roots in a Shop Script called phpShop. This script was developed by Edikon Corp. and the phpShop
community (see www.phpshop.org [http://www.phpshop.org]).
VM was forked from phpShop version 0.8.0 at the end of the year 2003. It was maintainend and developed un-
der the name Joomla-phpShop until September 2005. In October 2005it was renamed to VirtueMart.
1
Seitenansicht 0
1 2 3 4 5 6 ... 18 19

Inhaltsverzeichnis

Seite 1 - VirtueMart Developer Manual

VirtueMart Developer ManualSoeren Eberhardt(www.virtuemart.net [http://www.virtuemart.net])Copyright © 2005 Soeren EberhardtThis document is published

Seite 2 - 2.2. Differences to phpShop

Figure 1. Entitiy Relationship DiagramVirtueMart Developer Manual10

Seite 3 - 3. Basics

3.5. Database AccessVM uses its own database access class for dealing with the database.The database class file is/administrator/components/com_virtue

Seite 4

• jos_users contains BillTo Address Information• jos_vm_user_info contains ShipTo Address Information (when the customer has added ShipTo Ad-dresses)•

Seite 5 - 3.2. Main Flow Chart

Browse (or product listing) templates can be found in /html/templates/browse/.They are loaded and filled with content in the file /html/shop.browse.ph

Seite 6 - Variables

5.1. Payment ModulesThere are two general types of payment modules in VM:• automatic credit card processors which do server-to-server communication be

Seite 7

CautionThe code inside this form MUST BE VALID! If you use PHP code, check if you have written correctcode that can be parsed!5.1.2. Digging deeper: T

Seite 8

false if notboolean configfile_writeable( void )returns true if the configuration file for that payment module is writeable,false if notboolean config

Seite 9 - 3.4. Database Structure

You must have three files, called• myShipping.php (including the class myShipping)• myShipping.ini (containing the Name of the Module & the Author

Seite 10

Please always change configuration variables in both functions: show_configuration andwrite_configuration!5.2.3. Installing a Shipping ModuleShipping

Seite 11

DocBook [http://www.docbook.org] XML Format.DocBook defines a set of markup elements useful for marking up text so that the text can then be transform

Seite 12 - 4. Modifying the Layout

2.2. Differences to phpShopVM still contains some code parts from phpShop, but experiences phpShop coders will see similarities.So when you have exper

Seite 13 - 4.2.4. Basket Templates

Joomla provides a framework with session handling - no need to have an own session class! No hid-den_session() calls are needed anymore. The existing

Seite 14 - 5.1. Payment Modules

/administrator/components/com_virtuemart/classes/shipping/Contains Shipping Modules & their informational Files/administrator/components/com_virtu

Seite 15 - 5.1.3. The API specification

• virtuemart_parser.php (the central file for VM, preparesthe session, authentication, cart & runs functions)• show_image_in_imgtag.php (used to d

Seite 16 - 5.2. Shipping Modules

Core modules are listed in the table mos_vm_modules.Calling index.php?com_virtuemart&page=shop.browse in your Joomla site would let VM includethe

Seite 17

If you wonder what the variable $vars is: it's just a working copy of the superglobal $_REQUEST Array andused as the array $d inside of the funct

Seite 18 - 6. About the Project

"Logging" means to log a message to display them to the user. While a function is executed (because its execu-tion was triggered by the vari

Seite 19 - 6.3. Homepage, Forum

•$vmLogger->tip( 'My advice to the user' ); // Used to display Advice messages to the user3.4. Database StructureAs said before, all Tabl

Kommentare zu diesen Handbüchern

Keine Kommentare