Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I took a look at the HMTL filter but for some reasons it doesn't quite appeal to me. The main reason is that it filters out comment tags, which I need for the teasers (among other things), and I can't figure out how to add the comment tag to the allowed tag list. Is there a way to do that?
If not - is there any way to make HTML filter only strip out certain tags and allow everything else? This blacklist style would help in certain situations.
I was succesfully able to get my first page of results to appear with a call to pager_query(). When I click to go to anypage off of that, I am brough to the initial page of drupal....ie. It gives me the text like I have not added any nodes yet.
I have tried putting it in pages and stories with the same result. After looking at the links for a little while i did notice that it was not referencing my node properly (node 3 in this case).
here is the code im trying to use (sorry its long):
<?php
global $user;
$query= "SELECT * FROM {prompts}";
$count= "SELECT COUNT(*) FROM {prompts}";
$sql = pager_query($query, 25, 0, $count);
$output .= "
";
$output .= "
";
$output .= "
";
$output .= "Company Name";
$output .= "
";
$output .= "
";
$output .= "Prompt System";
$output .= "
";
$output .= "
";
$output .= "Phone #";
$output .= "
";
echo "
";
$output .= "Site URL";
$output .= "
";
$output .= "
";
while ($anode = db_fetch_object($sql)) {
$output .= "
Well.. Site was working awsome and then today it decided not to. I am getting periodic 500 errors.. Sometimes it's the main page.. Then I reload and it works. Then I go to Administrate and I get a 500 error.. Reload a few times and it works! Then I go back to front page and it takes 30 secs to load then I get a 500 error. I am sure Yahoo is going to tell me it's on my end but this seems server related. Any help would be appreciated. Everything was working great before today.. Another thing.. Sometimes, the blocks, espectially the shoutout block has a 500 error.