Kategorie: PHP

Forked PHP TMDB Library

Since the original developer wasn’t responding and I really need this fast I decided to fork the original TMDB PHP library located here: https://github.com/pixelead0/tmdb_v3-PHP-API- The fork is called tmdbphp and is located here: https://github.com/steffmeister/tmdbphp I updated it with a few fixes and additional methods. Feedback is welcome.

Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/forked-php-tmdb-library/

5 „good-to-know-basics“ of Joomla component development

I just developed a Joomla 1.6 component for a private project and came across some things which I believe are good to know. So I decided to note 5 things here: Include JavaScript / CSS files Adding a JavaScript or CSS file to the header section of the HTML is quite simple and elegant (well …


Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/5-good-to-know-basics-of-joomla-component-development/

Copy SQL records

Just found myself needing a way to copy and modify SQL records in one process. I came up with the following PHP code which is rather ugly but works: // open mysql connection and stuff … // select rows you want to copy, adapt as needed $result = mysql_query("SELECT * FROM downloads WHERE pid=2"); // …


Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/copy-sql-records/

Selfmade TYPO3 backend modul: scrollbar problem

While programming a typo3 extension I came across the following problem: my backend module didn’t show any scrollbars. This made it impossible to scroll down to the end of a list to view all elements. After some looking around I found the CSS class typo3-mod-php which has set the property „overflow“ to „hidden“. Seems to …


Permanentlink zu diesem Beitrag: https://techblog.steffmeister.at/selfmade-typo3-backend-modul-scrollbar-problem/