PDA

View Full Version : Shopping list module


The Geek
02-22-2006, 08:51 PM
I more or less threw this together to fullfil a couple requests for a recipe module. The real goal was to create another simple module that can be used as an easy example of how to capture existing custom data.

In this module, a large textbox is provided to the user creating the new thread. The idea being that they enter each item required for the recipe on a new line lie this:

carrots
fish
beer

Gars would then display it in a block like this:

carrots
fish
beerIt also parses bbcode :)

(see screenies).

To install: upload the shoppinglist.php file into your geek/gars/mods folder. Then register the module with the following settings:

Title: Shopping List
file: shoppinglist.php
templates: GARS_mod_containerThen you can add it to a showthread page of any of your module sets.

nJoy

Blackbeard
02-28-2006, 07:00 PM
i have a problem with this hack, i have placed the shopping list at bottom and an attachment on right of contents, why has the image moved over to the left side of the page and not stayed on the right.

here is a link to show you what i mean

http://www.sharewithus.co.uk/forums/showthread.php?p=9797

eko
02-28-2006, 07:37 PM
you have to register to see that page? can you make a test user we can login as?

Blackbeard
02-28-2006, 09:04 PM
Sorry

Username: RegTest
Pass: test

The Geek
02-28-2006, 09:34 PM
The problem happens with all gars postbits thathave a right hand column but not enough content to fill a line.

I havent been able to find a way to get IE to ALWAYS keep the freaking data to the right regardless of content. As soon as you put in a full line of text, it will be cool.

On a side note, if anyone wants to redo the template so that it doesnt do this (AND WORKS NICELY) ill give them £50. First one to submit wins :)

eko
06-05-2006, 07:40 PM
will this work with beta 2? thanks

The Geek
06-05-2006, 08:39 PM
not without some quick modifications. Pretty quick to do though if you really need it.

eko
06-07-2006, 04:05 PM
its not really what I am looking for but I was going to use it temporarily, if you have the time to update it that would be great otherwhise dont worry about it :)

Richy
06-12-2006, 02:21 PM
not without some quick modifications. Pretty quick to do though if you really need it.

Yes please :)

COBRAws
06-30-2006, 10:54 PM
I wonder where the php file is. Im using GARS 2 Beta, but It would be awesome if I could read the code.

Thanks,
Jack

The Geek
07-01-2006, 07:48 PM
I stupidly forgot to ad the attchment module :)

Its there now (mind you this is for version 1)

Lionel
10-09-2006, 03:46 AM
I was hoping so much to use this for ingredients, but nothing displays in newthread for input

The Geek
10-09-2006, 06:57 AM
Ill double check it for 2.0 as it was created for 1.01 and get back to you.

Lionel
10-09-2006, 08:09 AM
Thanks in advance

Lionel
10-10-2006, 12:53 AM
begging... begging...

The Geek
10-10-2006, 11:18 AM
Im getting to it... just trying to prioritize :D

Lionel
10-14-2006, 02:24 PM
Still on my knees Geek

Lionel
10-17-2006, 02:26 PM
Anything for me Geek? Please don't forget. That will take you less than 5 minutes.

Lionel
10-18-2006, 01:13 PM
geek, take a 5 minutes break for me please...

Hornstar6969
10-19-2006, 07:04 AM
geek, take a 5 minutes break for me please...

He is a busy man lol. I wish he wasnt so busy :/ I've been waiting a month for a little tiny bit of paid custom work to be done :/

The Geek
10-19-2006, 01:02 PM
THough I havent tested it... I reformatted it into the GARS 2.0.2 version so it should work.

HTHs

Lionel
10-19-2006, 01:05 PM
You are a lifesaver

Lionel
10-28-2006, 06:54 PM
Which table in database stores that info?

I am now doing a mycookbook feature which allows every user to populate recipes in their own cookbooks. Works great except that I also need to display the ingredients.:confused:


found them, never mind.