0 Members and 1 Guest are viewing this topic.

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #15 on: January 11, 2017, 08:40:24 PM »
Thanks .. But i dont think u get what i was asking... Will figure it out. Thanks anyways

Hi kanyeevel,

You want the speedDateEvent link to appear in the menu right, what I gave you will do that.

it already displays on the menu.. now i am trying to display the content on a rendered page but it doesnt display.

Hi kanyeevel,

Happy to hear the Menu link works, you just need to fix you mod I am guessing, a lot has changed
since osDate v2.6, make sure it doesn't have any depreciated PHP changes in it, like the New & can cause problems.

I haven't had time to test it sorry.

Alright.. Will keep checking for errors thoo. Please when you do let me know incase i havent fixed it by then.

*

Pharg

  • *****
  • 3,147
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Working on a mod on Evo1
« Reply #16 on: January 11, 2017, 08:44:57 PM »
Hi kanyeevel,

All good if I get a free moment, as you can see I have to answer everything on here and do the fixes so very busy.
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #17 on: January 11, 2017, 09:01:22 PM »
Yea i understand. When you have the time. Thanks

*

Pharg

  • *****
  • 3,147
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Working on a mod on Evo1
« Reply #18 on: January 12, 2017, 05:00:29 AM »
Hi kanyeevel,

I had a quick look at it, don't know what it's suppose to do but it shows on the page it should do as you
see in the pic attached.

It has way to many errors in it, has a missing Upload events folder for the events, all the pics don't show, most are missing, I changed the man.jpg to male.jpg and the other to female.jpg, it doesn't seem to be connecting to the database anywhere, so I don't know where the Events data is going to.

You also have the scrollingGallery inside that plugin, not sure why that's in there.

Fix all those issues and it might work  ???

Good luck with that ;)
« Last Edit: January 12, 2017, 05:03:31 AM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #19 on: January 14, 2017, 01:46:39 PM »
Okay thanks. You have to create a new table in the database for that.. Working on fixing most of the errors already.

PS: where do i define PAGE_IDs .. . for admin pages
snippet ---

define( 'PAGE_ID', 'admin_permit_mgt' );


i am looking for which file in which == 'admin_permit_mgt' is declared in.

Thanks

*

Pharg

  • *****
  • 3,147
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Working on a mod on Evo1
« Reply #20 on: January 17, 2017, 07:54:21 AM »
Hi kanyeevel,

Ok thanks for letting me know, I moved you last lot of questions to a more appropriate topic.

Find it here: https://www.osdateforum.com/osdateevo-general-help/re-how-do-i-display-new-pages-(not-using-page-management)/msg8582/?topicseen#new
« Last Edit: January 17, 2017, 07:56:03 AM by Pharg »
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #21 on: January 19, 2017, 12:43:26 AM »
Hello pharg. So i finally fixed most of the problems with the plugin, but now it doesnt seem to display o mainpage using displaymain()
« Last Edit: January 19, 2017, 01:57:47 AM by Pharg »

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #22 on: January 19, 2017, 12:43:36 AM »
Code: [Select]
{strip}
{foreach from=$data key=myId item=i}

<div class="module_detail_inside" style="width:100%;">
<div style="border:1px solid #D4E1F6;float:right;margin:5px;padding:10px;width:570px;margin-right:0px;background:#e9f2ff;">
<table>
<tr><td>{$lang.event_name}:</td><td colspan="2"><a href="plugin.php?plugin={$plugin}&amp;do=subscribe_payment&amp;id={$i.id}"><h3>{$i.event_name}</h3></a></td>
</tr>
<tr><td>{$lang.description}:</td><td>{$i.description}</td><td><img src="event_images/{$i.event_picture1}" width="150" height="150" /></td></tr>
<tr><td>{$lang.date}:</td><td colspan="2">{$i.date}</td></tr>
<tr><td>{$lang.start}:</td><td colspan="2">{$i.start}</td></tr>
<tr><td>{$lang.end}:</td><td colspan="2">{$i.end}</td></tr>
<tr><td>{$lang.venue}:</td><td colspan="2">{$i.venue}</td></tr>
<tr><td>{$lang.place}:</td><td colspan="2">{$i.place}</td></tr>
<tr><td>{$lang.country}:</td><td colspan="2">{$i.country}</td></tr>
<tr><td><img src="images/man.jpg"  /></td><td colspan="2">{if $i.countm == 'free'}{$lang.free}{else}{$lang.full}{/if}</td></tr>
    <tr><td><img src="images/vrouw.jpg"  /></td><td colspan="2">{if $i.countf == 'free'}{$lang.free}{else}{$lang.full}{/if}</td></tr></table><a href="plugin.php?plugin={$plugin}&amp;do=subscribe_payment&amp;id={$i.id}"><div style="float:right;background:url({$imagedir}plugins/speedDateEvent/templates/default/images/badge.png) top left no-repeat;width:263px;height:58px;padding-top:10px;padding-left:10px;font-size:16px;font-weight:bold;text-align:center;">{$lang.subscribe_for}<br />&euro;&nbsp;{$i.cost}</div></a></div></div>div>{/foreach}

