TinyPortal

Development => Support => Topic started by: noobhu on February 24, 2008, 07:17:15 PM

Title: Cannot find the code...
Post by: noobhu on February 24, 2008, 07:17:15 PM
Hello there :)

I am messing with the TPdlmanager.php file, but I can't seem to find entry about the 'adminaddcat'. To make things clearer, I can find for example the condition for the 'adminsettings' option:
elseif(substr($admsub,0,8)=='settings'){
but nothing exists for the adminaddcat...

help?
Title: Re: Cannot find the code...
Post by: IchBin on February 24, 2008, 07:20:34 PM
All the admin stuff is probably in the TPortalAdmin. file.
Title: Re: Cannot find the code...
Post by: noobhu on February 24, 2008, 07:28:02 PM
I think not in this case... forgot to mention that the only part for TP i am currently messing with is the download manager. But i just can't seem to find the darn entry. It doesn't make sense since every other possible option regarding the download manager is coded inside that file! (adminsettings,adminitem so on...)
Title: Re: Cannot find the code...
Post by: G6Cad on February 25, 2008, 10:02:30 AM
Is it functions or layout you are trying to change ?

Functions are usually located in the sources directory, and for layout you need to check the template files.
Title: Re: Cannot find the code...
Post by: noobhu on February 25, 2008, 12:56:05 PM
Both of them, I have already modified the template file, but I also want to modify the function code...