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.
Not a member yet? Click here to register.
Forgot Password?

Custom panels in news or forum threads

Asked Modified Viewed 1,448 times
K
kopko
K
kopko 10
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions
asked
Junior Member

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
0 replies

1 post

K
KasteR
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
answered
Senior Member

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:
if(FUSION_SELF == 'news.php' && isset($_GET['readmore']) && !empty($_GET['readmore']))
   {
      # your code here
   }
0 replies

Category Forum

Panels and Infusions

Labels

None yet

Statistics

  • Views 0 views
  • Posts 1 post
  • Votes 0 votes
  • Topic users 2 members

2 participants

K
K
KasteR 10
  • Senior Member, joined since
  • Contributed 290 posts on the community forums.
  • Started 1 thread in the forums
K
K
kopko 10
  • Junior Member, joined since
  • Contributed 24 posts on the community forums.
  • Started 6 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet