Posted: January 19th, 2012 | Author: Tomita Militaru | Filed under: TYPO3 Extensions | No Comments »
I’ve found a bug in the current version of sr_feuser_register (2.6.1) which happens when user confirmation via email is activated and more than one user group is assigned to the typoscript setting userGroupAfterConfirmation.
A quick fix is to use the patch I’ve created on the TYPO3 Forge page for sr_feuser_register. More details on this bug issue.
Posted: November 7th, 2011 | Author: Tomita Militaru | Filed under: TYPO3 | Tags: cobj, getimgresource, imagemagick, typo3 | No Comments »
This is something easy to miss when you try to make a resized copy of an image using the method getImgResource from the content object. Always check that your server has installed imagemagick, for Debian, the command to install:
apt-get update
apt-get install imagemagick
To generate an image from PHP:
$conf['file.']['width'] = '200';
$conf[file.]['height'] = '300';
$conf['file] = uploads/tx_extension/pathtoimage.jpg
$image = $this->cObj->getImgResource($conf['file'], $conf['file.']);
The function returns an array with the new image information, $image[3] contains the path to the new file. More details about the function here.
Posted: November 1st, 2011 | Author: Tomita Militaru | Filed under: TYPO3, TYPO3 Extensions | Tags: 1.1.1, 1.2.0, 4.6, direct, mail, subscription, typo3 | 1 Comment »
This will be a quick & short article. I needed to implement the extension Direct Mail Subscription in a project together with Direct Mail and noticed that the extension DMS was not working on TYPO3 4.6, on frontend the forms were not loading, only blank page.
After I contacted the extension owner, Ivan Dharma Kartolo was kind enough to do a release with a compatibility fix for Direct Mail Subscription so it would work on TYPO3 4.6. So, as of DMS 1.2.0, the extension is working properly on higher versions of TYPO3 4.6.
TER URL: http://typo3.org/extensions/repository/view/direct_mail_subscription/current/
Forge URL: http://forge.typo3.org/projects/extension-direct_mail_subscription
Posted: February 7th, 2011 | Author: Tomita Militaru | Filed under: Linux | Tags: debian, device, manager, network, squeeze | 1 Comment »
After attending the release party for Debian Squeeze organized by SbLUG, I was eager to try the new release of Debian. I’ve downloaded a net-install ISO and proceeded with the install. The installer barely changed, same steps, only some images changed, rather disappointing considering the time between releases. Connecting to a wireless network from the installer still is a pain in the ass. Make sure you know the name of the connection as no detection for wireless networks exists.
But this article is focused on a frustrating problem I had once it got installed. The Network Manager reported for my wireless “device not managed” and since I only have a wireless connection I was stranded without Internet. Good thing for my Blackberry & data plan as I found quickly a solution. Just go to the file /etc/NetworkManager/NetworkManager.conf and make sure you set “managed=true” instead of “false”. Should look something like this:
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=true
This problem is not new, as they would say on my favorite SCI-FI show: “This happened before and it will happen again”
Posted: February 1st, 2011 | Author: Tomita Militaru | Filed under: Linux, Release Party | Tags: debian, linux, relesae party, squeeze | 1 Comment »
As the new version of Debian is about to be launched in 5 days, the Linux User Group in Sibiu is preparing a traditional release party for the well known distribution at Haller Cafe on 5th February 7 PM local time.
The event will be divided in 3 parts: contributions to the Debian project, beer & comments on Squeeze and possible some bowling in the end.
More details here or subscribe to SbLUG mailing list.
Posted: February 1st, 2011 | Author: Tomita Militaru | Filed under: TYPO3 Extensions | Tags: extension, ter, tm_pastebin, typo3 | No Comments »
I was planning for a long time now to have my own tech blog after writing on my personal blog for more than 5 years now.
Some time ago I needed to have a TYPO3 extension that would make use of Pastebin, web application which allows to upload source code and generate a highlighted snipped, to input source code and generate a Pastebin URL with the given code. As I couldn’t find such an extension on the TER, I’ve quickly made my first extension called TM Pastebin (tm_pastebin) and uploaded it to the TER. In the near future I hope to improve it as it is way too simple.
You may download TM Pastebin here.