You can do this in the path settings itself by using %1/%2/view as the path right?Quoting DTH <david@hartster.org>:I have a view that takes the forms:view/foo/bar - all nodes with category foo and subcategory barview/baz - all nodes with category baz etcHowever, I'd like the view to exist atfoo/bar/viewbaz/view etcAssuming there's hundreds of urls, so creating url aliases for eachone is out, is the only way to do this via htaccess and rewritingview/[a-z]/[a-z] or is there a more Drupally/easier way?-- [ Drupal support list | http://lists.drupal.org/ ]
I tried that, but got
"%" may not be used for the first segment of a path.
as the error.
--DTH
On Wed, Nov 24, 2010 at 2:24 PM, Shyamala shyamala@netlinkindia.com wrote:
You can do this in the path settings itself by using %1/%2/view as the path right?
Quoting DTH david@hartster.org:
I have a view that takes the forms:
view/foo/bar - all nodes with category foo and subcategory bar view/baz - all nodes with category baz etc
However, I'd like the view to exist at
foo/bar/view baz/view etc
Assuming there's hundreds of urls, so creating url aliases for each one is out, is the only way to do this via htaccess and rewriting view/[a-z]/[a-z] or is there a more Drupally/easier way? -- [ Drupal support list | http://lists.drupal.org/ ]
The path order has a reason, remember that everything is really:
index.php? with parameters then added to the back of the URL for the page call and variables.
So first it is the page, then it is the variables you are sending it.
If you want, you can use path-auto for your "hundreds of URLs" to set these for you. And instead if you detect on the node level that you have a variable named "/view" you call up a View and pass it the context of your current node ID.
This would involve opening node.tpl.php and adding a line of code to load the View block/page and passing it the $node->nid for your current page upon display.
There are lots of otherways to do this, as Drupal really does offer multiple-paths to success, but this is the first idea that comes to mind for how to flip the path around!
Good luck!
On 2010-11-24 7:10 AM, DTH wrote:
I tried that, but got
"%" may not be used for the first segment of a path.
as the error.
--DTH
On Wed, Nov 24, 2010 at 2:24 PM, Shyamalashyamala@netlinkindia.com wrote:
You can do this in the path settings itself by using %1/%2/view as the path right?
Quoting DTHdavid@hartster.org:
I have a view that takes the forms:
view/foo/bar - all nodes with category foo and subcategory bar view/baz - all nodes with category baz etc
However, I'd like the view to exist at
foo/bar/view baz/view etc
Assuming there's hundreds of urls, so creating url aliases for each one is out, is the only way to do this via htaccess and rewriting view/[a-z]/[a-z] or is there a more Drupally/easier way? -- [ Drupal support list | http://lists.drupal.org/ ]
Good morning,
We've been receiving an increased amount of Spam recently. One of our network admins is asking me to try ASCII-encoding the email addresses that display on the website. I ran a test email address (my own) through an online tool that converts it to ascii, and came up with this:
friesen.leslie@co.polk.or.us
I then inserted that ascii string into the create link tool in the FCKEditor, attaching it to some text. I've tried input filters of full unfiltered html, filtered html and anonymous.
No luck. If I mouseover on the link, it looks right in the status bar below, but if I actually click to send an email, it only displays the "&" in the "To" field, and not the rest of the ascii. This throws an error in my email client (Groupwise).
You can see the test page at https://www.co.polk.or.us/ascii
Does anyone have any ideas on how to implement this? Is the email client the problem? My admin would prefer that I find a way to do it with ascii encoding rather than downloading and installing yet another module to keep up to date, if at all possible.
Thanks in advance,
Leslie
Consider http://drupal.org/project/invisimail or others listed here http://drupal.org/project/modules?filters=tid:7266
As much as your admin may cringe at using another Drupal module, do you anticipate the amount of time spent in-house developing and maintaining a custom solution will be less than upgrading a widely-used module from time to time? (If you aren't already, consider using Drush to speed-up your codebase update workflow http://drupal.org/project/drush)
On Thu, Dec 2, 2010 at 10:53 AM, LESLIE FRIESEN < FRIESEN.LESLIE@co.polk.or.us> wrote:
Good morning,
We've been receiving an increased amount of Spam recently. One of our network admins is asking me to try ASCII-encoding the email addresses that display on the website. I ran a test email address (my own) through an online tool that converts it to ascii, and came up with this:
friesen.leslie@co.polk.or.us
I then inserted that ascii string into the create link tool in the FCKEditor, attaching it to some text. I've tried input filters of full unfiltered html, filtered html and anonymous.
No luck. If I mouseover on the link, it looks right in the status bar below, but if I actually click to send an email, it only displays the "&" in the "To" field, and not the rest of the ascii. This throws an error in my email client (Groupwise).
You can see the test page at https://www.co.polk.or.us/ascii
Does anyone have any ideas on how to implement this? Is the email client the problem? My admin would prefer that I find a way to do it with ascii encoding rather than downloading and installing yet another module to keep up to date, if at all possible.
Thanks in advance,
Leslie
-- [ Drupal support list | http://lists.drupal.org/ ]
Leslie,
I agree with all that Carl said.
Just wanted to point you to the error in your html: If you remove the "amp;" parts of your script, and also remove the last part (?subject=ascii), it works.
Ursula
On Thu, Dec 2, 2010 at 10:09 AM, Carl Wiedemann carl.wiedemann@gmail.com wrote:
Consider http://drupal.org/project/invisimail or others listed here http://drupal.org/project/modules?filters=tid:7266 As much as your admin may cringe at using another Drupal module, do you anticipate the amount of time spent in-house developing and maintaining a custom solution will be less than upgrading a widely-used module from time to time? (If you aren't already, consider using Drush to speed-up your codebase update workflow http://drupal.org/project/drush)
On Thu, Dec 2, 2010 at 10:53 AM, LESLIE FRIESEN FRIESEN.LESLIE@co.polk.or.us wrote:
Good morning,
We've been receiving an increased amount of Spam recently. One of our network admins is asking me to try ASCII-encoding the email addresses that display on the website. I ran a test email address (my own) through an online tool that converts it to ascii, and came up with this:
friesen.leslie@co.polk.or.us
I then inserted that ascii string into the create link tool in the FCKEditor, attaching it to some text. I've tried input filters of full unfiltered html, filtered html and anonymous.
No luck. If I mouseover on the link, it looks right in the status bar below, but if I actually click to send an email, it only displays the "&" in the "To" field, and not the rest of the ascii. This throws an error in my email client (Groupwise).
You can see the test page at https://www.co.polk.or.us/ascii
Does anyone have any ideas on how to implement this? Is the email client the problem? My admin would prefer that I find a way to do it with ascii encoding rather than downloading and installing yet another module to keep up to date, if at all possible.
Thanks in advance,
Leslie
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Ursula, thank you so much for your help. I did not insert those "amps"....either Drupal did or the browser did. I just tried re-publishing the node, taking out the subject line, and trying all three different input filters. Each time, the "amp" got re-inserted. Does anyone know why this is happening?
Leslie
P.S. Carl, I do agree with you. If I had my way, we'd be using invisimail.
On 12/2/2010 at 10:28 AM, in message AANLkTimtqVbXXiOz1k9ZywJyNqZOMa6-kJeCPf=qfqFf@mail.gmail.com, Ursula Pieper dramamezzo@gmail.com wrote:
Leslie,
I agree with all that Carl said.
Just wanted to point you to the error in your html: If you remove the "amp;" parts of your script, and also remove the last part (?subject=ascii), it works.
Ursula
On Thu, Dec 2, 2010 at 10:09 AM, Carl Wiedemann carl.wiedemann@gmail.com wrote:
Consider http://drupal.org/project/invisimail or others listed here http://drupal.org/project/modules?filters=tid:7266 As much as your admin may cringe at using another Drupal module, do you anticipate the amount of time spent in-house developing and maintaining a custom solution will be less than upgrading a widely-used module from time to time? (If you aren't already, consider using Drush to speed-up your codebase update workflow http://drupal.org/project/drush)
On Thu, Dec 2, 2010 at 10:53 AM, LESLIE FRIESEN FRIESEN.LESLIE@co.polk.or.us wrote:
Good morning,
We've been receiving an increased amount of Spam recently. One of our network admins is asking me to try ASCII-encoding the email addresses that display on the website. I ran a test email address (my own) through an online tool that converts it to ascii, and came up with this:
friesen.leslie@co.polk.or.us
I then inserted that ascii string into the create link tool in the FCKEditor, attaching it to some text. I've tried input filters of full unfiltered html, filtered html and anonymous.
No luck. If I mouseover on the link, it looks right in the status bar below, but if I actually click to send an email, it only displays the "&" in the "To" field, and not the rest of the ascii. This throws an error in my email client (Groupwise).
You can see the test page at https://www.co.polk.or.us/ascii
Does anyone have any ideas on how to implement this? Is the email client the problem? My admin would prefer that I find a way to do it with ascii encoding rather than downloading and installing yet another module to keep up to date, if at all possible.
Thanks in advance,
Leslie
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
I suspect that the spammers just extract whatever follows the keyword mailto: and use that as the email address. If it works for you it will work for them. You need stronger protection than that. That is why javascript obsuration works, because the string mailto: does not occur in the source of the page unless they use a javascript interpreter which I have never heard happening.
On Thu, Dec 2, 2010 at 1:43 PM, LESLIE FRIESEN <FRIESEN.LESLIE@co.polk.or.us
wrote:
Ursula, thank you so much for your help. I did not insert those "amps"....either Drupal did or the browser did. I just tried re-publishing the node, taking out the subject line, and trying all three different input filters. Each time, the "amp" got re-inserted. Does anyone know why this is happening?
Leslie
P.S. Carl, I do agree with you. If I had my way, we'd be using invisimail.
On 12/2/2010 at 10:28 AM, in message
AANLkTimtqVbXXiOz1k9ZywJyNqZOMa6-kJeCPf=qfqFf@mail.gmail.com, Ursula Pieper dramamezzo@gmail.com wrote: Leslie,
I agree with all that Carl said.
Just wanted to point you to the error in your html: If you remove the "amp;" parts of your script, and also remove the last part (?subject=ascii), it works.
Ursula
On Thu, Dec 2, 2010 at 10:09 AM, Carl Wiedemann carl.wiedemann@gmail.com wrote:
Consider http://drupal.org/project/invisimail or others listed here http://drupal.org/project/modules?filters=tid:7266 As much as your admin may cringe at using another Drupal module, do you anticipate the amount of time spent in-house developing and maintaining a custom solution will be less than upgrading a widely-used module from
time
to time? (If you aren't already, consider using Drush to speed-up your codebase update workflow http://drupal.org/project/drush)
On Thu, Dec 2, 2010 at 10:53 AM, LESLIE FRIESEN FRIESEN.LESLIE@co.polk.or.us wrote:
Good morning,
We've been receiving an increased amount of Spam recently. One of our network admins is asking me to try ASCII-encoding the email addresses
that
display on the website. I ran a test email address (my own) through an online tool that converts it to ascii, and came up with this:
friesen.leslie@co.polk.or.us
I then inserted that ascii string into the create link tool in the FCKEditor, attaching it to some text. I've tried input filters of full unfiltered html, filtered html and anonymous.
No luck. If I mouseover on the link, it looks right in the status bar below, but if I actually click to send an email, it only displays the
"&" in
the "To" field, and not the rest of the ascii. This throws an error in
my
email client (Groupwise).
You can see the test page at https://www.co.polk.or.us/ascii
Does anyone have any ideas on how to implement this? Is the email
client
the problem? My admin would prefer that I find a way to do it with
ascii
encoding rather than downloading and installing yet another module to
keep
up to date, if at all possible.
Thanks in advance,
Leslie
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Greetings from the invisimail maintainer. :-)
1) Email obfuscation is dirty business. It's a hack, in all forms.
2) If spammers have already harvested your address from the web site, it's too late. They share address banks with each other all the time, so once you're in the database you never get out. Removing or obfuscating your address now will not get you very far.
That said...
3) Your admin is a goofball. :-) Keeping a module up to date is, in most cases, not at all difficult nor is it dangerous unless you're living on the edge with no backups or staging environment. (And then you have bigger problems than an out of date module.)
If it helps to assuage his fears, I recently released invisimail 1.3 which I consider to be quite stable (thanks to some awesome work from random people in the issue queues). I am not planning any further work on it for Drupal 6 baring someone finding a security hole or a grossly huge bug.
I have a Drupal 7 version about 99% complete that is almost a complete rewrite (I didn't actually write the original module; I took it over a few years ago) to account for the changes in the filter API in Drupal 7. It's now a modular, flexible, extensible framework for plugging in a variety of email obfuscators or encoders. However, I will not be backporting that to Drupal 6 (it wouldn't really be possible) so you have no fear of the module changing drastically out from under you.
If, on the other hand, you're dealing with just a small number of fixed addresses you could try using invisimail to encode the address on a dummy install and then copying from that. I don't know if that will work better, since it is, sadly, not uncommon for input filters to collide.
Actually, now that I think about it, it could be CKEditor that's adding extra & when saving, thinking that you want an actual & to show in the page. That's something else to look at.
--Larry Garfield
On Thursday, December 02, 2010 12:43:31 pm LESLIE FRIESEN wrote:
Ursula, thank you so much for your help. I did not insert those "amps"....either Drupal did or the browser did. I just tried re-publishing the node, taking out the subject line, and trying all three different input filters. Each time, the "amp" got re-inserted. Does anyone know why this is happening?
Leslie
P.S. Carl, I do agree with you. If I had my way, we'd be using invisimail.
On 12/2/2010 at 10:28 AM, in message <AANLkTimtqVbXXiOz1k9ZywJyNqZOMa6-
kJeCPf=qfqFf@mail.gmail.com>, Ursula Pieper dramamezzo@gmail.com wrote:
Leslie,
I agree with all that Carl said.
Just wanted to point you to the error in your html: If you remove the "amp;" parts of your script, and also remove the last part (?subject=ascii), it works.
Ursula
On Thu, Dec 2, 2010 at 10:09 AM, Carl Wiedemann
carl.wiedemann@gmail.com wrote:
Consider http://drupal.org/project/invisimail or others listed here http://drupal.org/project/modules?filters=tid:7266 As much as your admin may cringe at using another Drupal module, do you anticipate the amount of time spent in-house developing and maintaining a custom solution will be less than upgrading a widely-used module from time to time? (If you aren't already, consider using Drush to speed-up your codebase update workflow http://drupal.org/project/drush)
On Thu, Dec 2, 2010 at 10:53 AM, LESLIE FRIESEN
FRIESEN.LESLIE@co.polk.or.us wrote:
Good morning,
We've been receiving an increased amount of Spam recently. One of our network admins is asking me to try ASCII-encoding the email addresses that display on the website. I ran a test email address (my own) through an online tool that converts it to ascii, and came up with this:
friesen.lesl ie@co.polk.o r.us
I then inserted that ascii string into the create link tool in the FCKEditor, attaching it to some text. I've tried input filters of full unfiltered html, filtered html and anonymous.
No luck. If I mouseover on the link, it looks right in the status bar below, but if I actually click to send an email, it only displays the "&" in the "To" field, and not the rest of the ascii. This throws an error in my email client (Groupwise).
You can see the test page at https://www.co.polk.or.us/ascii
Does anyone have any ideas on how to implement this? Is the email client the problem? My admin would prefer that I find a way to do it with ascii encoding rather than downloading and installing yet another module to keep up to date, if at all possible.
Thanks in advance,
Leslie
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
Thanks so much, Larry, for the extra info on invisimail. Very much appreciated. I'll also check out the FCKEditor possibility.
Leslie
On 12/2/2010 at 7:02 PM, in message 201012022102.34775.larry@garfieldtech.com, Larry Garfield larry@garfieldtech.com wrote:
Greetings from the invisimail maintainer. :-)
1) Email obfuscation is dirty business. It's a hack, in all forms.
2) If spammers have already harvested your address from the web site, it's too late. They share address banks with each other all the time, so once you're in the database you never get out. Removing or obfuscating your address now will not get you very far.
That said...
3) Your admin is a goofball. :-) Keeping a module up to date is, in most cases, not at all difficult nor is it dangerous unless you're living on the edge with no backups or staging environment. (And then you have bigger problems than an out of date module.)
If it helps to assuage his fears, I recently released invisimail 1.3 which I consider to be quite stable (thanks to some awesome work from random people in the issue queues). I am not planning any further work on it for Drupal 6 baring someone finding a security hole or a grossly huge bug.
I have a Drupal 7 version about 99% complete that is almost a complete rewrite (I didn't actually write the original module; I took it over a few years ago) to account for the changes in the filter API in Drupal 7. It's now a modular, flexible, extensible framework for plugging in a variety of email obfuscators or encoders. However, I will not be backporting that to Drupal 6 (it wouldn't really be possible) so you have no fear of the module changing drastically out from under you.
If, on the other hand, you're dealing with just a small number of fixed addresses you could try using invisimail to encode the address on a dummy install and then copying from that. I don't know if that will work better, since it is, sadly, not uncommon for input filters to collide.
Actually, now that I think about it, it could be CKEditor that's adding extra & when saving, thinking that you want an actual & to show in the page. That's something else to look at.
--Larry Garfield
On Thursday, December 02, 2010 12:43:31 pm LESLIE FRIESEN wrote:
Ursula, thank you so much for your help. I did not insert those "amps"....either Drupal did or the browser did. I just tried re-publishing the node, taking out the subject line, and trying all three different input filters. Each time, the "amp" got re-inserted. Does anyone know why this is happening?
Leslie
P.S. Carl, I do agree with you. If I had my way, we'd be using invisimail.
On 12/2/2010 at 10:28 AM, in message <AANLkTimtqVbXXiOz1k9ZywJyNqZOMa6-
kJeCPf=qfqFf@mail.gmail.com>, Ursula Pieper dramamezzo@gmail.com wrote:
Leslie,
I agree with all that Carl said.
Just wanted to point you to the error in your html: If you remove the "amp;" parts of your script, and also remove the last part (?subject=ascii), it works.
Ursula
On Thu, Dec 2, 2010 at 10:09 AM, Carl Wiedemann
carl.wiedemann@gmail.com wrote:
Consider http://drupal.org/project/invisimail or others listed here http://drupal.org/project/modules?filters=tid:7266 As much as your admin may cringe at using another Drupal module, do you anticipate the amount of time spent in-house developing and maintaining a custom solution will be less than upgrading a widely-used module from time to time? (If you aren't already, consider using Drush to speed-up your codebase update workflow http://drupal.org/project/drush)
On Thu, Dec 2, 2010 at 10:53 AM, LESLIE FRIESEN
FRIESEN.LESLIE@co.polk.or.us wrote:
Good morning,
We've been receiving an increased amount of Spam recently. One of our network admins is asking me to try ASCII-encoding the email addresses that display on the website. I ran a test email address (my own) through an online tool that converts it to ascii, and came up with this:
friesen.lesl ie@co.polk.o r.us
I then inserted that ascii string into the create link tool in the FCKEditor, attaching it to some text. I've tried input filters of full unfiltered html, filtered html and anonymous.
No luck. If I mouseover on the link, it looks right in the status bar below, but if I actually click to send an email, it only displays the "&" in the "To" field, and not the rest of the ascii. This throws an error in my email client (Groupwise).
You can see the test page at https://www.co.polk.or.us/ascii
Does anyone have any ideas on how to implement this? Is the email client the problem? My admin would prefer that I find a way to do it with ascii encoding rather than downloading and installing yet another module to keep up to date, if at all possible.
Thanks in advance,
Leslie
[ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]