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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Moving field help ABOVE field
Pages: [1]

Author Topic: Moving field help ABOVE field  (Read 1275 times)

mariagwyn

  • I post frequently
  • ***
  • Posts: 149
  • Karma: 4
  • CiviCRM version: CiviCRM 3.3.3
  • CMS version: Drupal 6.20
  • MySQL version: 5.2.14
  • PHP version: 5.0.91-50-log
Moving field help ABOVE field
October 14, 2009, 04:19:22 pm
Is there a single .tpl or php file which controls the order of fields and their help text?  I would like to put all help text ABOVE the field itself, and in most fields, there is no "pre_" option, it just defaults to "post".

Thanks,
Maria

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: Moving field help ABOVE field
October 14, 2009, 08:02:34 pm

check:

http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

There are a few tpl files that display profiles. based on what you need u can track the relevant files and fix them

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

orthodoxkohen

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Re: Moving field help ABOVE field
November 08, 2009, 04:41:14 pm
Quote from: Donald Lobo on October 14, 2009, 08:02:34 pm

check:

http://wiki.civicrm.org/confluence/display/CRMDOC/Customize+Built-in,+Profile,+Contribution+and+Event+Registration+Screens

There are a few tpl files that display profiles. based on what you need u can track the relevant files and fix them

lobo


I've looked all over and cannot find the file for the front-end profile template.

Thanks,

Bryan

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: Moving field help ABOVE field
November 08, 2009, 06:28:40 pm

can u elaborate on what steps you did to find the template file? did u do a view source as described on the wiki page?

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

orthodoxkohen

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 2
Re: Moving field help ABOVE field
November 14, 2009, 07:20:59 pm
Code: [Select]
<!-- .tpl file invoked: CRM/Contribute/Form/Contribution/Main.tpl. Call via form.tpl if we have a form in the page. -->
But this is the template for the contribution page and not for the custom profiles.

Thanks.

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: Moving field help ABOVE field
November 14, 2009, 08:52:53 pm

yes, but if you follow that file, u'll see an include to:

    {include file="CRM/UF/Form/Block.tpl" fields=$customPre}

which includes the profiles. u'll have to customize that tpl etc

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Moving field help ABOVE field

This forum was archived on 2017-11-26.