everyone.
is there a way to add custom month names to the custom locale Fullcalendar ?
I have tried locale, but custom locale does't include. any custom days name or custom months name
I have serached alot with no. good explination.
please any help
This is based on what's in the JavaScript DateTime object and what is output will depend on your browser and fullCalendar locale settings. There some options to configure exactly what is displayed, which might help you, depending on what precisely you want to change - see https://fullcalendar.io/docs/date-formatting
Related
Is it possible to have the Page Picker input hyperlink field to have a default value be the current page? I know you can specify a selected page but if this was automized then it would aid UX, thx
At the moment this is not possible yet. A future version of 2sxc (ca. 9.12 or 9.15) will change page-picking forever :). We will create a PagesDataSource which will then allow for very flexible setups - incl. special filters, queries etc.
So we won't add any more features to page-picking till that is out.
I have a tag in GTM that I want to use only between two dates let's say, between 21-02-2017 20:00 and 22-02-2017 10:00. Is there any built-in way to achieve this.
I could probably make a custom variable JS that gets some date from user's browser, make sure it's utc and write a custom JS trigger that checks this date, but it seems very convoluted and error prone. Isn't there a better way to do this?
P.S. Googling for things related to GTM with the word "date" is pointless because according to google "date" = "data" and GTM just happens to use DataLayer...
After replacing "date" with "utc" I did finally manage to get some results. Turns out, if I want something as simple firing a tag between two dates, I don't need to use a trigger. Instead I can set both dates in the advanced settings of the tag in question after I check the Enable custom tag firing schedule option.
However anything more complicated than that will likely require using custom JS variables and triggers. This page explains how to get those more complicated cases to work (and working around user's time zone to get current time in a variable).
Update: Using JS might still be the only viable option as the built in functionality doesn't seem to work. If you enable the option, set a schedule save the tag, and then edit the tag again, the schedule will be gone and the tag will continue to fire regardless of what was entered in the start and end date fields.
The issue is described in this thread (that no one ever bothered to respond to).
I just started to work with Drupal modules. I have seen in some codes that some elements and properties (if I called them correctly, # for property) are assign to the $form. I have been googling but I couldn't find any useful document that shows this variable (again if I called it correctly) what kind of properties and elements has and in which tables it store?
and how can I debug them ?
i.e. $account_form=&$form;
$account_form['name']['#suffix']
I have check profile.module but it didn't help me!
TNX
If you have a php debuger in your editor you can use it to find out what variables you have. On the other hand you can use print_r($form); and that will show you the array(hint in browser user CTRL+U to see the source, you'll find that in the source the form array looks nicer), or you can use var_dump().
If you want to create the form, and you want to know what options do you have, there is the Drupal Form Api( https://api.drupal.org/api/drupal/developer%21topics%21forms_api_reference.html/7 ).
This is my first time using Views in Drupal and am finding that no matter what I do, I can't seem to get my output to sort on any field at all.
I'm using the views_bonus_pack to create xml output, but not sure if that matters.
I've tried the post date field, the node Id field, the node title field, and... the output is always the same.
Any ideas?
[Update, here are screenshots of what I'm working with]
http://emberapp.com/evanmcd/images/settings-2/sizes/m.png
http://emberapp.com/evanmcd/images/untitled/sizes/m.png
And, here's the resulting XML
http://www.mapendo.org/media_viewer/items.xml
Thanks to anyone who can help.
Evan
The sort criteria are listed to the right side.
Views screenshot http://img.skitch.com/20100715-jcfqnsu8mty6r7mexeyxsis4f4.png
If you changed the sort criteria trying to get differently sorted data without to obtain any difference, then there are just two possibilities:
The sort criteria are not used for feeds; it's rather improbable.
The style plugin module has an issue, and it's not working as it should.
If Views Bonus Pack is implementing a style, each style has its own settings that change the output produced by the style. When you click on the wheel close the style name, you would see some settings fields for that purpose.
Views style http://img.skitch.com/20100711-x3ag3ew6q33r3sje36qdnd4fti.jpg
Views style settings http://img.skitch.com/20100711-mfa6xnx3ca5261uxyq5w6j75g8.jpg
how can I disable automatically converting WWW.SOMETHING into a link in Drupal?
I just want to display URL , don't create a like.
This must be done per page, as some of the pages need to have it works as links.
so is there a special TAG or something to tell DRUPAL not to convert it to linkable text?
Auto conversion of URLs into links is handled by the "input format" specified for the node.
To avoid this happening for a specific node, create a new input format where the Url Filter is not enabled.
You can change the input format. Create one that matches your default and remove the URL filter (which is responsible for this). Then you can select it as input format for one node only, if you like.
The input format is probably the best solution, but a quick and dirty trick I have used on the rare occasion I needed to thwart auto-linking was to break up the non-url with formatting tags.
For example, if Drupal was converting www.foobar to a link, I would code the text as follows:
<i>www</i>.foobar
Not pretty, but I does the job if you are in a pinch.