![]() |
Quote:
Code:
$format = sprintf("On %s%s %s %s",date("j",$event['dateline_from'])+1, date("S",$event['dateline_from']), date("M",$event['dateline_from']), date("Y",$event['dateline_from'])); |
Cheers for the code it may well help out another user
|
Quote:
|
guys is there anyway to show this on "NON" VB pages?
|
Quote:
Something i have'nt looked at mate but your welcome to have a go and do some testing to get it working on a non vbull page. |
Quote:
PHP Code:
|
Hello All,
Great mod and good work by all who contributed. I have a few questions (you are talking to a technical idiot please bear that in mind when answering) Will this work as a widget in CMS Is there a way to have images to the left and event data on the right (any chance someone can show me full code to do this PLEASE) If someone has worked out how to get it to work for single calendars please advise I run two calendars and would like to have a widget for each of them. Many thanks in advance to anyone who takes the time to answer me |
I have a similar need, Mark4 - good of ya to ask - I was just searching for that function.
and btw - it works just fine in CMS - Just remember to return a variable of $results as instructed. The scripts above in the root post refer to $output.. 1_ Admin CP - CMS - Widget Manager - Create Widget - Direct PHP execution type - Give it a title. 2) Select configure from the list after the addd of the widget and the code above of your choice. I will assume you know how to copy the code block and paste it. 3) In your pasted block, scroll all the way to the end - If the one you copied ends like this Code:
return $output; Then change it to this: Code:
return $result; now, to customize it by event :) Cheers |
2 questions :
1- ) can someone explain what is // %d ? I am just trying to learn 2-) another issue i have right now is when an even is on Feb 9th, as soon as clock turn to FEB 9th, the even is gone, is it possible to keep it until end of the current date? Thanks, |
Hello BitBender
thanks for info, cutting and pasting just about covers my technical knowlege so I can manage that thanks. I want a widget with images but the image on the left and text on the right, but the text should be limited to the title only that will take you to the event if click on it. Any chance you can help me with the code required to acheive that result? Sorry I know I am asking a lot here |
All times are GMT. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|