0

Yes I know - very foolish but hoping someone will take pity on me!

This is the my screen when entering a contribution or registering for an event while logged in. I customised it to include the text 'PLEASE PAUSE FOR A MOMENT AND READ THIS - If you are entering a session record, please click on "WANT TO DO THIS FOR A DIFFERENT PERSON" Now I want to revert the default but can't remember the file I edited I've searched all the files in my custom templates directory - heaven forfend I edited core! (although then I guess an upgrade could fix my problem) Thanks all enter image description here

4

This could potentially be done via Word Replacement - so check there too.

  • Onya Pete! I did in fact do it the easy way. Cheers mate. – LesleyJill Oct 15 '19 at 2:40
  • I did in fact not change core or templates. I did it in word replacement. So if anyone wants to change the "not you or wish to register another person" that's an easy place to do it. – LesleyJill Oct 15 '19 at 2:42
  • Can you mark his as the answer so this doesn't stay in limbo as unanswered? There's a gray checkbox under the vote count to the left you can click. – Demerit Oct 15 '19 at 3:39
2

do a search on your text "PLEASE PAUSE FOR A MOMENT" on your website/civicrm folder, it should tell you which file it is

I would strongly recommend you to write custom extension for these kind of manipulation, it's way safer than using custom template (as in, less issue when you upgrade), and way way safer to modify the core ;)

  • I completely agree with this, what you are doing is a bit risky.... – ErikH - CiviCooP Oct 14 '19 at 8:39
0

An upgrade would indeed fix your problem:-) What operating system and browser are you using? If you are using Firefox then you could right click on the page and view the source code of the page. If you then search for .tpl you should find the starting template of the page? You probably either modified that one or one of the templates it includes with the {include}.

  • I looked at the source code - no tpl mentioned? – LesleyJill Oct 14 '19 at 8:01
  • The suggestion from Xavier makes sense. If that does not work, expand a little and explain what you try to do step by step. – ErikH - CiviCooP Oct 14 '19 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.