xoops forums

timgno

Module Developer
Posted on: 2013/10/2 11:05
timgno
timgno (Show more)
Module Developer
Posts: 1504
Since: 2007/6/21
#1

Pdf.php Print.php and Other Files

A few days ago, updating my website, I realized that I had mixed up the codes of two different modules file pdf.php and print.php

In some modules these files were not added, and then I created for myself in my site.

I wasted so much time to put the code in place, while I realized that I could do something like for comments for example.

The comments are the main files in root/include and then are added to the modules that they need it.

I thought we could not do the same thing for files pdf.php, print.php or other files of the modules that are recurring in different modules?

This is most likely a speech for Xoops 2.6.0, because we do not want to do as currently with the comments, we need to create extensions for each type.

What do you think, we can stand to do in this way for this?