ubercart install profile

Posts: 48
Joined: 10/07/2007
InternationalizationizerNot Kulvik

hi
i created an ubercart installation profile after following the install instructions.
pls. find it attached below in .tar.gz format

AttachmentSize
ubercart_profile.tar.gz2.58 KB
--

Mohammed Arafa

Posts: 332
Joined: 08/07/2007
Administrator

Cool. I'm working on something like this to get out by 1.0 (the UberInstaller already does something like this already). There's a couple of things you need to do to get this to work with Drupal. The php file has be named .profile and placed into a dir that has the same name as the .profile inside the drupal profiles dir (e.g. profiles/ubercart/ubercart.profile). Also, the functions you create have to be named (name of .profile file)_function_name() (e.g. ubercart_profile_modules()). After that, running install.php will list your profile as an option on the install page. See more at drupal profiles

--

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

Posts: 48
Joined: 10/07/2007
InternationalizationizerNot Kulvik

hi
i guess i wasnt clear but i created the profile by using the Profile Generator.

I am not a programmer. I will look into creating a full fledge profile but i dont promise anything. similarly, if someone wants to continue it. no problems.

--

Mohammed Arafa

Posts: 48
Joined: 10/07/2007
InternationalizationizerNot Kulvik

thanks for the instructions.

to use the profile, go to your site's www dir and extract.

engoy!

AttachmentSize
ubercart_profile.tar.gz2.78 KB
--

Mohammed Arafa

Posts: 332
Joined: 08/07/2007
Administrator

That clears things up, I was confused as all I saw was one PHP file and no README.txt or further instructions.

--

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

Posts: 48
Joined: 10/07/2007
InternationalizationizerNot Kulvik

hi
an update to the profile above. but this time:
1. without an administrator account so u dont get locked out immediately Eye-wink
2. the description also tells u where to get the basic modules and the ubercart installation documentation.
3. also has a little bash script that will tell you the PROBABLE url for each of the modules used in the profile

WOW! isnt that COOL! Smiling

AttachmentSize
ubercart_profile.tar.gz2.64 KB
--

Mohammed Arafa

Posts: 57
Joined: 10/07/2007

Hi marafa,
Plz feel free to slap me upside the head for this doofus question,
Am i correct in assuming that by running this, the shope will be fully setup as a test scenario?, IE, categories, items etc?

I am having real pains trying to understand how to fully setup a sweet cart.

Cheers

Posts: 48
Joined: 10/07/2007
InternationalizationizerNot Kulvik

no, it wont
its an installation profile, like what u get when u download drupal. "want to install drupal and set it up to be a cms?" but u dont see it coz thast the only profile available.

this does something similar, "want to set up drupal to be an ecommerce site with ubercart?" but there are no products etc.

plus, u still have to download the extra modules. if u dont the config for the modules will not take.

what u r looking for MAYBE in the comments at http://drupal.org/node/159733

in any case, here's the latest profile update

AttachmentSize
ubercart_default.1.4.tar.gz6.56 KB
--

Mohammed Arafa