In my current Drupal project I had the problem, that my client wanted to show the number of all Organic Groups together on the home page. The solution for the problem wrote md on the german Drupalforum. Thanks again. To show the number of any created contents of a content type, just take this small PHP Code and embed it into your drupal homepage or block or anywhere you want:
If you want to set the @author tag via Code Templates, you probably want to configure the name behind the tag. By default Eclipse takes your account name of your OS. If you want to set another name, you have to edit the eclipse.ini and add the following line:
Now your name will appear behind the tag.
If you install the m2eclipse Plugin for the Maven Integration in Eclipse, this Error could possibly be shown in the Eclipse console:
Eclipse is running in a JRE, but a JDK is required
Some Maven plugins may not work when importing projects or updating source folders.
If you have this issue, you should edit your eclipse.ini and add the following lines (on a Windows System) :
Now your Eclipse should use the JDK to run with and the m2eclipse plugin should be happy.
By default only a few areas of the ntop webinterface have restricted access. To secure the whole ntop webinterface follow these instructions:
- Navigate to „Admin -> Configure -> Protect URLs“.
- Click „Add URL“.
- Leave the field empty and klick „Add URL“
Now your whole webinterface of ntop is secured and only your defined users have access to the webinterface.
Today it took me the whole day to check out this small dirty trick:
If you are using the Drupal Theme Pixture Reloaded, all changes in your style.css are not applied automatically. Like every other Drupal Theme, which supports the Colour Module, you have to klick „Save Configuration“ in your theme configuration dialog. Only after klicking it, your style.css gets read out. Otherwise your old cached css file is used.
After that i had another problem: My Theme was broken after reading the style.css out. I just had to delete the /sites/default/files/color folder and everything worked fine again.
If you want to start Apache via XAMPP, but it won’t start, most likely another application listens to port 80. Very often this „problem-application“ is Skype. There are two possible approaches:
- You start Apache before you start the Skype client.
- You deactivate Skypes feature to listen to port 80 and 443. You can do this via the settings dialog. Just uncheck „Use port 80 and 443 as alternatives for incoming connections.
Now everything should be fine.