General discussion - DRUPALug
Renaming site URL on MAMP
I'm working locally on MAMP right now, not on a host server.
I started a Drupal 7 test site, and named it accordingly. But now I'm realizing after installing a few special modules, and setting things up that took some time that I could use it for a client's site. But I will need to change the URL and so one to reflect their site.
I've changed the site name that's displayed, and copied the database into another newly named DB, then updated the settings.php file to reflect this new DB name.
PHP help
I've used the Custom Pagers module to set up a pager for a custom node type, setting up in the view to use the node titles for the pager links. I only modified the custom-pager.tpl.php to remove the "Key" variable. It's working great.
However I would like to be able to add the text "Previous" and "Next" to the node title link. I don't want this text to be a link, just a generated label.
One solution I tried was to simply add the text into HTML part of of the custom-pager.tpl.php.
Linking to search results
I have created an inventory list, which uses the TableField module to import a CSV file from OpenOffice. These inventory list pages are their own content type.
I have added the Custom Search module to add the ability to have the search only search this node type, and it works fine, with the search results giving me appropriate listings.
But on the search results page, the only link is to the page that the results are on. I would like to be able to have each result be an anchor link to that line on the inventory list.
Any clues about how I can do this?
Thanks!
Arne
CRON jobs
I'm looking for suggestions/recommendations on running automatic CRON jobs. One of my hosts has not been able to get his servers to do this successfully.
We are running:
PHP Version 5.2.4-2ubuntu5.10
Apache 2.0 Handler
Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) mod_ssl/2.2.8 OpenSSL/0.9.8g
MySQL database 5.0.51a
~john brandt
How to increase "max_allowed packet"?
I am importing a CSV file using a field on a content type using the TableField module. I'm getting the following error message if the table is too large and would like to find out how to increase the max_allowed_packet on my local MAMP installation:
user warning: Got a packet bigger than 'max_allowed_packet' bytes query: UPDATE cache_form SET
I searched online and found one suggestion:
Community calendar
A client wants to have a community calendar on his site. Something with a typical monthly calendar graphical UI where logged in users could easily post events directly into the calendar, similar to how iCal works with an event window where the date/time/location can easily be added.
I've just started looking into the Date and Calendar modules, but thought I might see if there are any suggestions out there from people who have been through this before. Although I'm still using Drupal 6, I'm hoping to use Drupal 7.
adding a vCard link to Contact page
I would like to add a vCard link to a contact page. I've looked on drupal.org, but haven't seen any recent solutions, other than a module that adds a vCard to all user profiles, which is not what I need right now.
Is there a simple way to do this? My understanding is that Drupal, for security reasons will modify the vCard .vcf file by appending it as a .txt without some sort of work-around.
Thanks!
how to migrate blog content
I have a client that has been blogging using Typepad. I would like to migrate his old blog content to a new site I will be building in Drupal 7.
This is the first time this need has come up for me, so not sure where to start. Any suggestion on procedure would be appreciated.
Thanks! Arne
Views Question
So it would figure that the morning after the Q&A session (which I missed because I wanted to watch PBS - The Civil War) I'd have a Drupal question.
I have created a Views page listing training events. I want the Views page to only show upcoming events. How do I "filter" the output to show only those happening today or in the future and not show "past" events?
~j
Acquia webinar on mobile-izing a Drupal site
This came up during our meeting tonight so I wanted to pass it along. Here is a recorded webinar from Acquia that discussed making a mobile site with Drupal:
Scott

