[ b / jp / o / q / sw / lounge ] [ cgi ] [ up ] [ wiki ]
[Home] [Search] [RSS feed] [Inbox] [Write PM] [Catalog] [Admin]
[Return]
Posting mode: Reply
[]
(for deletion, 8 chars max)
  • Allowed file types are: GIF, JPG, JPEG, PNG, BMP, WEBM, MP4
  • Maximum file size allowed is 9000 KB.
  • Images greater than 200 * 200 pixels will be thumbnailed.
boku

  • 2024/04/26 - Neomenu came back from 2021
  • 2024/04/26 - Museum@Heyuri has been launched
  • 2024/02/27 - Anime nominations and their votings will be held on this table from now on.
  • 2024/01/29 - Try out some extra CSS files: Link


Want your site's banner shown here too? Read this thread and contact me.

File: crying_cirno.png
(510 KB, 720x1280) ImgOps
510 KB
I've been wanting to contribute to the template files, but I have no ideas which file is loading them in, therefore I am unable to add anything to the variables that are used in their files.
Don't know how else I'd contact Kaguya or whatever so I'm makin a post tongue
>>
There are these two lines at config.php:

define("TEMPLATE_FILE", 'kokoimg.tpl'); // Template File
define("REPLY_TEMPLATE_FILE", 'kokoimgreply.tpl'); // Reply page template file


This is all I know rolleyes
>>
>>62558
but how does heyuri display these files? is it through something outside of kokonotsuba or something?
>>
I am not a programmer but it's not something via outside of kokonotsuba, I think it should just werk. There were some users who could set up their instances without any issues with tpl files
>>
variables seem to be loaded through the ParseBlock method in the PTELibrary class. you should be able to just modify the arrays that get passed to the method in koko.php if you want to add variables biggrin
>>
>>62562
Thanks! Although it seems like there are some variables that aren't defined in either koko nor PTELibrary, which is a bit weird but I should just search further tongue
>>
>>62565
the others are probably from lib_common.php and the optional modules, just do a regex search for
'\{\$.+\}'
and it should come up with all of the template variable definitions nyaoo


Delete Post: []
Password:
First[0] Last