[TYPO3-english] How to view php code of a page

Steffen Gebert steffen.gebert at typo3.org
Sun Jul 14 17:38:53 CEST 2013

Hash: SHA1

Okay, can be different content elements / plugins attached to that page.

Open the TYPO3 backend end navigate through the page tree to the page
with id 8 (when you hover over the page icon, you get its ID displayed -
or you can use the filter above the tree and enter 8).

Then have a look, what plugins are used there.
There should be at least one (which is not "Text", "Text with Image" or

These plugins originate from TYPO3 extensions, which are located in
typo3conf/ext/. When you view the source code of the frontend output you
might be also able to identify the used extension (search for "tx-").

Once you've located the used extension, you can have a look at its code
in typo3conf/ext/your-ext-name/pi1/ (for old-school pi-base extensions)
or typo3conf/ext/your-ext-name/Classes/ (for modern "extbase" MVC

Kind regards

- -- 
Steffen Gebert
TYPO3 Server Administration Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

My wish list:

On 7/14/13 5:04 PM, Andrey Vasilyev wrote:
> Hi Philipp,
> Actually, I do have a clue about software development ;) And I am able to debug the code using XDebug and stuff... I am a bit new to PHP world though and I am just learning about TYPO3 architecture, so my questions might sound a bit clueless. Guess I need to learn more.
> Thanks for the answer,
> Andrey.
> ----- Original Message -----
> From: Philipp Gampe
> Sent: 07/14/13 06:31 PM
> To: typo3-english at lists.typo3.org
> Subject: Re: [TYPO3-english] How to view php code of a page
> Hi Andrey, Andrey Vasilyev wrote: > Say I have a form with submit action "index.php?id=8". And I would like to > check what php code is in the page with id 8, so I could debug strange > behaviour. Is it at all possible? As you do not have any clue about the basics of programming, this will be impossible for you. In general, the answer is yes. Most people use a debugger to debug strange behavior. They attach the debugger to the request and have a look at the control flow. At least for TYPO3 CMS, there is not specific PHP code for a special ID, besides the usual code to render a page. Best regards -- Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln Documentation – Active contributor TYPO3 CMS TYPO3 .... inspiring people to share! _______________________________________________ TYPO3-english mailing list TYPO3-english at lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/


More information about the TYPO3-english mailing list