I use i18n and I10n_client to translate English to Dutch in my web page, however some interface variables are not changing.
I searched 'Body' and tried to replace it with its Dutch word, but it doesn't take effect no matter what I do
http://imageshack.us/photo/my-images/831/searchbody1.png/
and
http://imageshack.us/photo/my-images/576/searchbody2.png
How can I change this type of built in interfaces? I can't change "Title" as well :(
you can download the translation file from
http://localize.drupal.org/
and import it in site_name/admin/build/translate/import
I hope it will help
Dutch is enough for me so I change the problematic labels to Dutch directly in the Edit content type form (go to Admin -> Content -> Content types, select edit for the one you want to change).
By setting a Title and Body label in the "Submission form settings" fieldset.
There is a bug report open for this, see http://drupal.org/node/1016006
I had the same problem with a german/chinese/english site. This is what helped for me
A very helpfull module is translation table. A perfect
table to do mass translation of
content types, cck taxonomy and menus
Goto /admin/build/translate/refresh
to recreate missing strings
Related
I have a basic Drupal instance installed on my local server. One of the requirements I have is that users should be able to post comments on a node/article using static options given to them.
For e.g., if a user opens an article, in the comment section, rather then showing them free text option to comment, a set of fixed text strings is presented to them like, "Great Job", "This is a great post", "Bravo!", also a set of images like an image of a chocolate, image of flowers is shown. To leave a comment, user has to select either a string or an image for comments.
Is there any drupal module that provides this functionality, or any way I can do this (I have basic/beginner knowledge on how to create a module for Drupal).
Thanks in advance!
You can achieve this by deleting comment_body field from Comment fields tab of content type & adding new field of type List(Text) with options of fixed text. Check screenshot below:
Step 1:
Step 2:
Step 3:
Probably Rate module helps you.
This module provides flexible widgets for your node and comments. You have to create a Custom rate.
It has dependencies with Voting Api. If you have a basic level with Drupal I think you can do it. You only need to install this module and dependencies, and then create a Custom rate for some content type.
It's a vague question and I've searched throughout the Google and come up short. I want to create a type of content called an Employee. He should have 2 pictures attached, some text, a Facebook profile (optional), etc. Can I create a content type to handle this? I've tried the Custom Post Type UI Plugin, but that still gives me a standard type of Post, just with a new category, essentially. That's not what I want. I want the Add / Edit post screen to have these options laid out. I can handle the static content just fine with Custom Fields. The hard part is the image uploads.
Any thoughts?
Wow, very easy to do with a plugin called Advanced Custom Fields
I've been making a template for a particular content type, but just ran into a problem: I need to embed a view into the content type.
I am aware this can be done via several different methods, but I don't see one that fits exactly my needs:
I need the view added automatically for all pages of that content type.
Using blocks in a region is not an option, as I want to avoid defining a region in the middle of a page that should only be available for a specific content type.
Translatable label.
Possibility to freely apply a template to all fields in the content type (excluding the embedded view).
I tried doing it via page layout (Panels) and simply adding node content fields and the view to my layout regions, but then I get another problem: I can't style my content fields without doing something that seems a bit over the top:
Currently I have about 20 different content fields in the content type that are wrapped in HTML and styled in my template file. I have a translated label for each of these in the template file. From what I can tell I'd have to add a template for each of the panes containing content fields to add my translated labels and HTML needed to style each field.
I'm not really fond of making 20 templates, 20 theme hook suggestions to get the templates to work and 20 regions in the panel layout just to get a view inserted in the content type.
Am I doing something terribly wrong here? Any suggestions?
You may want to try the Viewfield module or similar modules (search for "view field" or "view reference").
If you are doing something more complex like changing/filtering the view based on some value in your content type, then you may have to use Viewfield module in combination with something else that will help fill in the filter values.
I've never done something like this before so I'm not sure exactly what module combination would work but Rules or Computed Field come to mind as possible helpers.
You have to use "views node field" http://drupal.org/project/viewsnodefield, after installing this module you have to select the "Node content" in the display (like blocks,page). then click the add display. if you want to display the content like this page http://www.richtown.ae/?q=content/arabian-ranches then you have to download the views_galleriffic module and install it and choose the style option "Galleriffic Gallery". You can choose the content type by using the filter in the views.
That's it cheers
i implemented this in my website richtown.ae
if you still unclear please send me the email social#richtown.ae i will reply you & ready to help you we can share information
i am using this module in drupal 6.
I resorted to using the EVA module ( http://drupal.org/project/eva ).
In addition to Woodgnome's answer
Let's say you have a content type named 'Product'
You want to attach a view to it.
Here are the steps using the eva module :
On your view edit page :
Section Displays
+Add : Eva field
Section ENTITY CONTENT SETTINGS
Entity type:Node
Bundles:Product
That's it, going to a node product type will now display the view
I'm using blockcode and geshi module on my blog to highlight syntax in my posts. but everytime i edit a post with blockcode tags i have to disable ckeditor, because otherwise it will break my code, it inserts nbsp and br tags, which are visible in the post, or totally drop newlines. this is really annoying.
does someone know a way how to fix this!?
thanks a lot!
I'm not sure which module you are using to provide the ckeditor (ckeditor or wysiwyg module?), but the only thing I can think of would be to flat out prevent the editor from appearing for the specific field. I wish there was a way to run a snippet and check for a substring, and then display the editor based on that... but that would be fairly complicated to do.
The joy that is Drupal (notice the sarcasm) has a cleverer way to deal with this. I am using the CKEditor module.
Beneath every CKeditor WYSIWYG form field, you see the text:
CKEditor: the ID for excluding or including this element is {theme-name}:{path to field-name}
For one of my particular fields, specifically one that allows me to change the contents of a particular block, this becomes:
CKEditor: the ID for excluding or including this element is garland:admin/build/block/configure/block/10.edit-body
To not have CKEditor show up for this particular field, do this:
Go to your blocks administration page.
Find CKEditor.
Click on 'CKEditor' listed under the CKEditor block heading.
Figure out which is the relevant profile for you as an admin (probably by default this would be 'authenticated user').
Edit the relevant profile.
Click 'Visibility settings'.
"Use inclusion or exclusion mode:" is most probably set to "Exclusion". In the box labelled "Fields to exclude/include:" enter the line below the CKEditor box you want to get rid of. In my case "CKEditor: the ID for excluding or including this element is garland:admin/build/block/configure/block/10.edit-body"
Save
As the French say, "c'est tout".
I'm fairly new to Drupal and really only working on it for a client, but I've got a group of images I'm outputting into a list / gallery, however for a js I've written to do some nifty sorting and such, I need to have the keyword tags saved with the image to be output into the Alt field.
Is this a "replacement pattern" or even possible? Any resource links or code snippets would be greatly appreciated!
You can use tokens in imagefields if you enable the imagefield_tokens module. The taxonomy terms should be available as replacement patterns on the field settings form under "ALT text settings" (the token you probably want is [term-raw]).