RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / display category
Posted:  28 Nov 2013 19:52
Hello,
In the calendar display in Week mode, I wanted to see by default 'category' instead of Title
I wonder if you have an idea
thank you
Posted:  29 Nov 2013 00:12
Hi there,

Do you mean that for each event you would like to see the event category instead of the event title?
If so, then a small program change will be required.

Let me know in detail what you want and thereafter I will post the program change here.

Roel
Posted:  02 Dec 2013 03:53
Hello Mr Roel,
Thank you for your response and source code for the calendar

I created table 'eleve'
In the title box, I try to find the eleve by 'NAME', 'NAME', 'TELEPHONE', then put the result in the box 'Title'
At the time of insertion, I try to insert 'ELEVEID' in table 'event'

Quote:


Example HTML :
   
    <div class='centerBox'>
    <form action='index.php' method='post'>
    <table>
    <tr>
    <td width="101" class='label'>Search text:</td>
    <td width="366"><input type='text' name='schText' id='schText' value="" maxlength='50' size='30'></td>
    </tr>
   
    <tr>
    <td class='label'>Event fields:</td>
    <td><input type='checkbox' id='eF0' name='eF[]' value='0' onclick="checkA('eF',this);" checked='checked'>
    <label for='eF0'>All fields</label></td>
    </tr>
    <tr>
    <td></td><td><input type='checkbox' id='eF1' name='eF[]' value='1' onclick="checkN('eF',this);">
    <label for='eF1'>Nom 
    <input type='checkbox' id='eF2' name='eF' value='2' onclick="checkN('eF',this);">
    Prenom
    <input type='checkbox' id='eF3' name='eF2' value='3' onclick="checkN('eF',this);">
    Telephone</label></td>
    </tr>
 
    <td height="2"></tr>
    </table>
    <input type='submit' name='search' value="Search">
    </form>
   


Quote:


-- Structure de la table `eleve`

CREATE TABLE IF NOT EXISTS `eleve` (
  `ELEVEID` bigint(4) NOT NULL,
  `ELEVEPRENOM` char(32) DEFAULT NULL,
  `ELEVENOM` char(32) DEFAULT NULL,
  `ELEVETELEPHONE` char(32) DEFAULT NULL,
  PRIMARY KEY (`ELEVEID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- Contenu de la table `eleve`

INSERT INTO `eleve` (`ELEVEID`, `ELEVEPRENOM`, `ELEVENOM`, `ELEVETELEPHONE`) VALUES
(1, 'David', 'Bourassa', '5146884697'),
(2, 'Nancy', 'Agram', '5147895263'),
(3, 'Lili', 'Gary', '5144862234');


Thank you
Posted:  03 Dec 2013 11:26
Hello,

I don't see any relationship between your first post (about Week view) and the second (about the Search page; is that correct?

From your second post I see that you created a table 'eleve' (pupil). Is this a table in addition to, or replacing the table 'users'?
Maybe you could send me a email (via the Contact Us page) and explain to me in French what you try to achieve. I understand French as well.
Roel