Log in

View Full Version : How to edit Side Bar?


Abronsyth
12-09-2012, 04:55 PM
Okay, so, in 1.3.2, I am attempting to find the file in which I can edit the side bar, but I can't seem to find where it is at.

Could someone please tell me which file I can find the side bar info in?

Thanks,
Iris

LucasA33
12-09-2012, 05:26 PM
class-page in classes

Hall of Famer
12-09-2012, 05:35 PM
Yeah, go to the script file classes/class_page.php, and scroll all the way down to the section with the following method definition: public function getSidebar(). This is where sidebar is defined.

Abronsyth
12-11-2012, 02:39 PM
Ah, thank you! Well, so I don't spam you with a new thread, could you perhaps tell me where I can edit the adopt.php page text..? I looked through adopt.php, but can't find where to edit the default text.

Hall of Famer
12-11-2012, 02:56 PM
Well go to the directory /lang, you will find a file called lang_adopt.php. From now on almost all system lang vars are stored in a separate file, this makes the script look more organized. Moreover, in future it will be highly possible for admins to edit lang vars in ACP!

Abronsyth
12-11-2012, 03:47 PM
Ah, I see :D Thank you! Script is working perfectly, by the way!

Hall of Famer
12-11-2012, 04:09 PM
Glad it works out for you Miss Iris, and I appreciate the kind word. ^^