FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  • Welcome
  • Guest

How to display cms_modactions.tpl without overall_header.tpl

 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components
View previous topic :: View next topic  
Author Message
Myles
Craftsman
Craftsman
FLAG

Virtual Cash: 4070

Joined: 24 Sep 2007
Posts: 354


Location: Dublin
Add Karma

rated by 3 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 16, 2010 5:50 pm    Post subject: How to display cms_modactions.tpl without overall_header.tpl  Reply with quote

URL: http://footballitalia.myfastforum.org

Templates: cms_modactions.tpl, viewtopic_body.tpl

Keywords: popup, modactions


The popup window for the report portal displays without the forum overall_header.tpl, which is how i want the modactions portal to display also.

My cms_report.tpl displays like...


However, my cms_modactions.tpl displays the header like...


My code in the viewtopic_body.tpl is as follows...
Code:
<a title="Report this post" href="javascript:void(0)" onclick="window.open('/action.php?action=REPORT&popup=1&p={postrow.POST_ID}','report','height = 320, width = 500')"><img src="/templates/myfs_footballitalia2/images/posticon_report.jpg" border="0"></a>

<!-- IF S_USER_LEVEL > 0 -->
<a title="Moderate User" href="javascript:void(0)" onclick="window.open('/action.php?action=MODACTIONS&popup=2&u={postrow.POSTER_ID}','modactions','height = 600, width = 800')">Moderate User</a>
<!-- ENDIF -->


Is there a way that the popup for the modactions portal can display without the header?

Thanks
_________________
Football Italia Forum | @calcioitalia
Back to top
View user's profile Send private message Visit poster's website
myff admin
Site Admin
Site Admin
FLAG

Virtual Cash: 92930

Joined: 22 May 2005
Posts: 32207



Add Karma

rated by 281 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 16, 2010 6:20 pm    Post subject: Reply with quote

try popup=1 rather than popup=2 in the link that launches the modactions.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Back to top
View user's profile Send private message Visit poster's website
Myles
Craftsman
Craftsman
FLAG

Virtual Cash: 4070

Joined: 24 Sep 2007
Posts: 354


Location: Dublin
Add Karma

rated by 3 members
Add Comment
Show Comments


online/offline
PostPosted: Mon Aug 16, 2010 6:34 pm    Post subject: Reply with quote

Excellent! Thanks that worked.





_________________
Football Italia Forum | @calcioitalia
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Portal components All times are GMT
Page 1 of 1
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum