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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Remove a page from mailing steps
Pages: [1]

Author Topic: Remove a page from mailing steps  (Read 1542 times)

Eman0684

  • Guest
Remove a page from mailing steps
February 02, 2009, 10:54:49 am
I've been successful at moving or hiding/altering individual fields on the mailing forms (mailing/send....), but how I do remove/consolidate pages? (eg. on one page, I moved most items to an "advanced" collapsed fieldset, but now I want to move an entire page there also or just have preset values and have the page not show up at all in the steps).


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Remove a page from mailing steps
February 02, 2009, 11:52:49 am

You will need to remove the reference to the page from the statemachine. For the send mailing wizard this is at: CRM/Mailing/StateMachine/Send.php, line 56 or so

lobo

A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Eman0684

  • Guest
Re: Remove a page from mailing steps
February 02, 2009, 03:48:31 pm
That was it, thanks!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Remove a page from mailing steps
February 03, 2009, 12:44:29 am
Hi

Could you share with us the result of your tweaking ?

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

Eman0684

  • Guest
Re: Remove a page from mailing steps
February 03, 2009, 06:52:44 pm
Not much to report really. Just didn't want that page. I'm still a little overwhelmed by all this code so not much done yet.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Remove a page from mailing steps
February 03, 2009, 07:04:41 pm

wanna describe what your goals are and the reasoning behind it. Might be something we should consider for future releases :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Eman0684

  • Guest
Re: Remove a page from mailing steps
February 04, 2009, 04:52:14 pm
The main reason behind my "tinkering" is to try to make everything a little more usable. Even for someone like myself who's a pretty good Drupal developer/admin (and I learned it all in 3 weeks), CiviCRM is really tough to get a hold of. So I fear for some clients who are technologically challenged.

On these pages in particular there was just a lot of information that I didn't necessarily think needed to be visible (e.g on the first mailing page, I put everything except the first field [the include groups] in a collapsed fieldset). The entire second page IMO didn't really need to be there - could easily have been collapsed with default values set (like how all those extra fields are collapsed on the drupal node/add page) - maybe even the option to limit some steps with ACL so that an intern at company X can easily compose and send a message without all the fluff. (I can already picture a client calling me to walk him/her through the steps of sending emails even after I've showed them 3-4 times and written a manual on how to do everything - then trying it on their own and still messing it up).


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Remove a page from mailing steps

This forum was archived on 2017-11-26.