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

directorys and permissions

hello, i've been attempting to follow some bryght tutes, and in the process am getting various little red warnings inside drupal after installing modules.

i currently have the following moduels installed:

drupal and RSS in gmail

hi everyone,
my site http://www.amigdala.mo.it has some rss feeds, one for each taxonomy term. I'm trying to add them to my gmail and yahoo account, in order to see them in my personalized searches, but when I add the feed's URL, such as http://www.amigdala.mo.it/?q=node/feed/1 both gmail and yahoo complain that it's invalind. Is it because it's a dynamic page and not a .xml file? what can I do?

thanks a lot
G.

Page not opening inside of Drupal

I have a site that is showing real estate listings... but if the results display "0" listings, the resulting page somehow jumps out of the drupal template...

Here is the working page with output:
http://sanluisrealestate.com/results

Here is the page that's jumped out:
http://sanluisrealestate.com/results?City=&Bedrooms=&Bathrooms=&Min=&Max...

And here is part of the code:

$colname2_recordset= "1";
if (isset($_GET['Bedrooms'])) {
  $colname2_recordset= (get_magic_quotes_gpc()) ? $_GET['Bedrooms'] : addslashes($_GET['Bedrooms']);
}
$colname_recordset= "1";
if (isset($_GET['City'])) {
  $colname_recordset= (get_magic_quotes_gpc()) ? $_GET['City'] : addslashes($_GET['City']);
}
mysql_select_db($database_mls_connection, $mls_connection);
$query_recordset= sprintf("SELECT * FROM res WHERE City = '%s' AND Bedrooms = '%s' ORDER BY Listing_Price ASC", $colname_recordset,$colname2_recordset);
$recordset= mysql_query($query_recordset, $mls_connection) or die(mysql_error());
$row_recordset= mysql_fetch_assoc($recordset);
$totalRows_recordset= mysql_num_rows($recordset);

$url3_recordset = "2";
if (isset($_GET['Bathrooms'])) {
  $url3_recordset = (get_magic_quotes_gpc()) ? $_GET['Bathrooms'] : addslashes($_GET['Bathrooms']);
}
$url4_recordset = "0";
if (isset($_GET['Min'])) {
  $url4_recordset = (get_magic_quotes_gpc()) ? $_GET['Min'] : addslashes($_GET['Min']);
}
$url5_recordset = "800000";
if (isset($_GET['Max'])) {
  $url5_recordset = (get_magic_quotes_gpc()) ? $_GET['Max'] : addslashes($_GET['Max']);
}
$url1_recordset = "San Luis Obispo";
if (isset($_GET['City'])) {
  $url1_recordset = (get_magic_quotes_gpc()) ? $_GET['City'] : addslashes($_GET['City']);
}
$url2_recordset = "3";
if (isset($_GET['Bedrooms'])) {
  $url2_recordset = (get_magic_quotes_gpc()) ? $_GET['Bedrooms'] : addslashes($_GET['Bedrooms']);
}
mysql_select_db($database_mls_connection, $mls_connection);
$query_recordset = sprintf("SELECT * FROM res WHERE res.City = '%s' AND res.Bedrooms >= '%s' AND res.Total_Bathrooms >= '%s' AND res.Listing_Price >= '%s' AND res.Listing_Price <= '%s' ORDER BY res.Listing_Price DESC", $url1_recordset,$url2_recordset,$url3_recordset,$url4_recordset,$url5_recordset);
$recordset = mysql_query($query_recordset, $mls_connection) or die(mysql_error());
$row_recordset = mysql_fetch_assoc($recordset);
$totalRows_recordset = mysql_num_rows($recordset);

There are echo $totalRows_recordset properties that match your search.

Only local images are allowed.
   include 'includes/form_main.inc';
   

if($totalRows_recordset<=0)
{
print <<<EOM


defsfSA 

</body>
</html>



EOM;

die();
}

 do {
 $path = '/mls/images/';
 $number = $row_recordset['ML_Number'];
 $not_available = $path.'not_available.png';
 $filename = $path.$number.'.jpg';
 $root_path = $_SERVER['DOCUMENT_ROOT'];
 $filename = (is_readable($root_path.$filename)) ? $filename : $not_available;

print $number; ">Only local images are allowed. print $filename; " name="gotem" width="125" border="0">

echo $row_recordset['Bedrooms']; Bed echo $row_recordset['Total_Bathrooms']; Bath

$ echo $row_recordset['Listing_Price'];

User picture doesn't appear on all postings...

I was just playing with the user picture that appears beside each posting and noticed that it didn't appear at all for my first post on my page. Instead the full text path is shown there instead (/files/pictures/user1.jpg.) (Syntax may not be 100% correct.)

Anyway, the first post is a blog and is stickied. I don't know if this has anything to do with it. This is also using the Pushbutton theme.

Any ideas on how to fix this issue? How can I disable user pictures on certain nodes/blocks?

Thanks!

Search by specific fields in the profile

Hey guys,

With the default search, you can either search content or users. When you search users, it only searches the username. How can I extend this to also search the first and last name fields I have in the profile?

I would also like to know how to make a third search tab, for location. It would search the city and country fields in the profile to find users by location.

Huge thanks, in advance, for helping me on this!

- BigP

Revisions for Attachments -- How Can I Do This?

Hi everyone, I would like to be able to track revisions to attachments on a node. Is this possible? Not diff's, but the ability to download previous versions of the files if desired. Thanks :)

Kevin
Citrus Heights, CA

Pages

Subscribe with RSS Subscribe to RSS - Post installation