Page 1 of 1
[SOLVED] Modifying an existing block

Posted:
Sat Apr 15, 2006 5:28 pm
Author: Bush
Is there a way I can take the Minical block and strip the calender out of it and just have the Upincoming Events to form a new block.
I want to keep the existing Minical block on the forum index on the bottom by the online block.
Re: Modifying an existing block

Posted:
Sun Apr 16, 2006 4:35 am
Author: found it
If you are asking can you do it...then feel free
If you are asking how to do it I have no idea....but maybe someone else can....


Posted:
Sun Apr 16, 2006 10:41 am
Author: Bush
I'm asking how to do it..
Where is the minical (thats at the bottom of the FORUM index) code kept at?
Re: Modifying an existing block

Posted:
Sun Apr 16, 2006 10:50 am
Author: GanBei
OPEN:
index_body.tpl
FIND:
{MINI_CAL_OUTPUT}
Hope this helps..

Posted:
Sun Apr 16, 2006 11:38 am
Author: Bush
GanBei,
Thats exactly what i'm looking for, two bad the upcoming events on the mini cal are stored within
{MINI_CAL_OUTPUT} as well as the actual calander.
So I looks like me making a block of the Mini cals upcoming events is gonna be next to impossible <img>
Re: Modifying an existing block

Posted:
Sun Apr 16, 2006 1:38 pm
Author: GanBei
- Code: Select all
[ OPEN ]]: (your codes may be slightly differently than those of mine) <tr> <td> <table> <tr> <td>{U_PREV_MONTH}</td> <td><span> <BEGIN> <a> <END> {L_MINI_CAL_MONTH} <BEGIN> </a> <END> </span></td> <td>{U_NEXT_MONTH}</td> </tr> <tr> <td><span>{L_MINI_CAL_SUN}</span></td> <td><span>{L_MINI_CAL_MON}</span></td> <td><span>{L_MINI_CAL_TUE}</span></td> <td><span>{L_MINI_CAL_WED}</span></td> <td><span>{L_MINI_CAL_THU}</span></td> <td><span>{L_MINI_CAL_FRI}</span></td> <td><span>{L_MINI_CAL_SAT}</span></td> </tr> <BEGIN> <tr> <BEGIN> <td><span>{mini_cal_row.mini_cal_days.MINI_CAL_DAY}</span></td> <END> </tr> <END> </table> </td> </tr>

Posted:
Sun Apr 16, 2006 1:48 pm
Author: Bush
Im actually trying to make a block using the mini_cals code that just displays upcoming events.
I made events_block.tpl file that contains the following:
- Code: Select all
<table> <BEGIN> <tr><td><span>{L_WHOSBIRTHDAY_TODAY}</span></td></tr> <tr><td><span>{L_WHOSBIRTHDAY_WEEK}</span></td></tr> <END> <BEGIN> <tr><td><span><center>{L_MINI_CAL_EVENTS}</center></span></td></tr> <END> <BEGIN> <tr><td><span>{mini_cal_events.MINI_CAL_EVENT_DATE} - <a>{mini_cal_events.S_MINI_CAL_EVENT}</a></span></td></tr> <END> <BEGIN> <tr><td><span><center>{L_MINI_CAL_NO_EVENTS}</center></span></td></tr> <END> </table>
I uploaded this into templates/PowerMetal/blocks directory, but when I goto add a new block under ACP> IM Portal, it does not show up in the list to select from. ?
Re: Modifying an existing block

Posted:
Sun Apr 16, 2006 2:12 pm
Author: GanBei
New block files sent to you <img>

Posted:
Sun Apr 16, 2006 2:23 pm
Author: Bush
Thanks GanBei for solving this via E-Mail.
Re: [SOLVED] Modifying an existing block

Posted:
Sun Apr 16, 2006 2:27 pm
Author: GanBei
Glad to see it working on your site.. Great looking site, well DONE!!
Re: [SOLVED] Modifying an existing block

Posted:
Sun Apr 16, 2006 2:33 pm
Author: found it
"GanBei";p="1895" wrote:Glad to see it working on your site.. Great looking site, well DONE!!
Good to see you back and also off topic......
A few months ago you made a great many blocks and and on your site you were going to release them.....are you still going too....?
Re: [SOLVED] Modifying an existing block

Posted:
Sun Apr 16, 2006 2:39 pm
Author: GanBei
Hello found it, good seeing you online <img>
I have made many blocks related to and non-related to the core IntegraMOD Project.. Are there specific blocks you would like released?
Re: [SOLVED] Modifying an existing block

Posted:
Sun Apr 16, 2006 2:42 pm
Author: found it
hmmm see now I have to think....
I do know you did many for the activity mod that where great....I will have to visit your site agian and have a look round if that is ok...


Posted:
Sun Apr 16, 2006 2:42 pm
Author: Bush
I want access to all of your blocks that are core to integramod. <img>
Re: [SOLVED] Modifying an existing block

Posted:
Sun Apr 16, 2006 2:45 pm
Author: GanBei
FI, sure, feel free to browse.. However, I do not have much of the blocks live nor did I list post them in the forums.. You may want to ask Adrian cuz he may know more of what we have at our site..
BTW, you are always welcome to visit found it!!

Posted:
Sun Apr 16, 2006 2:50 pm
Author: Jason Sanborn
I'd love to see your site as well. What's your web address? (You might be displaying web info only to friends) <img>

Posted:
Sun Apr 16, 2006 2:53 pm
Author: Bush
Re: [SOLVED] Modifying an existing block

Posted:
Sun Apr 16, 2006 2:55 pm
Author: GanBei
If you are talking to me let me know and I'll pm you with my site address..

Posted:
Sun Apr 16, 2006 4:50 pm
Author: tekguru
Bush - love how you have done the donation system linked from top right of the portal - any chance of sharing it with us all?

Posted:
Sun Apr 16, 2006 5:11 pm
Author: Bush
Tekguru, I just made a Portal Page and coded the html into that.. That is what the link goes to is
http://www.mofclan.net/portal/portal.php?page=14<img>

Posted:
Sun Apr 16, 2006 5:18 pm
Author: tekguru
Right - how did you get the HTML in there, design your own custom block or just put the HTML into a bare block?

Posted:
Sun Apr 16, 2006 7:01 pm
Author: Bush
Just put the HTML into a bar block <img>

Posted:
Mon Apr 17, 2006 1:00 am
Author: tekguru
Cheers.