Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: IamJaysta on March 01, 2012, 07:21:38 PM

Title: Moving Calendar Linked Events
Post by: IamJaysta on March 01, 2012, 07:21:38 PM
Hello,

I am running the default theme and recently downloaded an event registration mod for my site.  The linked event only shows at the top of the event post.  Usually there's a lot of registrations, so I would like to move it to the left side block section.

Can some one instruct or direct me on how to do this?  I am new to this whole coding thing, but have a lot of years in experience in regular HTML designing.

Thanks in advance!
Title: Re: Moving Calendar Linked Events
Post by: Robert. on March 02, 2012, 04:08:16 AM
Please attach Display.template.php and I'll move it for you. :)
Title: Re: Moving Calendar Linked Events
Post by: IamJaysta on March 04, 2012, 02:07:03 PM
*snip*
Title: Re: Moving Calendar Linked Events
Post by: TheListener on March 04, 2012, 02:12:05 PM
@IamJaysta

Can you please add the requested file as an attachment and not as a post otherwise it makes it harder for the person to assist with this.

To attach to a post download the file to your desktop then using the attachments in the posting area click on browse and attach the required file.

This attachs the file to a post.
Title: Re: Moving Calendar Linked Events
Post by: Illori on March 04, 2012, 02:41:12 PM
i have removed the code pasted above as it does not fit in a post and was not complete. as requested above attach the file to your next post.
Title: Re: Moving Calendar Linked Events
Post by: IamJaysta on March 04, 2012, 02:43:02 PM
Thanks a lot!

Atached is the template.

Please let me know how you did it as well.  I am trying to learn.
Title: Re: Moving Calendar Linked Events
Post by: IamJaysta on March 05, 2012, 12:11:23 PM
I guess, I posted the attachment too late.  Can some one else assist me with this?

Thanks!
Title: Re: Moving Calendar Linked Events
Post by: IamJaysta on March 05, 2012, 06:25:03 PM
Or is there another a reference site that I can learn myself.  Please let me know know.  Thanks!
Title: Re: Moving Calendar Linked Events
Post by: Kays on March 05, 2012, 07:46:28 PM
Hi, since SMF has no side block. You must be using a portal.

It should be possible to move the code from that page to a portal block.

Ask at the support site for the portal you're using.
Title: Re: Moving Calendar Linked Events
Post by: IamJaysta on March 06, 2012, 10:11:20 PM
No one is assisting me with this on simple portal.

I simply just need to know what coding to cut out and apply it to the simple portal.  Please let me know.  I have attached  and researched for the past 3 days with no luck.
Title: Re: Moving Calendar Linked Events
Post by: Kays on March 08, 2012, 11:23:15 AM
I don't have SP to test with but the code to move is from lines 133 to 374 in the file you attached.

Try copying that to a side block and see what happens. :)