[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


-----BEGIN PGP SIGNED MESSAGE-----
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
so..).

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
extensions).

Kind regards
Steffen

- -- 
Steffen Gebert
TYPO3 Server Administration Team Member

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

My wish list:
https://www.amazon.de/registry/wishlist/922E3JYSQ7CV/ref=cm_wl_sb_v?sort=priority

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.19 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJR4sYNAAoJEIskG/rSlyw4AQAH+wXUc4MDppx6w+MnLwzRq+MQ
4ANJ1MVlWN8VzrtilMfIKNPflz9jWdmROrQO6d6ksQrnqFZtzu+X6eeuqIrnFoHS
PaJ6tedhj2AppSLtrsX1KG4cNDE6UKcvW1w+pUBW4ckJ9vaVGzYX9XQgHk7NJIO4
a3zbZuHVw8IVFF9TAjO7rSL7RqZPgwpqCbyQmeuB4Is/gHX1tT7LHdBPbboimb2/
UfZdSOT0gldJNsi2ApXXctaBNb9bKYAtNcXhcpj8KshCkHcqWsQSna42IMyf9pkL
iHl2vK7aWbPS1eJdaxEw+KZUCPdAHMbaMdbmBWCBsBIxfwosM/Y50mreF2HKHp4=
=WmFE
-----END PGP SIGNATURE-----


More information about the TYPO3-english mailing list