Karthik
Karthik

Reputation: 103

Typo3 Page content not visbile in frontend

I have created an extension and added to a page when I executed page got a blank page. Then I inspected through view-source of browser the contents are there. but not visible.

The view was visible on Typo3 v7 local, but not on the server.

I have Checked the Debug functionality through the controller that also didn't display on front-end, But is visible as source code

Should anything to be done more? Any idea?

Thank you

Upvotes: 0

Views: 1189

Answers (1)

Bernd Wilke πφ
Bernd Wilke πφ

Reputation: 10791

That does not sound like a problem of TYPO3 than a problem with CSS.
If the HTML markup is available at the browser but not visible the browser has decided not to show it. And that probably is CSS. Use the browser debugger (firebug, inspector, ...) to identify which CSS hides the content.

Also Javascript might interact as it could change visibility after page submit. (try to load the page with deactivated javascript)

In the end it could be an additional or missing div tag or css class that is responsible and you could configure TYPO3 to change the HTML markup in the way so that your content is not hidden.

If you have one server where the content is visible and one where it is not shown you may do a diff on a page to find the difference between these servers. The HTML could be the same if CSS and/or Javascript is different.
I would save the same page from both servers localy (with all CSS and JS) and do a tree diff with a tool like kdiff3

Upvotes: 1

Related Questions