1 answers

How to add CVS files recursively?

-4 points

I am using CVS to access and commit my files. How do I add my files recursively from the linux command shell into CVS?

Please help

Read more »
Created by Anonymous 17 weeks 4 days ago
  Tags:
0 answers

How to store extra information in Drupal $node?

7 points

Hi All,

In my drupal theming, I am stuck. I am using Drupal 6.

I have some extra data that I want to put in $node, so that I can show this data when theming the template file (node-contentype.tpl.php). I don't want to query mysql database in my template file?

Please help.

Read more »
Created by Anonymous 17 weeks 4 days ago
  Tags:
2 answers

Advantages of Theming with Fusion as base theme

33 points

Goodmorning Guys,
Can anyone help me out in specifying the advantages of theming drupal with fusion as base theme? I have been marketing this to my clients but want to be sure if using fusion as base theme is the correct decision.

Thanks in advance
Drupal Marketer

Read more »
1 answers

mysqldump: Error 1194: Table 'boost_cache_relationships' is marked as crashed and should be repaired when dumping table

23 points

Hi,

I am taking backup of my mysql database using mysqldump:

mysqldump -uroot -ppass drupal6 > drupal.sql

and it shows that my boost_cache_relationships table in drupal is crashed and gives following error:

mysqldump: Error 1194: Table 'boost_cache_relationships' is marked as crashed and should be repaired when dumping table

Please help.

Read more »
Created by Anonymous 17 weeks 4 days ago
  Tags:
1 answers

How do I extract bz2 files?

10 points

I have a file in bz2 format as follows on my linux box:

drupal-date-9-may-2010.sql.bz2

How do I extract it?

Read more »
Created by Anonymous 17 weeks 4 days ago
  Tags:
1 answers

File Rename in VB6

5 points

I have the following code in VB6 and I want to change the file extension of all .fin files to .txt. I used the code below to change the extension of all .fin files to .txt. But, the code below is changing the extension of files with no extension as well.

Dim fso As New FileSystemObject
Dim fil As Variant
 
For Each fil In fso.GetFolder(txtsourcedatabase).Files
  If (LCase$(fso.GetExtensionName(fil.Name)) = "fin") Or _
      (fso.GetExtensionName(fil.Name) = vbNullString) Then
    fso.MoveFile fil.Path, fso.BuildPath(fso.GetParentFolderName(fil.Path), _

Read more »
Created by Anonymous 17 weeks 4 days ago
  Tags:
2 answers

Jquery not working in IE

18 points

Hi,

I have the following function in Jquery. The function will check if there are any new posts to the message board, and if so, will load them. For some reason, new data never loads in IE 7, but loads fine in FF and Chrome. Moreover, when I refresh the page, the data doesn't come in either - only when the cache is cleared.

 function update(){
    $.get("getlatest.php", {
        id: $.cookie('last_post_id')
    }, function(response){
 
 
        $('#board_posts').prepend(response);
        $('.incoming_post').slideDown("slow").effect("highlight", {}, 3000);

Read more »
Created by Anonymous 17 weeks 4 days ago
  Tags:

Jquery Accordion

Following code demonstrates a custom jquery accordion that can be created without using any fancy jquery accordion library: HTML code that would have the accordion working. <dl id="accordion"> <dt><a href="">Click</a></dt> <dd>Content in Detail for Click1</dd>   <dt><a href="">Another Click</a></dt> <dd>Content in Detail for Click 2. </dd>   <dt><a href="">And Another Click</a></dt> <dd>Content in Detail for Click 3. Content in Detail for Click 3.</dd>   </dl> Style to be loaded in the header of the page: #accordion { margin: 0; padding: 0; }

Javascript Clock

In this snippet, we will go through javascript code of a javscript clock that shows the current client time without requiring the user to reload the page. Javascript Clock Demo function checklength(i){ if (i

Javascript or Jquery Comments

Commenting code is a good programming practice and every good programmer comments the code. In Javascript or Jquery, you comment the code between /* and */. This allows the user to create multiple line comments. For a single line comment, you comment using double backslash (//). Example: Javascript/Jquery Comments <language="javaScript" type="text/javaScript"> // This is a single line comment.   /* This is a multiple line javascript comment. this is a multiple line javascript comment. this is a multiple line javascript comment. */