VISIT AND LIKE OUR PAGE ON FACEBOOK
TAKE A LOOK AT OUR TWEETS ON TWITTER
SUBSCRIBE TO THE JOOMFREAK RSS FEED
VISIT OUR CHANNEL ON YOUTUBE

Account Details

Change your name, email, password or permanently delete your account. Change settings

We offer several ways you can get support from our experts: Support ForumKnowledgebaseNewsletter

Your Forum Posts

No posts to display.

Welcome, Guest
Username Password: Remember me

OSG Seminar Manager Modul - show Start Date
(1 viewing) (1) Guest

TOPIC: OSG Seminar Manager Modul - show Start Date

OSG Seminar Manager Modul - show Start Date 20 Nov 2013 14:09 #3419

Hi Guys. I hope this is the right section. I need at the OSG Seminar Modul the start date ....

default.php

<?php echo $slide->title; ?>

after the titel at the next row the date should be displayed

pleas help... best regards
3Stix

  • Posts:9
  • 3stix
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: OSG Seminar Manager Modul - show Start Date 20 Nov 2013 17:27 #3420

Try with:
<?php echo $slide->start_date; ?>

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Re: OSG Seminar Manager Modul - show Start Date 20 Nov 2013 17:56 #3421

ive tried this more times... wont work....

this is my code

<li class="courselist">
<a href="<?php echo $link; ?>">
<?php echo $slide->start_date; ?>
<?php echo $slide->title; ?>
</a><div class="tt-desc"><?php echo $short; ?></div>
</li>

title is working
start_date NOT
Last Edit: 20 Nov 2013 18:00 by 3stix. Reason: wrong code

  • Posts:9
  • 3stix
  • Fresh Boarder
  • OFFLINE
  • Karma: 0

Re: OSG Seminar Manager Modul - show Start Date 21 Nov 2013 17:28 #3430

I will soon write here a solution...

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Re: OSG Seminar Manager Modul - show Start Date 22 Nov 2013 17:13 #3435

3stix wrote:
ive tried this more times... wont work....

this is my code

<li class="courselist">
<a href="<?php echo $link; ?>">
<?php echo $slide->start_date; ?>
<?php echo $slide->title; ?>
</a><div class="tt-desc"><?php echo $short; ?></div>
</li>

title is working
start_date NOT


Solution is here:

in the helper php edit/add following lines:

line: 90 replace with:
$query->select('i.introtext AS course_intro, i.id AS course_id, i.title AS course_title, i.start_date AS start_date, i.alias AS course_alias, rel.catid AS course_catid, c.alias');
 


After line 163 add:
$imgObject->start_date = $course->start_date;


In the defualt.php you can get start date with
<?php echo $slide->start_date; ?>
, don't forgot to format it with php.
Last Edit: 22 Nov 2013 17:17 by m.freak.

  • Posts:502
  • theres no place like joomfreak.com
  • m.freak
  • Platinum Boarder
  • OFFLINE
  • Karma: 0

Re: OSG Seminar Manager Modul - show Start Date 22 Nov 2013 17:48 #3437

works great ... big thx ....
now is the module perfect....
thanks a lot

  • Posts:9
  • 3stix
  • Fresh Boarder
  • OFFLINE
  • Karma: 0
Time to create page: 1.34 seconds
Tuesday 25 June 2019

joomfreak is not affiliated with or endorsed by the Joomla Project or Open Source Matters.
The Joomla logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.