please i need some help with category

Re: please i need some help with category

by Timothy Takemoto -
Number of replies: 0

Hello Yudelkys Alvarado,

You could change *some things* about individual category pages.
Add the following line to header.html in the theme you are using.

<?php include("common.php") ?>

Then in a file called common.php, add the following. Change "attempt.php" and "review.php" to the ends of the urls of the page you want to change.

<?php
    if (stristr($_SERVER['SCRIPT_FILENAME']."X", "attempt.phpX")) {
  include("blockit.html"); }
  if (stristr($_SERVER['SCRIPT_FILENAME']."X", "review.phpX")) {
  include("blockit.html"); }
  ?>

Then change blockit.html to something more appropriate, and in that file add the code to say, include a background (this would be more appropriate using CSS) or put a table around the whole page or put a banner somewhere in the page. I have a banner in the page attempt.php and review.php and some javascript to make it difficult to copy.

Tim