Jump to content

Daglub

Members
  • Posts

    8
  • Joined

  • Last visited

Daglub's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. I've been trying to decide whether to purchase Filemaker Server or FMS Advanced and it looks like I'll be basing my decision on how much I can do with the PHP Site Assistant. Is it possible to upload pictures to container fields when working with a database in a PHP generated site? I would test it myself on my trial version, but I'm currently having issues with "ERROR: 7 - Running out of Memory" (I'd love some help with that too, by the way). Also, I would imagine that one could use plugins and his/her own knowledge of PHP to modify the website after it is generated (add new pages, move things around, etc.), right? I'm getting comfortable with the SuperContainer plugin for IWP which makes it possible to upload pictures to a database online, but that seems to be an IWP-only plugin. As for that annoying error message, it wasn't coming up earlier today when I hit the view site button, but at that time, I was on another network with another IP where I work. I was also getting help publishing a site on an external IP, so I would imagine there's some changed setting which is going to mess with the PHP Site Assistant unless I'm at work? Maybe someone could help me figure it out, though; I'm using a Mac and I think that the only thing that changed on my system was that in TCP/IP settings under network preferences, the IP address was replaced with a static IP. When I got home, I found that the IP address didn't change back automatically, so I went in and without thinking first changed the Configure IPv4 setting to Using DCHP (without the manual part). That seemed to fix the internet issue, but I'm new to this whole web publishing thing and wouldn't be surprised if I messed something up. Thank you to anyone who took the time to read this and thanks especially to anyone who can help me out. :D
  2. Are you saying that I can't use SuperContainer with IWP on my own computer (for testing purposes) for the two hours of demo time?
  3. Can you be more specific about the location of the WPC/Plugins directory? I did run the installer if that's what you mean. Also, do you have a general idea of what height and width I'd like to use for a table field? I'm not a good judge of these things.
  4. It looks like now I'm receiving "ERROR" in my thumbnail boxes in the table. I've been messing with the width and height, but nothing seems to work. I still haven't set a resolution. Do I even need to use a height, width, and resolution, or should it scale down automatically? Also, I'm using the same file path that I'm using for SCGetInfo; is that correct? Thanks. Edit: Wait, wait. Now something else is happening. Even though my picture count calculation is working fine in filemaker pro, when I go to IWP, it gives me 5/5 even though that isn't correct.
  5. Sorry for the delayed response. I just got the SCGetInfo to work thanks to your most recent piece of advice. I'm going to try the thumbnail now. Thanks
  6. Alright. I'll make a field and run SCGetInfo when I have a chance and see if it returns 'ERROR'. Other than the possibility of an error, though, it seems unlikely that the calculation would be wrong since I'm just adding up the 1's and 0's that would return from true or false. I suppose I might be incorrectly entering the method, though. I'll give an example of how I wrote up the calculation: We'll say I've created a file called "File1" and I've stored it in MacHD/Users/Shared/SuperContainer/Files/Pictures/1 (I guess I should have mentioned before that I'm using a Mac). For whatever reason I set the webviewer so that it stores every picture in its own folder. I then write the calculation as: not IsEmpty(SCGetInfo(MacHD/Users/Shared/SuperContainer/Files/Pictures/1 )) + not IsEmpty (SCGetInfo(MacHD/Users/Shared/SuperContainer/Files/Pictures/2)) etc. Should I enter the name of the file at the end of the file path? If so, do I need to provide the file extension? As for SCGetContainer, I suppose this means that I should be using the width, height, and maybe the resolution parameters. Does this mean that the pictures won't scale down automatically to fit in the table view? I ask because I don't exactly know the optimal height and width, although I guess I can try different things until it works. Thanks again for your help.
  7. Thanks for the quick response. I've actually tried both of those methods, but I must have made a mistake somewhere. For the field that counts SuperContainers, I wrote the calculation as "not IsEmpty( SCGetInfo(path/to/file1 ) + not IsEmpty( SCGetInfo(path/to/file2 ) + ..." (I didn't actually include the file name or type (jpg in this case) because I assumed that it wouldn't matter since SuperContainer creates a unique folder for every image). I figure this isn't a very efficient calculation since it could get very annoying if I'm using more than just a few SuperContainers, but my result would always turn up as 5 (as in 5/5 SuperContainers are returning something, even if they shouldn't). As for the SCGetContainer method, I attempted to use that and kept getting blank boxes in the table view. Do I need to set width, height, resolution, and page parameters for it to work properly? Also, the documentation neglects to mention what the page parameter does. What would I put there? I realize that I'm probably making very amateur mistakes and I appreciate your help.
  8. Hi. I'm really new to both Filemaker Pro and Server and the SuperContainer plugin and have encountered a small issue. I'm trying to make a simple database that allows image uploads via IWP (already got that covered), but I'd also like to make a field that can keep track of how many SuperContainers actually contain an image at a given time. I couldn't find any way to make an indefinite number of SuperContainers (ideally, I'd like it if the client could keep adding images, each time creating a SC, but I haven't been able to find any way to do so), so I created 5 SC's and the client can just upload/delete an image from each SC. When I was using regular containers, calculating the number of occupied repetitions was pretty simple, but I've had no luck with SC's. It isn't possible to make webviewer fields with repetitions, is it? Can someone tell me some script or calculation that I can use to make each report display the number of occupied SC's (out of 5)? Also, I was wondering if it is possible to create a thumbnail of an image in a SC so that I can display it in table view. I've tried using the getContainer action, but it just brings up a blank box, even when I mess with width, height, and resolution. For both of these issues, I have no problem with using additional plugins, provided they are supported by IWP. Please explain things to me in a way that someone with only a small amount of experience can understand. Thanks.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.