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 CiviEvent (Moderator: Yashodha Chaku) »
  • Event Breadcrumbs?
Pages: [1]

Author Topic: Event Breadcrumbs?  (Read 681 times)

BusinessMediaCenter

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
  • CiviCRM version: 4.1.x
  • CMS version: Drupal 6 & 7
  • MySQL version: 5
  • PHP version: 5
Event Breadcrumbs?
August 06, 2012, 12:59:44 pm
Drupal 7/ Civi 4.1.5

I would like to set custom breadcrumbs for events, but I cant seem to find where this is set?  From searching it seems that i need to edit tpl files...is there a way in the UI or via Drupal Custom breadcrumbs module>?

If need to edit a civi tpl, which one should i edit?  Ive looked at EventInfo.php but this doesnt appear the breadcrumbs are printed here.

Please advise,
Thanks!

BusinessMediaCenter

  • I post occasionally
  • **
  • Posts: 82
  • Karma: 2
  • CiviCRM version: 4.1.x
  • CMS version: Drupal 6 & 7
  • MySQL version: 5
  • PHP version: 5
Re: Event Breadcrumbs?
August 08, 2012, 08:58:46 am
this worked for us

Code: [Select]
if ($path=="civicrm/event/info") {
 print '<div class="breadcrumb_text"><a href="/">Home</a> &gt; <a href="/link1">Link 1</a> &gt; <a href="/link1/link2">Link 2</a> &gt;';
 print $title;
 print "</div>";
} else {
                 
print $breadcrumb;

                   
}


Jeroen~

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
    • WoesteLand
  • CiviCRM version: CiviCRM 4.2
  • CMS version: Drupal 7
Re: Event Breadcrumbs?
August 20, 2012, 11:49:38 am
In which file did you put this?
I can's seem to get this to work.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Event Breadcrumbs?
August 20, 2012, 12:05:59 pm
You must edit your Drupal theme for this, specifically page.tpl.php. See here:

http://forum.civicrm.org/index.php/topic,20243.msg84960.html#msg84960

for more details.
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.

Jeroen~

  • I’m new here
  • *
  • Posts: 25
  • Karma: 1
    • WoesteLand
  • CiviCRM version: CiviCRM 4.2
  • CMS version: Drupal 7
Re: Event Breadcrumbs?
August 20, 2012, 12:58:35 pm
Ah! my drupal theme! thanks, I just looked in the CiviCRM files.....

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Event Breadcrumbs?

This forum was archived on 2017-11-26.