This forum is for less technical discussions about the Drupal project, not for support questions.

how write robot.txt when you have multiple domain under 1 virtual account?

Hi,
I'm not sure if i have said it correctly. What i'mtrying to descdribe is that i have the one account, virtual account and it allows me to host several domain names through this,which i have done. But i'm not sure how to go about ensuring that robot.txt has sufficient instructions to crawl the other sites..

eg.

public-html/[which host the main domain name]

public-html/dogster/
public-html/hamstercage/

these sub folders hold the files which are associated with secondary domain that i host through this one host.

i've read up on robot.txt

Problem

How to increase aggregator catched title's length?
Pl reply. I post this many times. But anybody didn't reply.
http://drupal.org/node/81313
http://drupal.org/node/80909
http://drupal.org/node/79979
http://drupal.org/node/79496

Styling textfield and buttons

Hi all,

Currently I am busy to make a new template for Drupal 4.7. since this is my first time I run into some problems. I would like to style the textfields and buttons but the code output of Drupal does not split these two parts. When using XHTML and CSS you add a class to both but in this case since Drupal put out code using a single PHP string I have no idea how it is possible to style textfields and buttons.

Newbie --- Books for Drupal ?

Hi All,

I am a newbie to Drupal. I want to learn more about Drupal. Is there any good book available for a newbie like me to know more about Drupal, which is clear and well written. I have some experience in using PHP. The book should have some good examples of code along with explanations and so on.

Thanks,

karthi

help with javascript in a node

this is actually a general javascript question and not necessarily drupal but i am using drupal for this page. i've been trying to make a link to have a pop-up window instead of a normal link but i am stuck...so i am posting this problem here,...maybe someone can help me.

the code which is working perfectly without having the link as a pop-up window is:

//mp3 ringtones
include_once 'my_xml_parser.php';
$sFile = 'http://mobilecontentprovider.xml';
$aArray = MyXmlParse($sFile);   // parsing of the file
$aRess = $aArray['resources']; //array with all content
$aInfos = $aArray['infos'];     //array with all informations (max_page, total_results...)

$sMax_Len = 20; //number of char of the string to display
foreach ($aRess as $aInfo) {
    $lib = stripslashes($aInfo['lib']);
    if (strlen($lib) > $sMax_Len) {
        $lib = substr($lib,  0, $sMax_Len).'...';
    }
        echo '<a href="'. $aInfo['url_download'].'"><img src="'.$aInfo['file'].'" alt="'.$aInfo['lib'].'" />  '.$lib.'</a><br />';
}

so i tried to change the link to have a pop-up window to:

<?php

//mp3 ringtones
include_once 'my_xml_parser.php';
$sFile = 'http://mobilecontentprovider.xml';
$aArray = MyXmlParse($sFile); // parsing of the file
$aRess = $aArray['resources']; //array with all content
$aInfos = $aArray['infos']; //array with all informations (max_page, total_results...)

$sMax_Len = 20; //number of char of the string to display
foreach ($aRess as $aInfo) {
$lib = stripslashes($aInfo['lib']);
if (strlen($lib) > $sMax_Len) {
$lib = substr($lib, 0, $sMax_Len).'...';
}
echo ' Only local images are allowed. '.$lib.'

Moving to New Server please IMAGES not APPEARING img_assist help

Ok, I am trying to move my website to another server. This is what I have done...

Installed Drupal on the new machine just as the first one and have a standard drupal installation working.
Next, I backed up the database from my existing website and restored it onto the new server.
I, then, copied the entire drupal directory from the old machine to the new machine.
I also configured the php.ini and http.conf files to fit appropriatly.

Pages

Subscribe with RSS Subscribe to RSS - General discussion