ChronoEngine Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Using the Joomla Calendar in a form (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Using the Joomla Calendar in a form
#1478
mariokrupik (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Using the Joomla Calendar in a form 11 Months, 4 Weeks ago Karma: 0  
Hi,

I am trying to get the joomla calendar to work inside a form of chronoforms within joomla1.5

I am using this html code:
Code:

<link href="style.css" rel="stylesheet" type="text/css"> <? JHTML::_('behavior.calendar'); ?> <div id="form"> <table width="610px" class="table_form" cellspacing="0"> <tr> <td class="td_dark" colspan="2"> Anreisetermin: </td> </tr> <td class="text_links"> Anreisedatum: </td> <td class="text_rechts"> <input class="inputbox" type="text" name="dates" id="dates" size="15" maxlength="10" value="<? php echo $this->row->dates; ?>" /> <a href="#" onclick="return showCalendar('dates', 'dd-m-y');"><img class="calendar" src="images/blank.png" alt="calendar" /></a> Anfrage<br/></td> </tr> </table> </div>
But I get an error message of the 2nd php variable. so I exchanged: value="<? php echo $this->row->dates; ?>" with value="Your Date" Now the Form Displays correctly, but I don`t see the calendar, neither is it working Mario
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1479
admin (Admin)
Admin
Posts: 1638
graphgraph
User Online Now Click here to see the profile of this user
Re:Using the Joomla Calendar in a form 11 Months, 3 Weeks ago Karma: 23  
Hi Mario,

If its Joomla 1.0 then I would be able to help, but with joomla 1.5 I can't help you at least for now, Please let me know if you need the joomla 1.0 code.

Cheers

Max
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
#1480
mariokrupik (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Using the Joomla Calendar in a form 11 Months, 3 Weeks ago Karma: 0  
If you can post me the code for joomla 1.0, I`m sure to get a whole step further.

thanks,
Mario
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1481
admin (Admin)
Admin
Posts: 1638
graphgraph
User Online Now Click here to see the profile of this user
Re:Using the Joomla Calendar in a form 11 Months, 3 Weeks ago Karma: 23  
Mario,

You will need to add these lines of code :

Code:

<?php mosCommonHTML::loadCalendar(); ?> <link rel="stylesheet" type="text/css" media="all" href="includes/js/calendar/calendar-mos.css" title="green" /> <script type="text/javascript" src="includes/js/calendar/calendar.js"></script> <script type="text/javascript" src="includes/js/calendar/lang/calendar-en.js"></script> <input class="inputbox" type="text" id="start_date" name="start_date" value="<?php echo $row->start_date; ?>" size="11" maxlength="11" /> <input type="reset" class="button" value="..." onclick="return showCalendar('start_date', 'mm-dd-y');" />
 
Report to moderator   Logged Logged  
 
ChronoForms Developer Thanks for using ChronoForms.
If you have any problems with ChronoForms please tell us.
If you like ChronoForms please post a review at Joomla.org
  The administrator has disabled public write access.
#1492
mariokrupik (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Using the Joomla Calendar in a form 11 Months, 3 Weeks ago Karma: 0  
HI,

got it working now.

Code:

<?php JHTML::_('behavior.calendar'); ?> <link rel="stylesheet" href="templates/forms/anfrage.css" type="text/css"> <script type="text/javascript" src="includes/js/joomla.javascript.js"></script> <input class="inputbox" type="text" name="anreise" id="anreise" size="25" maxlength="10" value="" /> <a href="#" onclick="return showCalendar('anreise', 'dd-mm-y');"><img class="calendar" src="images/blank.png" alt="calendar" /></a>
too bad, it`s just not working in IE6. Must be a problem with the Calendar itself, as the calendar is not working in the joomla backend either with ie6. thanks again, Mario
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#8127
texttoscreen (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:Using the Joomla Calendar in a form 2 Months, 1 Week ago Karma: 0  
Hi Guys

I'm using to use the Code in Post #1492, but I can't seem to get it to work with my Joomla 1.14 Version Using ChronosForm.

Please help with a Step by Step instructions
Raoul
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop


equalheight If you have any questions you can post to our forums and we will be glad to help ASAP

Members Login






Lost Password?
No account yet? Register

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com

ChronoForms License

equalheightTo be able to continue working at this component we decided to get a small profit out of it but at the same time don't force everybody to pay in order to use this great component.

 

 From version 1.5 and up a link at the bottom of everyform created will be placed, saying "joomla professional work", the link will be to us here htttp://www.chronoengine.com, its illegal to remove this link from the source code unless you have a license,

so the license is very simply for the same ChronoForms component without a link, thats all!

This License is for 5 different websites ONLY. 

 

 However, in order to allow everybody to still use the component and even get out of this, the link is inside a div with class : chronoform , use this to hide the link by using different colors or whatever if you really can't pay, but of course the link is still exists at your page source.

 

The license is ONLY 25$ can be bought here :

 

Thank you!

 

ChronoEngine.com Team 

Joomla Templates and Joomla Tutorials