Drupal is up and running but how do I ...?

My Multi-site installation solution

After pouring over every forum, handbook, etc. I could find on the subject I finally figured it out and wanted to share what I found in order to help others.

Situation:
opensourcehost.com
cPanel
Docs state that shell is available but I could not find where it was located on cPanel

multiple domains with multiple databases

Solution:

Deleted the folder that the host made for my add-on domain, in my case domainb (notice no extension behind file)

After emailing the host, they stated that I had shell access but I had to get my own shell software. Recommended Putty.

Great! Got shell access finally, because I could not figure out how to do it without shell. Guessed that the login was the same as the cPanel (host did not indicate this) and guessed right.

At the command line I inserted the symlink code " -ln s . domainb " (domainb is the name of the above folder that was deleted)

Nothing! What this was all I was supposed to do! Nothing!
Another day of research.......................................

Wait a second! What is this! Apparently I am a shell dummy. You have to create the symlink in the main html directory! DUH!

Therefore, my solution:

Login to shell account (via Putty for me)

Command Line: cd public_html (my html public files are /public_html if yours are user/www then you would want to call this folder from the command line. Not sure but I would go " cd user " then "cd www ")

Placing Order ecommerce arrary(0)

A product is placed in a cart from a list and a method of payment is selected (credit card or paypal) and when a place order button is clicked "array (0) { }” is displayed in a new window with the URL http://localhost/drupal/?q=cart/review.

What is "array (0) {}” display mean? I am expecting a display which is much more meaningfull and related to the completion of the transaction.

image toolkit GD newbie questions

It seems like the only application of image tookit GD i've seen around is through image.module - now bear with me here ;-) Is it possible to just use the GD functions direction on images? Does it have to tie into the drupal system in anyway?

Can i on a certain page just have an image path/file and use a function like image_scale() directly on it?

My current setup has custom nodes, so i don't really want images as separate nodes, i just want to be able to resize images on certain phptemplate pages i've built.

Any help is apprecaited!
Lu

Can views module group by eventrepeat's RID field?

I'm building a 4.7 based site that shows visitors music gatherings (bluegrass, fiddle, old time music jams, Irish sessions, etc) that are happening in their area. Most of the events tracked by the site are recurring on a monthly or weekly basis, and I'm using eventrepeat to make that work. Eventrepeat creates a new node for each instance, so I end up with lots and lots of nodes that only differ in the date they happen on. This is great for lists of upcoming events and calendar pages.

It does not work out so well in the taxonomy/term pages. Each jam session can be categorized with one or more styles of music. When a user clicks on the "fiddle tunes" style and visits 'taxonomy/term/13', the list shows what is logically the same jam session over and over again. See an example.

The result I want to see for taxonomy/term lists is one entry for each repeating set of jam sessions. I want that one entry to be the next event in that series on the calendar, and I don't want to display any events that happened in the past.

What I think I want to do is an outer join {event_repeat_nodes} er ON node.nid = er.nid and then GROUP BY er.rid with a WHERE clause that looks for all events with an event.event_start time that is greater than time().

I have no problem writing the SQL to make this happen. What I don't know how to do is replace the existing taxonomy/term displays without mucking about in core. I want to keep core pristine to keep upgrades simple.

Only generate flexiblock divs if blocks are assigned to them.

I am using the flexiblock module v1.8 with drupal v4.6.6. I would like to use some php code in my page.tpl.php which checks for the assignment (or not) of any blocks to each flexiblock region before generating the flexiblock divs. (I have no need for flexiblock divs where there are no blocks are assigned to them.)

Any ideas? I hope I have given enough description of my situation and request for assistance.

Regards,

-Steve

Ajaxed Instant Messenger

Hi,

Is there anything out there that I can use to send messages to a user that is logged in, in a way that the message will instantly appear on the page s/he is on? I've looked at Private Message module, but the messages get put into an inbox. That's not very interactive.

Now when my users see a good article on my site, they cannot talk to/im the author instantly.

Pages

Subscribe with RSS Subscribe to RSS - Post installation