會員註冊 / 登入  |  電腦版  |  Jump to bottom of page

Developer Forum » Trying to locate code base for front end

發表人: philfrei
5 年 前
Is this the proper SourceForge link to the front end default template?

https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/src/main/resources/templates/default/

There seem to be multiple places where one can find a "default" template, as well as multiple places where which are storing JS. For example, another location for a default template is here:

https://sourceforge.net/p/jforum2/code/HEAD/tree/branches/v2.3.6_csrf/src/main/resources/templates/default/

The discussion continues at JGO as to whether to use JForum or Discourse. A key issue is the front-end and how dynamic it is, how well it handles mobile, how easy it is to modify. A number of people think the default look of JForum is dated (they prefer what they see on Discourse or Flarum), so it would be helpful for the JForum advocates to be able to identify the process of editing the front end. The first step is knowing which code is being use! The first link has files that are more recent, but I may also have overlooked another location.

發表人: udittmer
5 年 前
Sorry for the late reply, I'm just noticing this. The first URL is the correct one as it points to the trunk rather than one of the branches.

發表人: udittmer
5 年 前
As to changing the look, it depends on how far you want to go. https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/src/main/resources/templates/default/styles/style.css has a lot of the colors and fonts and such.

As to moving things around, that would concern the template files. An easy start into that might be the templates for the mobile-optimized pages in https://sourceforge.net/p/jforum2/code/HEAD/tree/trunk/src/main/resources/templates/default/mobile/ as those are a lot simpler than the templates for the desktop look. (Note that the mobile look also has its own CSS definitions.)




會員註冊 / 登入  |  電腦版  |  Jump to top of page