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

User Forum » admin panel

發表人: chandumahesh.k@rsninfotech.com
7 年 前
i want to add an image ,testimonal and a video in a single row .....and i want to get this whole thing done from admin panel .......

發表人: udittmer
7 年 前
 
and i want to get this whole thing done from admin panel .......

What do you mean by that? Posts -assuming that's what you're talking, it's not clear to me- are not done from within the admin panel. Please provide more information about what you intend to do.

發表人: chandumahesh.k@rsninfotech.com
7 年 前
after the ForumIndex i want to include a image ,a testimonal and a youtube video all of them in a single row and these should be added by the admin from configurations

發表人: udittmer
7 年 前
That's pretty much what you said before, but I'm unclear what you mean by it: What do you mean by "row"? Where would that "row" be displayed? Are you talking about HTML? Why do you think the admin panel config page would be a good place to do that? As I said, a lot more detail would help.

發表人: chandumahesh.k@rsninfotech.com
7 年 前
the 3 things should be added by the admin from control panel page

[Thumb - CHANGES.png]
檔案名稱 CHANGES.png
描述 沒有檔案註解存在
檔案大小 57 Kbytes
下載次數 36065 次
[Disk] 下載


發表人: udittmer
7 年 前
As long as whatever you want to add is text (or numbers or booleans, both of which are easily converted to and from text), like HTML, you can add it to the templates/default/admin/config_list.htm file. Other files that would need to be altered are the SystemGlobals.properties file (that's where the default values go) and the net.jforum.util.preferences.ConfigKeys class (where you define a Java constant that you will use to refer to the setting in your Java code). And of cause the Java classes and FreeMarker templates where you use them.

發表人: chandumahesh.k@rsninfotech.com
7 年 前
i want to display a video in the homepage i want to give some admin rights to user also allowing them to upload the video which will be displayed on the home page suggestions please

發表人: udittmer
7 年 前
You might be better off embedding videos hosted elsewhere rather than hosting them yourself. Check the bb_config.xml file for how videos from Youtube, Vimeo and others are embedded via BB codes; maybe that would work for you as well?

There are no provisions for displaying content on the home page exclusively; you could add something like the public announcement on the home page template (which is called forum_list.htm), and make that configurable from the admin panel configurations page. Having users edit that information without making them admins would be a big change, though.

發表人: chandumahesh.k@rsninfotech.com
7 年 前
i want moderate a group where user will post pictures ...i want to display one of the picture as picture of the month on the home screen suggestions please

發表人: udittmer
7 年 前
Suggestions for what? The base forum software can't do this, so you will have to develop it. Are you prepared to do that?

發表人: chandumahesh.k@rsninfotech.com
7 年 前
yes

發表人: udittmer
7 年 前
So the code for displaying the home page needs to look through all images that were uploaded in a particular forum, and then decide which one to display. I already mentioned which template is used for that page. The Java code is in the net.jforum.view.forum.ForumAction.list() method. Start by analyzing those two files so you understand how data is pulled together and displayed.

發表人: chandumahesh.k@rsninfotech.com
7 年 前
 
udittmer wrote:So the code for displaying the home page needs to look through all images that were uploaded in a particular forum, and then decide which one to display. I already mentioned which template is used for that page..



what is the template

發表人: udittmer
7 年 前
The one I mentioned earlier in this topic when you first asked about this.

發表人: chandumahesh.k@rsninfotech.com
7 年 前
 
chandumahesh.k@rsninfotech.com wrote:
udittmer wrote:So the code for displaying the home page needs to look through all images that were uploaded in a particular forum, and then decide which one to display. I already mentioned which template is used for that page..



mention which two files to analyze
 




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