Skip to content

Insane in the Main Frame

I am Ophidia, programmer.

  • Home
  • Deutsch
  • English

Month: July 2015

TCA: visibility of fields dependant on select value

17. July 2015 ophidiaTypo3

The problem: depending on the chosen value of a select ‘Type’, certain fields should be hidden or visible. If the selected value is “Type A” or “Type B”, the field “val” should be visible, if the selected value is “Type […]

Read more

Extbase: handle images in model

16. July 2015 ophidiaTypo3

If a model needs an image, it seems to be a good idea to do this via filereference. First, there is the definition of what we may call $image in our model: /** * image * * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference */ […]

Read more

Typo3: variables, editable in backend

15. July 2015 ophidiaTypo3

There is an easy way to define minor variables and make them editable in the typo3 backend. It can be done via extension settings. Just add in the constants.txt: # cat=plugin.tx_extensionname//a; type=int+; label=How many loops should there be? loopCount = […]

Read more

settings empty -> include static template

9. July 2015 ophidiaTypo3

The problem: in constants.txt and setup.txt of my new extbase extension I had defined a storagePid and wanted to access this in my controller. But for some reason $this->settings did not contain the storagePid, despite deleting the cache multiple times. […]

Read more
  • Privacy
  • Contact
  • RSS
Powered by WordPress | Theme: Astrid by aThemes.