Modify Posting Page - Which File to Modify?

Discussion forum for MOD Writers regarding MOD Development.
Locked
edk77
Registered User
Posts: 5
Joined: Fri Dec 24, 2010 9:57 am

Modify Posting Page - Which File to Modify?

Post by edk77 » Wed Dec 29, 2010 10:37 am

I would like to modify the posting page by adding another category of icons below Smilies. Something like

Smillies
list of icons

Cars
list of icons

I did it by modifying the posting_editor.html.php in the cache after <div id="smiley-box">
It works but I think it is not the right file to modify. May i know which file i should modify for such purpose?

Thanks for help!

User avatar
Tom
Former Team Member
Posts: 2665
Joined: Tue Jun 20, 2006 2:12 am
Name: Tom Catullo
Contact:

Re: Modify Posting Page - Which File to Modify?

Post by Tom » Wed Dec 29, 2010 7:19 pm

You could edit that cache file, but once you purge the cache, your changes will be erased and you'll have to reapply them.

It would instead be better to modify the template file for your style. I would assume you are using the prosilver style (or another style based on it), so go to the following file: styles/prosilver/template/posting_editor.html and there you will see the code for the smiley box. Under that DIV, you can add your code for the list of car icons (similar to how it was in the cache file you edited).
Tom Catullo - Former Moderator Team Member
phpBB3 Smiley Pak Generator | Legend Repositioning MOD | My GitHub | My Site

Locked

Return to “[3.0.x] MOD Writers Discussion”