Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7749745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:06:58+00:00 2026-06-01T11:06:58+00:00

I have page, i can contact directly without any problems. http://www.mysite.com/app_dev.php/comments/22 the page shows

  • 0

I have page, i can contact directly without any problems.

http://www.mysite.com/app_dev.php/comments/22

the page shows a simple Text-form element and a row of comments for the thread 22…and i can submit a new comment without any problems

But when i put this page, in a tabs like this,

<div id="tabs">
<ul>
    <li><a href="#infotab">Information</a></li>
    <li><a href="{{ path('comment', { 'torrent_id': filedata.fid })  }}" >Comments</a>       </li>

</ul>

it shows the simple Form, but does not show the comments….so the routing does not seem to work properly…..any workaround on this?…and also filling the field with a comment does not work (it does not persist it to DB, without showing errors).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:06:59+00:00Added an answer on June 1, 2026 at 11:06 am

    jQuery tabs use AJAX to fetch the page. If that URL is returning full HTML that could be your problem. To avoid returning full HTML on an ajax request, I often have my templates use a conditional extension.

    {% extends app.request.isXmlHttpRequest ? "MyBundle::ajax.html.twig" : "::base.html.twig" %}
    

    MyBundle::ajax.html.twig is a very simple template that simply renders my body block inside a <div>. Using this method when you visit the page directly you get a full HTML page complete with stylesheets and javascript. An ajax request gets only the body and assumes the page loading it already has the CSS and javascript it needs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an old site www.mysite.com/index.php and a new site www.mysite.com/cms/index.php How is the
Background info I have an app where users can make microsites ala http://myname.the_app.com .
We have a hosted application that manages pages of content. Each page can have
I have a table of pages in my database, each page can have a
I have page which is redirected from htaccess. now I can pass the German
Let's say you have a profile page that can only be accessed by the
I have two related tables in my database: Page and Tag. One Page can
For an unknown reason, I have 1 page that I can't access by ID
I have a page upon which a user can choose up to many different
I have a page where a user can import data to the site. either

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.