Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JForum
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Ron McLeod
Paul Clapham
Tim Cooke
Devaka Cooray
Sheriffs:
Liutauras Vilda
paul wheaton
Rob Spoor
Saloon Keepers:
Tim Moores
Stephan van Hulst
Tim Holloway
Piet Souris
Mikalai Zaikin
Bartenders:
Carey Brown
Roland Mueller
Forum:
JForum
Move topic
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hello,
my question is:
when I move a topic to a another forum, the moved topic is still shown in the source forum.
Is ist possible that the moved topic only displayed in the destination forum???
Thank you for answering my question.
Reci
[originally posted on jforum.net by ManagerReci]
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please note that only a reference to that topic is shown - e.g, there is no duplicated record.
If you really don't want to show this tip, you can change the template forums_show.htm and remove the respective code.
Rafael
[originally posted on jforum.net by Rafael Steil]
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
where is the respective code?
<#if (topic.title?length == 0)> No Subject <#else> ${topic.title?html} </#if>
${topic.title?html}
:?:
[originally posted on jforum.net by ManagerReci]
Migrated From Jforum.net
Ranch Hand
Posts: 17424
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I solve the problem this way:
<#if (topic.forumId) == (forum.id)>
show topics
</#>
is there a better way to fix this problem :?:
<#if (topic.forumId) == (forum.id)> <tr class="bg_small_yellow" > <td ${class1} ><@presentation.folderImage topic/></td> <td ${class1} > <#if topic.hasAttach() && attachmentsEnabled> <img /> </#if> <span class="topictitle"> <a /posts/list/${topic.id}")}" rel="nofollow"> <#if topic.vote>${I18n.getMessage("ForumListing.pollLabel")}</#if> <#if (topic.title?length == 0)>No Subject<#else> ${topic.title?html} </#if> </a> </span> <#if topic.paginate> <span class="gensmall"><br /> <@pagination.littlePostPagination topic.id, postsPerPage, topic.totalReplies/> </span> </#if> </td> <td ${class3} > <span class="name"> <a /user/profile/${topic.postedBy.id}")}" rel="nofollow">${topic.postedBy.username}</a> </span> </td> <td ${class2} ><span class="postdetails">${topic.totalViews}</span></td> <#if moderator && openModeration?default(false)> <td ${class2} > <input type="checkbox" ><#if topic.movedId != 0 && topic.forumId != forum.id>disabled="disabled" </#if> name="topic_id" value="${topic.id}" onclick="changeTrClass(this, ${topic_index});"/> </td> </#if> </tr> </#if>
[originally posted on jforum.net by ManagerReci]
Looky! I'm being abducted by space aliens! Me and this tiny ad!
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JDBC Drivers
NOKIA International Series 40 HackAthon
Inavlid Datasource Reference (Naming Exception)
JComponent.revalidate()
Moved topics
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
More...