peterconnolly

peterconnolly

Real Name: Peter Connolly

Syracuse, Utah (United States)
Technical Director

Biography

Peter grew his first company, Acute Computing Ltd, into a very successful business by offering quality, personalized customer service to his clients in the UK and Europe. With talents that include a brilliant mind (yes, the wife is writing this one), a good sense of humor (humour if you are in England), and over 20 years of experience in Public Relations, Advertising, Marketing, Programming, Database Development, Website Design and Development, Networking, and IT Support, his clients have come to rely on him in many areas for growing their business.

Latest Contributions

  • Menu Order Changing

    I've got a problem with a client site written in Drupal.

    The menus are standard Drupal primary menus, presented using Superfish. When the client adds or edits nodes, the menu order changes randomly. It's only a minute or two to get them back in order, but the client is none too happy at having to do that.

    Anyone come across anything like this before? There's nothing in the watchdog table for a clue...

    Thanks in advance.

    Pete.

  • Default values in hook_form_alter

    I need to move the 'Sticky' option to somewhere more visible on a form.

    To do this, I'm using hook_form_alter as shown below (if you have a better way, let me know!)

    My new field displays on screen, but never has the correct value (if I leave in the original sticky field, that *does* show values correctly).

    So, what should I set the default value to in order to have the correct value (checked or unchecked) shown?

    Thanks in advance.

    Pete.

    -----

    function mymodule_form_alter(&$form, $form_state, $form_id) {

    if (substr($form_id, -10)=='_node_form') {

  • Installing Solr

    The topic says it all, really!

    I have a VPS (apache2) to which I have root access. I've installed Tomcat, and installed Solr, but in Drupal I get the error message

    "warning: require_once(Zend/Json/Decoder.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/{sitedomain}/httpdocs/sites/all/modules/apachesolr/Drupal_Apache_Solr_Service.php on line 10."

  • node author not being updated..

    When a node is edited by a different user, the node author does not change - it is still shown as the original author.

    Any ideas why this could be? It happens for all content types in the system. :-(

    regards,

    Pete.

  • Approach question

    I have a system which generates one file for each state in the US.

    The file name occasionally changes for each state - e.g, it may be Utah.aaa one month, and utahfile.bbb the next month for the state of Utah.

    There is one file per state.

    I have to maintain that list in Drupal. I know I could create a CCK content type, but that would litter the system with 50 or so nodes, each containing one piece of information. I'd rather have a list of states in alphabetical order, with the associated filename in a text box next to it.