jsidigital β created an issue.
@Shiraz dindar,
I am getting "Warning: Undefined variable $target_base_table" in watchdog.
As you mention, the patch applies but something is not correct since I am getting 17 of these warning labels everytime I clear cache.
I see you explained and even added your code, but I am confused.
Is there a patch that we can apply to fix this or how does your code work? How and what must we edit to make it apply?
Is it a custom module?
How do I know what views and what fields are using translation content? I have so many views, I have no idea where to start to try and fix this.
Would appreciate if anyone has a fix for this or if you can guide me in the right direction here.
thank you.
jsidigital β created an issue.
Agreed.
I have been searching for said alternatives and cannot find anything.
No similar modules that are more secure, no tutorials or guides to create a custom module, no PHP twig implementation guide, no custom token PHP implementation guide... nothing.
So what are those "better alternatives"?
jsidigital β created an issue.
jsidigital β created an issue.
Thank you for the reply @goodboy
Not sure if I follow...
So basically I set my settings to use REGEXP, then use this?
foo%/%foo%.%foo%.%foo%.%foo%
This would cover any link that ends in an IP address?
jsidigital β created an issue.
jsidigital β created an issue.
Any updates on this?
I am having the same problem.
[error] File not found: /home/mysite/public_html/web/modules/contrib/mobile_detect/lib/mobiledetect-mobiledetectlib/v2.8.37/Mobile_Detect.php.
Anyone find a solution yet?
jsidigital β created an issue.
jsidigital β created an issue.
I noticed User Email Verification has a rules integration but has bugs since rules is very unstable.
This module creates a table in the database called "user_email_verification"
In that table there is a "state" column. If cell contains "1", email is verified.
So basically all is needed is ECA to have a condition plugin that reads the current user's UID and see if that user has a status of "1" in the user_email_verification table.
Can you provide the link to the ECA channel of Drupal Slack? I could not find it.
I want to see if anyone is able and willing to make this happen and if so, how much that would cost.
Thank you.
I tried using this for rules but get errors.
I want to add a rule on user login (event), that if email is verified (condition), add role "verified" (action).
However, I get an error everytime.
Is the problem this module or the Rules module?
Since ECA is much more stable, can we add the "Email is Verified" condition to ECA? Willing to pay for that integration if anyone is able to do that.
No wonder so many people are hating on Rules... it has been over 9 months and still no release.
@sandipta,
The Rules module patch seems to have fixed both issues with Context and the Block.
Although I am confused as to why there is even a Rules module integration when Rules is so unstable.
Perhaps instead of Rules integration, an ECA module integration is better since that is stable?
This is bitter sweet.
It is good that this problem is solved with that patch...
However, it is bad because I am left with same problem I had to begin with.
I cannot create actions based on conditions in context module or eca module.
I was trying to use context (or ECA) to create a condition and action...
If current user is verified, then remove "not verified" role.
And another condition and action...
If current user is not verified, display message with link to resend verification email when user clicks on link.
Both of these options are not possible without context or ECA integration that I know of.
Does anyone know of a way to get these two actions with conditions working?
If it requires a custom module, is anyone willing to do it for a fee?
Thank you.
@sandipta & uttam,
Thank you for the quick reply.
I hope the block issue gets resolved soon.
And regarding the Rules module patch you mention...
I was not using rules at all, I was using the Context Module.
Does the context module use the rules conditions or how does that rules module patch relate to context module?
jsidigital β created an issue.
jsidigital β created an issue.
jsidigital β created an issue.
Thank you for the reply.
However, I cannot use /userpanel/*
as a wildcard because I need the registration form to keep cleantalk.
Using /userpanel/*
would remove cleantalk from all user related pages, including the registration form.
I need cleantalk on the registration page.
So am I able to use /userpanel/*/edit
as a wildcard or does it have to be as you suggest?
Or can I add /userpanel/*
as an exclusion but have an option to whitelist pages? This way I can exclude all /userpanel/*
paths except /userpanel/register
which would be whitelisted/included.
NOTE:
Drupal by default uses /user/
, but I am using the Rename Admin Paths module and use /userpanel/
as my user paths there.
jsidigital β created an issue.
jsidigital β created an issue.
Confirming...
Patch #2 works for 1.0.0-beta2. Upgrade status module shows it as compatible with Drupal 10.
Also interested to know when a Drupal 10 version of this module will be released.
Thanks.
Agree with lhridley.
Any plans on releasing a Drupal 10 version soon since dev is already compatible?
Thanks.
jsidigital β created an issue.
jsidigital β created an issue.
jsidigital β created an issue.
All good info...
However, I have not been able to find anything on how to Print a product variation IF...
I have a product variation type with a spotify field.
In the twig, I want to display it only if a value exists, if not, do not show.
Following other product type fields, this method works, however, it does not work on product variation types.
Here is my code:
{% if product.variation_field_spotify|render is not empty %}
<div class="field-label">{{ 'Streaming'|t }}</div>
<div class="product-spotify">{{ product.variation_field_spotify }}</div>
{% endif %}
When a product is missing this field, nothing should print, however I still get this:
<div class="field-label">{{ 'Streaming'|t }}</div>
<div class="product-spotify"> </div>
Clearly the 'if product.variation_field_spotify|render is not empty' does not work on product variation fields.
How would I do this then?
Thank you.
Hello Shailja179,
What do you mean that the private folder name/permission is correct?
Are you referring to the actual ftp private folder? This is correct because if I switch to regular generic file download, the file downloads. Only when I select file with counter that I get a 404 page error.
Not really sire what you mean. Hope you can explain in more detail?
Thank you.
jsidigital β created an issue.
jsidigital β created an issue.
I found the problem.
I did make the changes as indicated, except for my config files which were causing the problem.
After I updated my config files after running drush updb, all error messages went away and was able to upgrade to 3.x.
Thank you.
Thank you for the quick reply.
I will look at the upgrade instructions again in more detail.
Question...
I do not have commerce_recurring or recurring_period enabled. The reason why commerce_license is enabled is because it is required for the commerce_file module.
With this in mind, do I still have to make changes to recurring_period even though I do not have that enabled? This is where my confusion comes from.
Thanks.
jsidigital β created an issue.