發表人 |
內容 |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#1
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
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 .......
|
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#2
|
udittmer
註冊時間: 2013/2/21
文章: 422
離線
|
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.
|
Ping & Net - my free Android app for TCP/IP network diagnostics |
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#3
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
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
|
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#4
|
udittmer
註冊時間: 2013/2/21
文章: 422
離線
|
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.
|
Ping & Net - my free Android app for TCP/IP network diagnostics |
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#5
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
the 3 things should be added by the admin from control panel page
|
檔案名稱 |
CHANGES.png |
下載
|
描述 |
沒有檔案註解存在 |
檔案大小 |
57 Kbytes
|
下載次數: |
40195 次 |
|
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#6
|
udittmer
註冊時間: 2013/2/21
文章: 422
離線
|
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.
|
Ping & Net - my free Android app for TCP/IP network diagnostics |
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#7
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
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
|
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#8
|
udittmer
註冊時間: 2013/2/21
文章: 422
離線
|
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.
|
Ping & Net - my free Android app for TCP/IP network diagnostics |
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#9
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
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
|
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#10
|
udittmer
註冊時間: 2013/2/21
文章: 422
離線
|
Suggestions for what? The base forum software can't do this, so you will have to develop it. Are you prepared to do that?
|
Ping & Net - my free Android app for TCP/IP network diagnostics |
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#11
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
yes
|
|
![](/templates/default/images/spacer.gif) |
8 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#12
|
udittmer
註冊時間: 2013/2/21
文章: 422
離線
|
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.
|
Ping & Net - my free Android app for TCP/IP network diagnostics |
|
![](/templates/default/images/spacer.gif) |
7 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#13
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
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
|
|
![](/templates/default/images/spacer.gif) |
7 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#14
|
udittmer
註冊時間: 2013/2/21
文章: 422
離線
|
The one I mentioned earlier in this topic when you first asked about this.
|
Ping & Net - my free Android app for TCP/IP network diagnostics |
|
![](/templates/default/images/spacer.gif) |
7 年 前
|
![[Up]](/templates/default/images/icon_up.gif)
#15
|
chandumahesh.k@rsninfotech.com
註冊時間: 2016/9/23
文章: 32
離線
|
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
|
|
![](/templates/default/images/spacer.gif) |
|