SEO optimization

how SEO optimization in drupal?,
sorry i newbie .. :)

____________________________________________
my site : BakulVoucher + Diskon

Drupal 8: How to use a service inside a block plugin?

Situation:

I've built a hello world module for fun, and I've created a service that does a little processing of the hello world text.

It's easy enough to inject this service into a CONTROLLER, but how do I inject it into a block plugin?

Basically, I have this HelloText::getText() function that I'm calling in HelloController::hello(), but how do I use it in HelloBlock::build() ?

ContainerInjectionInterface appears to be something usable only by blocks.. and I don't see an equivalent syntax for supplying services via hello.routing.yml (using arguments).

nullcod: A new online IDE + code generation tool for Drupal developers (or "The drupal IDE that writes code for you").

Hi All,

When working on different Drupal projects I have faced a problem of repeatedly implementing certain features by code. Usually what I do is copy the code from some old modules/theme and customize it for the new requirements. I think most people use the same approach in this scenario.

I think we can automate much of this process by creating a code generation tool that maintains templates for most common functionalities. With this tool we can customize the template for the specific functionality and generate a Drupal component like module/theme/profile. Developers can share their templates for this tool. I am sure this tool will reduce the development cost and improve the developer experience(DX) of Drupal.

I decided to create an IDE for Drupal with this code generation functionality. I was thinking about creating an eclipse plugin for Drupal. But the eclipse plugin API is continuously changing and since I am not very fluent in java, I decided to create an online IDE in Drupal itself.

I have created a basic prototype of the IDE. Though this alpha prototype is ready to demonstrate the basic concept, I feel there is a lot that can be done and there are lot of bugs that need to be resolved. Now I want your guidance and suggestions to take this project to the next level.

You can check out the prototype here: www.nullcod.com

How to add module dependency to jquery.effects

How do I add dependencies to the jquery.effects.*.min.js files using the module *.info file?

Wamp server on windows 8.1 cache and mysql performance slow

Hi,

I want to understand that why when we do any cache related job on localhost in wampserver the performance is very slow. For instance, enabling a new module, or clearing the cache or importing database.
I am using latest wampserverx86 on my Windows 8.1 x64 machine.

Thanks to anyone who can throw light on this issue,
P.

what time drupal 8 release

hi all
i want to choose drupal for my work(project), and i dont know which one is best for start? Drupal 7 or drupal 8?
what time drupal 8 release finally?
if i choose drupal 7 for my project, is it problem for switch from 7 to 8?
please help me.
thanks for every one.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x