Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Custom panels in news or forum threads

Hello fusioners,

i need a little help again. I would like to use my custom panel with my own code in all and only news, /news.php?readmore=xxx
How do i manage to limit panel only to display at "read more" news section? I tried to play with it a bit, but no luck.

I also need the same way to apply custom panel only to forum thread, /forum/viewthread.php?thread_id=xxx

What exact url do i need to input to the "display panel on this page" input area.

thanks for any help
I do not believe that you can include a parameter for that feature. You'll have to add this functionality within your panel itself. Try something like this:
CodeDownload  
if(FUSION_SELF == 'news.php' && isset($_GET['readmore']) && !empty($_GET['readmore']))
   {
      # your code here
   }

Thread Information
Author
Replies
2 posts
Views
983 times
Last Post
Last updated on 5 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: KasteR, kopko