Before we do anything else, we'll create our topics. For each topic, we'll add the images first. After we create our topics, we'll look at how to modify them, and the consequences of deleting topics.
Before we get started creating our topics, we will add the topic images. To do this, you will need to copy all the files from the topics
folder in the Ch06
folder of the code download to the images/topics/
folder in the root of your PHP-Nuke installation.
You should have these files: thedinosaurportal.gif, dinosaurs.gif, fossils.gif
, and dinosaurhunting.gif
, in addition to files called index.html, phpnuke.gif
, and AllTopics.gif
, which were already present in the folder.
The images/topics
folder is the place where PHP-Nuke will look for the topic icons. When adding image files to the images/topics
folder, ensure that only alphanumeric characters or the underscore are used in your filename, or else PHP-Nuke will fail to pick up the filename when displaying the list of topic images...