CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Clean URL Contribution Pages?
Pages: [1]

Author Topic: Clean URL Contribution Pages?  (Read 972 times)

mkpinformation

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 1
    • The ManKind Project
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 6.x
Clean URL Contribution Pages?
May 27, 2011, 01:40:40 pm
Hey all - have tried to find/figure this out on my own.  I know how to specify URL in Drupal pages but can't figure out how to get away from the relatively ugly URL:
.org/civicrm/contribute/transact?reset=1&id=6

I'd love to be able to specify something like:
.org/civicrm/contribute/name-of-campaign

or the like.

Possible?

Teach me Obi Wan!   ???

Keith with MKP
« Last Edit: May 27, 2011, 01:42:19 pm by mkpinformation »
Keith Jarvis
MKPUSA Administrator Dude

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Clean URL Contribution Pages?
May 31, 2011, 11:38:43 am
No one answered because there's isn't an automatic way to do this. I actually coded a somewhat similar feature for a certain install, but that was achieved via a custom module.

Such a module for your specific needs could also be coded--it's not very complicated.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Clean URL Contribution Pages?
May 31, 2011, 12:58:23 pm
I enjoy this module http://drupal.org/project/path_redirect  although it might not let you use a civicrm in the path you can try.

you could make paths like this for sure:

www.site.com/campaign/summer
www.site.com/campaign/holiday

and so on
Try CiviTeacher: the online video tutorial CiviCRM learning library.

mkpinformation

  • I post occasionally
  • **
  • Posts: 58
  • Karma: 1
    • The ManKind Project
  • CiviCRM version: 4.4.3
  • CMS version: Drupal 6.x
Re: Clean URL Contribution Pages?
June 06, 2011, 10:09:11 am
Disappointing!  :(
Keith Jarvis
MKPUSA Administrator Dude

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Clean URL Contribution Pages?
June 06, 2011, 11:23:31 am
Hi,

It probably wouldn't be too difficult to put in place a system that
1) is called to generate the urls with the params ("contribution", array of params)
2) and make it overridable/hookable so you can modify it.
3) and make a system to /contribution/whatever loads the right content from civicrm

However, changing it everywhere is going to be quite long, but it would be possible to start with contributions and extend further.

Talking about contributions, would you be able to code or sponsor such a development ?

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

cesy

  • I’m new here
  • *
  • Posts: 24
  • Karma: 3
    • Dreamwidth blog
Re: Clean URL Contribution Pages?
June 19, 2011, 01:01:22 am
.org/civicrm/contribute/name-of-campaign sounds like something that would be useful for a lot of orgs. I'd donate a bit if this became a Make-It-Happen, if someone else could seed it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Clean URL Contribution Pages?

This forum was archived on 2017-11-26.