{/strip}

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #23 on: January 19, 2017, 12:44:15 AM »
This is the tpl to show on mainpage

Code: [Select]
{strip}
{foreach from=$data key=myId item=i}

<div class="module_detail_inside" style="width:100%;">
<div style="border:1px solid #D4E1F6;float:right;margin:5px;padding:10px;width:570px;margin-right:0px;background:#e9f2ff;">
<table>
<tr><td>{$lang.event_name}:</td><td colspan="2"><a href="plugin.php?plugin={$plugin}&amp;do=subscribe_payment&amp;id={$i.id}"><h3>{$i.event_name}</h3></a></td>
</tr>
<tr><td>{$lang.description}:</td><td>{$i.description}</td><td><img src="event_images/{$i.event_picture1}" width="150" height="150" /></td></tr>
<tr><td>{$lang.date}:</td><td colspan="2">{$i.date}</td></tr>
<tr><td>{$lang.start}:</td><td colspan="2">{$i.start}</td></tr>
<tr><td>{$lang.end}:</td><td colspan="2">{$i.end}</td></tr>
<tr><td>{$lang.venue}:</td><td colspan="2">{$i.venue}</td></tr>
<tr><td>{$lang.place}:</td><td colspan="2">{$i.place}</td></tr>
<tr><td>{$lang.country}:</td><td colspan="2">{$i.country}</td></tr>
<tr><td><img src="images/man.jpg"  /></td><td colspan="2">{if $i.countm == 'free'}{$lang.free}{else}{$lang.full}{/if}</td></tr>
    <tr><td><img src="images/vrouw.jpg"  /></td><td colspan="2">{if $i.countf == 'free'}{$lang.free}{else}{$lang.full}{/if}</td></tr></table><a href="plugin.php?plugin={$plugin}&amp;do=subscribe_payment&amp;id={$i.id}"><div style="float:right;background:url({$imagedir}plugins/speedDateEvent/templates/default/images/badge.png) top left no-repeat;width:263px;height:58px;padding-top:10px;padding-left:10px;font-size:16px;font-weight:bold;text-align:center;">{$lang.subscribe_for}<br />&euro;&nbsp;{$i.cost}</div></a></div></div>div>{/foreach}

{/strip}

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #24 on: January 19, 2017, 12:47:22 AM »
and attached is the php. Thanks

*

Pharg

  • *****
  • 3,147
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Working on a mod on Evo1
« Reply #25 on: January 19, 2017, 02:06:37 AM »
Hi kanyeevel,

Still looks the same on mine, nothing seems to have changed
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #26 on: January 19, 2017, 03:16:14 AM »
Hi pharg thats the thing. Its connected to the DB now and i can insert events with function add_event. Now its getting it to display on the main page thats the problem
« Last Edit: January 19, 2017, 09:07:32 AM by Pharg »

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #27 on: January 22, 2017, 09:54:33 PM »
Hi pharg, hope u fairing well. So am taking a look at langBanners plugin.. I can see that displayMain calls banner.tpl .. I deleted the content of banners.tpl but still the banner shows no matter what i add or delete. I want to know what else is calling the banners to the front page so i can edit it. Thanks
« Last Edit: January 22, 2017, 10:01:10 PM by Pharg »

*

Pharg

  • *****
  • 3,147
    • OsDateFourm
  • osDate Version: osDateEvo v1.3
Re: Working on a mod on Evo1
« Reply #28 on: January 22, 2017, 10:04:52 PM »
Hi kanyeevel,

Are you sure it's not the normal banner that's showing up?

I never use the lang Banners plugin, I always use the Banners in the admin or just put the code in the template pages.
Regards,
Pharg ( Phill )

Don't Personal Message me unless it's about a sensitive matter!!

REMEMBER TO ALWAYS BACKUP BEFORE MAKING ANY CHANGES!!

osDateEvo v1.3 | PHP: 5.3.42 & PHP: 7.2 | MySQL: 5.5.35

*

kanyeevel

  • *
  • 38
  • osDate Version: osDate Evo v1.0
Re: Working on a mod on Evo1
« Reply #29 on: January 22, 2017, 11:30:39 PM »
no am pretty sure. Its the langBanners. Created a banner and wanted it to display differently but it doesnt seem to change in the banner.tpl file.. Seems thats not the file that calls it. Can you have a look