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

how do I clear number of a post's reads, or reset to desired number?

Please advise: how to clear number of reads, or reset to desired number: My edited posts satitics jumperd, regarding the 'Reads' to numbers like 1844674407370955161
(see e.g. http://www.mightyzero.com/ralph-entertains) in a conflict with Premium module and Node modules.

Drupal V 4.7.2

EZDownload Module and MySQL

I am trying to use the EZDownload module that I just saw posted by openmfg. However, the script is only for postgres and I can not get it to work on MySQL 5. MYSQL complains of errors in the script on these following lines:

ALTER TABLE ONLY leaf
ADD CONSTRAINT leaf_pkey PRIMARY KEY (nid);

INSERT into leaf(nid, pid, leaftype, attachment) VALUES (nextval('node_nid_seq'), -1, 'd', '');

Adding certain length to teaser?

I'm using this to create teasers:

<?php
  $sql = 'SELECT 
      nid, 
      title, 
      teaser
    FROM 
      {node} n 
    WHERE 
      status = 1 
    ORDER BY 
      changed desc
    LIMIT 0, 1';
    
  $sql = db_rewrite_sql($sql);
  $result = db_query($sql);
  if($node = db_fetch_object($result)) {
    print($node->teaser);
  }
?>

My only problem, is that I want no more than 9 lines of words. I tried $listlength="9"; but it won't work. Any suggestions?

symptom: default js expanding admin options stopped working

symptom:
all js expanding node options become inactive, dimmed, no [+] icon to click on anymore
on node>edit
i.e -Input format, Access, Authoring information, Publishing options
+
custom block options -that fold out HTML, PHP input etc.
i.e -Input format, Access

that is including the expanding update.php - i can access but expanding the -versions which is the same function as above does not work anymore

TinyMCE Not Loading

Hi Guys,

I've seen some similar posts with this problem - but no solution that has worked for me.

I'm using, Drupal 4.7.2, TinyMCE.module 4.7.0 and TinyMCE 2.0.6.1.

I've extracted the TinyMCE.module folder to module/tinymce, inside that I have extracted the TinyMCE folder so that it is module/tinymce/tinymce.

I activate the module fine (as user number 1), set up all the permissions fine (everything looks ok in MySQL - my profile is listed). But TinyMCE just does not load, no link beneath text fields to activate or anything...

Any ideas?

Thanks,

HELP needed please!!

My webhost have moved my site to a new server and now I can not reach different pages. My guess is that I must shut off clean urls. But since it is impossible to login I can not shut it off.
Anyone who knows where in the database I can shut off clean urls?

Pages

Subscribe with RSS Subscribe to RSS - Post installation