Typo3 TypoScript, display plugin - typo3

I try to create a simple hello world plugin for Typo3. I have the code and all is fine, plugin is installed and i added it to the page as a content. But the controller is never called and templates are never rendered.
I followed this tutorial https://docs.typo3.org/typo3cms/ExtbaseFluidBook/4-FirstExtension/Index.html
and even installed their extension from github. No effects, Typo3 wont render anything. Pls, send help.
EDIT
I just installed a "Preconfigured Distribution" from extensions manager and suddenly all plugins work. It will do for now, as long as I see my extension working.

Probably you just forgot to include the static TypoScript in the root-template for you page.
On the way to create manually extensions there can be many 'stones' which make it difficult to make it right or to find a fault, but the hint above is the first thing to verify / configure.
Usually for creating extensions another extension is used, it's called Extensions Builder and can be found here. This extension creates a lot of basic code and simplifies the first steps very much.

You have to make your TypoScript selectable in BE with this line in you ext_tables.php
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addStaticFile('yourextkey', 'Configuration/TypoScript', 'Title of your Extension');
After adding this line, clear the System-Cache (the "red one") and go to the Template-module in Backend.
While in template-module, select your rootpage in the pagetree. On the top you should see a dropdown menu where you have to select Info/Modify.
In the Info/Modify-Page, select Edit the whole template record and after this, swith to the tab Includes.
There you should see Selected Items and Available Items. Your Extension should be in the available items, where you select it and press the save button.
If you have done everything else correct, now your TypoScript setup should be loaded and your plugin should output something.

Related

TYPO3 site properties do not appear

In Typo3 (I am extremely new to it) I just set up a new installation. Under Template I inserted a few lines of TypoScript (which works) into a template on the "Home"-page in the tree.
Now, in the "Sites"-mode, I added some pages to the "Home"-page. When I click
on a page in this mode,
on the edit icon in list mode for a specific site in tree
the right side appears grey where normally I should see some properties.
The installation is installed by the hoster. Why is it?

Adding Line Height Drop Down to Tiny MCE Editor Tool Bar

We are using BlogEngine.Net for managing blog posts which has implemented version “3.9.2” of Tiny MCE Editor.
As per our requirement we want to add new control (dropdown) in tool bar of the editor to provide this line height option so that author of the blog post could set line height to any of the selected paragraphs. We even find a related link for this http://fiddle.tinymce.com/jAbaab but it didn’t work for me.
Can someone please help me on this?
Take a closer look at the way the style plugin works that gets shipped with Tinymce3. You can copy the plugin directory and apply your own changes there.
All you need to to is to get rid of the unwanted funtionality and rename the plugin (directory and in the code).
This TinyMCE plugin can help you.
https://github.com/castler/tinymce-line-height-plugin
Download and place it into your tinymce plugin folder.
It supports TinyMCE 4.

Sigplus and Aidanews2

I have problem with Aidanews2 and Sigplus gallery plugin.
My problem is that, in article there are sigplus gallery added like {gallery}mygallery{/gallery}. So the aidanews only shows the plain text {gallery}mygallery{/gallery}, but not gallery link.
I have set "Strip Plugins" in aidanews setting to "no", but it still wont work. Any options to get it work?
The problem is that Joomla does not automatically run plugins within a module. The "Strip Plugins" option is supposed to be used to strip out plugin code so it doesn't show up like it is in your case.
In order to make it work, you are going to have to change the the view for the module and have it run any plugins before outputting the content. You can get a pretty good idea of the code you need to add here - http://www.alltogetherasawhole.org/group/developers/forum/topics/running-joomla-content-plugins

How to add views to Show In menu for particular file types

I use an older plugin called Veloeclipse for editing Velocity templates in Eclipse. There's been no development on this since 2009, which isn't a problem because it's mainly just for syntax highlighting and format validation. The really annoying thing about it, however, is that when I try to do Show In to view the current Velocity template within my Package Explorer or Project Explorer, the only available option is Properties. That's not really useful. I really need to be able to get to the file in one of the regular explorer views.
So I have sort of two questions:
Is there a way to configure this without having to monkey with any code? A configuration file or something? I've grepped through my Eclipse installation and haven't seen anything, but I'm hoping that there's something I'm missing.
So assuming that the answer to my first question is no, how do I go about modifying the plugin code so that it will show more than the Properties view in the Show In menu? Most of what I found on the plugin development wiki comes from the other direction: how to make your view or perspective appear in the Show In menu.
Any help with this would be hugely appreciated!
Try to check the plugin source code. it might do something different than other editors. What I mean is that the show in menu item that you have there is not the usual extension point but a hard coded context menu option.

Removing text in the banner in a Windows Installer project

I'm using the standard Visual Studio deployment project and want to remove the text in the banner (the text that says "Welcome to the Your Project Setup Wizard".
I want to remove it because I want a custom banner and don't want the text written over the banner.
I can't see any properties in VS to allow this. Can it be done without prodding around in the .MSI?
Cheers,
Steve
You can "remove" the text by removing the Welcome dialog and replacing it with a custom dialog. In VS 2005 -
Right click on the Setup project in the solution explorer
Select View - User Interface
Under the Start group for Install and Administrative Install delete "Welcome"
Then you can add a "Textboxes (A)" dialog (right click the "Start" group and select Add Dialog) to the project, set the visible property for the text boxes to false. Move the Textboxes (A) up to the top of the "Start" sequence.
The properties for this dialog include:
BannerBitmap
BannerText
BodyText
This should allow you to control the look / feel (to a certain extent) of this new "Welcome" page.
I'd just like to add to this that sometimes creating a custom dialog is a pain in the rear and that you can follow the advice at http://social.msdn.microsoft.com/Forums/en-US/winformssetup/thread/5af7ff28-3dbb-4a8a-8d62-a09af9e32b29 to use a tool called InstEdit (http://www.instedit.com -- there is a free version) to edit the outputted installer and remove the BannerText
I don't believe there is an easy way (e.g. changing a property). I had the same problem recently. I couldn't find anything. Ended up using Orca to "prod around in the .msi". It seems the only thing you can alter easily is the language it's displayed in.