- You are here:
- Main › Forum › Suggestions and Proposals
viewtopic and view forum
4 posts
• Page 1 of 1
-
- Meis@M
- Posts: 8
- Joined: Tue Jul 05, 2011 8:23 am
Thu Jul 07, 2011 7:41 am • via Web
Hi
i have many mod in my forum and installed many mod in topic and forums. when i active the block in viewtopic and viewforum all of my mods is deactive. because there is a files portal_viewforum_body and portal_viewtopic_body that this files has not my mods and it is difficult add all mods in these files. so any way to add blocks to forums and topics without use portal_viewforum_body & portal_viewtopic_body ?
i have many mod in my forum and installed many mod in topic and forums. when i active the block in viewtopic and viewforum all of my mods is deactive. because there is a files portal_viewforum_body and portal_viewtopic_body that this files has not my mods and it is difficult add all mods in these files. so any way to add blocks to forums and topics without use portal_viewforum_body & portal_viewtopic_body ?
- IvanPF
- Administrator
- Posts: 2029
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Thu Jul 07, 2011 4:51 pm • via Web
portal_viewtopic_body and portal_viewforum_body templates are basically a copy of viewform and viewtopic templates with the codes to the blocks.
All important content, is among:
You can directly copy the viewforum and viewtopic content and paste it into portal_viewforum and portal_viewtopic between these labels by looking where the code starts and ends.
All important content, is among:
<!-- [+] center block area --> Original content <!-- [-] center block area -->
You can directly copy the viewforum and viewtopic content and paste it into portal_viewforum and portal_viewtopic between these labels by looking where the code starts and ends.
-
- Meis@M
- Posts: 8
- Joined: Tue Jul 05, 2011 8:23 am
Thu Jul 07, 2011 5:55 pm • via Web
is there any XMl file for helping? FAQ ?
i confused.
i confused.
- IvanPF
- Administrator
- Posts: 2029
- Joined: Fri Jun 17, 2011 12:15 am
- Location: España (Spain)
Thu Jul 07, 2011 6:39 pm • via Web
No exist any guide for this because not is a standard use of cBB Portal.
But, its easy, for example, with "portal_viewforum_body" and "viewforum_body" templates:
In "portal_viewforum_body":
Find:
And:
The code between these tags is the original "viewforum_body" code.
The code starting with:
And finish with:
You just have to look at "viewforum_body" the code from this beginning and this end, and replace the equivalent "portal_viewforum_body" code by the "viewforum_body" code
But, its easy, for example, with "portal_viewforum_body" and "viewforum_body" templates:
In "portal_viewforum_body":
Find:
- Code: Select all
<!-- [+] center block area -->
<td valign="top">
And:
- Code: Select all
</td>
<!-- [-] center block area -->
The code between these tags is the original "viewforum_body" code.
The code starting with:
- Code: Select all
<!-- IF S_HAS_SUBFORUM -->
<!-- IF not S_IS_BOT and U_MARK_FORUMS -->
And finish with:
- Code: Select all
<!-- ENDIF -->
<!-- INCLUDE jumpbox.html -->
You just have to look at "viewforum_body" the code from this beginning and this end, and replace the equivalent "portal_viewforum_body" code by the "viewforum_body" code
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests
- External Links
- phpBB Official
- phpBB Official (Spanish)
- Raul Arroyo Monzo
- PasionReef
- About CaniDev
- Terms of use
- Privacy Policy
- About Us
- Contact
- © 2011-2024 CaniDev