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 Profiles (Moderator: Dave Greenberg) »
  • Multi-column display for contact info at Public Search
Pages: [1]

Author Topic: Multi-column display for contact info at Public Search  (Read 772 times)

sergeich

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • USDLC
Multi-column display for contact info at Public Search
August 22, 2011, 11:23:08 am
Platform:  Joomla 1.5 + CiviCRM 3.4
We have a few dozen custom fields and that creates a very long vertical display of the Contact information when using the Search function on the Joomla front end. Is there a fairly simply way to split the results into two columns?

Currently the fields are displayed via DIV's with id="row-custom_N" CSS properties, the simplest thing that crossed my mind was adding these CSS properties to EVEN custom rows:

row-custom_2N { float: right; width: 300px;}

Perhaps there's a pre-cooked solution for this that I failed to find, please advise.

sergeich

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • USDLC
Re: Multi-column display for contact info at Public Search
September 01, 2011, 06:35:49 am
We have great difficulties formatting the Front End pages to satisfy our customer who wants seemingly very basic changes which were trivial to implement via "HTML Form Snippet" for data entry pages but not for Public Search and Public Search Results.

They are running on Joomla 1.5 + CiviCRM 3.4 and the database has ~60 custom fields split into a few field sets.

1) Is there a way to create a page similar to "HTML Form Snippet" for Public SEARCH  pages? The out-of-the-box public search page generates ~60 <tr> rows and it's just not gonna work because various field sets need to be logically separated and properly laid out.

1b) When I simply create a Joomla Article borrowing the code from the Public Profile Search page automatically generated by CiviCRM and process this Profile Search Form  I get "You do not have permission to execute this url." It's my understanding that this session is guided/protected by "input name="qfKey" type="hidden" value="9308b8ca6f9e3f9f16cbfaf3812d12f1_9884" variables. How can we comply with "permissions to execute this url" here?

sergeich

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • USDLC
Re: Multi-column display for contact info at Public Search
September 01, 2011, 06:39:44 am
2) In the first post I was asking about the Search Results page which we managed to shape up via CSS. Would you advise to stick with CSS approach or introducing a custom Template is a better alternative?

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: Multi-column display for contact info at Public Search
September 01, 2011, 09:39:58 am

since u have 60 fields, i would recommend a custom template. will be a lot easier to customize and tailor for your needs

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 »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Multi-column display for contact info at Public Search

This forum was archived on 2017-11-26.