[SOLVED] Details Page Header Error
Welcome, Guest. Please login or register.
May 26, 2013, 01:42:59 AM
Home Help Search Login Register

+  gigCalendar Forums
|-+  gigCalendar 1.x Forum
| |-+  gigCalendar 1.0
| | |-+  [SOLVED] Threads
| | | |-+  [SOLVED] Details Page Header Error
« previous next »
Pages: [1] Print
Author Topic: [SOLVED] Details Page Header Error  (Read 2875 times)
Christel
Jr. Member
**
Posts: 7


View Profile
« on: March 19, 2007, 06:39:37 AM »

Hello, I've been editing Details page Templates in the gigConfig and was checking each and every change before moving to the next stage, unfortunately, I now have an error in that the Event (changed from Band) Name is not showing, but coming up with the code on the front page! *eek* this is what visitors see when they click on the Details for an Event...

Details for <$eventname$>
Event Name:    <$eventname$>
Website:    
Contact Name:    
Email:    
Phone:    
City:    
State:    
-------------------------------------------here is the code--------

<div class="contentheading">Details for <$eventname$></div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td class="sectiontableheader">Event Name:</td>
    <td class="sectiontableheader"><$eventname$></td>
  </tr>
  <tr>
    <td class="sectiontableentry1">Website:</td>
    <td class="sectiontableentry1"><a href="<$website$>" target="_blank"><$website$></a></td>
  </tr>
  <tr>
    <td class="sectiontableentry2">Contact Name:</td>
    <td class="sectiontableentry2"><$contactname$></td>
  </tr>
  <tr>
    <td class="sectiontableentry1">Email:</td>
    <td class="sectiontableentry1"><a href="mailto:<$contactemail$>"><$contactemail$></a></td>
  </tr>
  <tr>
    <td class="sectiontableentry2">Phone: </td>
    <td class="sectiontableentry2"><$contactphone$></td>
  </tr>
  <tr>
    <td class="sectiontableentry1">City:</td>
    <td class="sectiontableentry1"><$city$></td>
  </tr>
  <tr>
    <td class="sectiontableentry2">State:</td>
    <td class="sectiontableentry2"><$state$></td>
  </tr>
</table>

If someone could advise me on how to fix this I would be very grateful  smiley
Warm Regards
Christel
« Last Edit: March 23, 2007, 01:14:30 AM by Capt. gigCal » Logged
Christel
Jr. Member
**
Posts: 7


View Profile
« Reply #1 on: March 19, 2007, 06:48:03 AM »

Oh, *phew* I have fixed it!  The problem was in changing the...

<div class="contentheading">Details for <$bandname$></div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td class="sectiontableheader">Event Name:</td>
    <td class="sectiontableheader"><$bandname$></td>
--------------------------------------------------------------- too--------

<div class="contentheading">Details for <$eventname$></div>

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td class="sectiontableheader">Event Name:</td>
    <td class="sectiontableheader"><$eventname$></td>

-----------------------------------
Not a good move!  I am no coder, but assuming that the <$bandname$></td> is linked to a database also titled bandname in the code somewhere??  And by changing this to <$eventname$></td> it was no longer able to find the database?   huh  I hope my brain is on track with the thinking, lol.  I LOVE THIS!!!! 

Warm Regards
Christel
Logged
Capt. gigCal
Administrator
Sr. Member
*****
Posts: 495


View Profile
« Reply #2 on: March 21, 2007, 01:20:22 AM »

yep, that's it. the details page has simple HTML templates with pre-defined fields for easily sticking in the right stuff in the right place. The templates for the detail pages on initial installation of gigCalendar have all the available fields there. I've been meaning to put together a list of the available fields but haven't had a chance...anyone up for doing that for me? I'd like to include it on the associated Help page. Thanks!
Logged

Capt. gigCalendar
Nobody plays more gigCalendar
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!

Login Form

Welcome, Guest. Please login or register.
May 26, 2013, 01:42:59 AM
Username: Password:
Login with username, password and session length

Forgot your password?
Basecamp project management and collaboration