Client wants to take over the site

I have build a job searching site for the client and now after 2 years they want to take care of the site themselves. They are not computer savy so much so I am afraid that they will mess it up.

They had previous developed make them the site and it crashed. So I had to redo it completely. It was a mess, nothing worked before, it was not made in Drupal btw.

Now they want to take care of the site themselves and I am afraid someting will go wrong. They want me to teach them how to do it.
They want to save money I think, because I charge them for the work.

sub domains and url

I installed a second instance of Drupal to use for development purposes, copied over the files and DB from the production instance. The development Drupal is using a different domain name on a different server so different ip address as well.

I've been able to get it to work with the ip address but when i try to type in the new domain name, it redirects to http://mydomain.com/content/invalid-sub-domain-name

New Developer on Staff / Access Drupal Code

I just started a new position, and I have been tasked with taking over a drupal site that was designed by a prior developer. I am attempting to locate the code for the site, but I have not been successful. The server hosting the site is running Ubuntu 10.04.3 LTS and the Drupal version appears to be 6.

I can access the site using the IP address of the server, so I know the site is functional.

Any assistance would be appreciated.

hook_comment and stop the comment

it seems obvious, but I am trying to validate some things before a user is able to submit a comment, and I cannot. This is what it happens:

How to get all nodes and not pager limited views node values

Hi,
I must modify a module that shows the sum of different fields in a view, but since the view has a pager and a limit of 15 items per page, I get only the sum of the 15 elements of the page, not of all elements in the DB.
This is the function in the .module file:
function _hotel_data_build_seach_summary($view) {

$trec = $tec = $eb = '';

$node = (array) $view->result[0];
foreach (array_keys($node) as $fieldname) {
if (preg_match('/field_hotel_gt_kz_contrib_amount/', $fieldname)) {
$trec = $fieldname;
}
if (preg_match('/field_hotel_gt_total_amount/', $fieldname)) {
$tec = $fieldname;
}
if (preg_match('/field_hotel_eb_total_value/', $fieldname)) {
$eb = $fieldname;
}
}

if (empty($trec) && empty($tec) && empty($eb)) return NULL;

foreach ($view->result as $cn) {

// Total funding
if ($trec && $cn->{$trec}) {
$goal_keep += $cn->{$trec};
}
// Total costs
if ($tec && $cn->{$tec}) {
$goal_swap += $cn->{$tec};
}

//Total helpers
if ( $eb && $cn->{$eb}) {
$helpers += $cn->{$eb};
}
}

if (empty($goal_keep) && empty($goal_swap) && empty($helpers)) return NULL;

image galleries are not re-created

Hello,

I've recently upgraded from an earlier 6.x version 6.28 with the intention of moving to 7.23. Everything has upgraded correctly except for the image galleries. I had to upgrade multiple modules and something seems to have gotten lost during the process. I still have all the images, but the galleries themselves are empty (just descriptions). It seems i'm going to have to manually re-upload each image.

If there is no easy fix for this, i'm okay with basically re-creating each gallery. However, i'd like to avoid this in the future.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x