Can we move a block from one page to another? I want to move the spy window on to the homepage. Can we do this.
Can we move a block from one page to another? I want to move the spy window on to the homepage. Can we do this. |
Anyone? |
Hello! If function which draws block doesn't depend from exact page class (like method getBlockCode_Leaders can't be used in another page except index) then u may paste it to 'Content' field for necessary page. In ur case it will be approx like: INSERT INTO And then delete file cache/sys_page_compose.inc. Regard |
thanks LeonidS my requirement is to add a block for SPY ALL as in the spy menu which reflects all the activities of all the users in the site. I added ta php block using Block magic module but unable to find the exact code to put in it . I'm new to php please help thanks |
please help |
anyone ? |
I gave u exact example about way to do it. If this block doesn't contain necessary info then put to `Content` field value another code. Regard |
hi LeonidS, Can you please tell me into which file should i insert this code into. i tried to insert in the file BxDolPageView.php below code INSERT INTO `sys_page_compose` SET `Page` = 'index',`PageWidth` = '998px',`Desc` = 'Spy data here',`Caption` = '_bx_spy',`Column` = 2,`Order` = 2,`Func` = 'PHP',`Content` = 'BxDolService::call('spy', 'get_member_spy_block');',`DesignBox` = 0,`ColWidth` = 66,`Visible` = 'memb'; but got the error Parse error: syntax error, unexpected T_STRING in /home/ennovat1/public_html/thirdmedia/inc/classes/BxDolPageView.php on line 596 please help |
Got it , i have inserted the above command in the table ( sys_page_compose ) using php my admin thank you very much LeonidS |
Leonids, that for sharing the code, as it works as it should on the home displaying All Activities, but the Block displays ONLY the member's activities as soon as that memeber logs in. Is there any other code I can try besides "BxDolService::call('spy', 'get_member_spy_block');" to have the Spy Block display ALL Activities for both Guest or logged members? Anyone? |
Leonids, that for sharing the code, as it works as it should on the home displaying All Activities, but the Block displays ONLY the member's activities as soon as that memeber logs in. Is there any other code I can try besides "BxDolService::call('spy', 'get_member_spy_block');" to have the Spy Block display ALL Activities for both Guest or logged members? Anyone?
Zak - like this one?
We have this spy and wall mod Posted here on Unity. That takes guts. Hop into a thread, see what someone is doing to help someone else and then write it up as a mod and post it in the same thread. Now that does take guts KMD. |
Sorry Md , this mod was not made from this code, as you can tell ours post in order and with avtars... Not this code... To be fair, you could have used any of the other example codes available on this forum since last year. I'm just making it harder for you. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Sorry Md , this mod was not made from this code, as you can tell ours post in order and with avtars... Not this code... To be fair, you could have used any of the other example codes available on this forum since last year. I'm just making it harder for you. For D7 spy and wall? Last Year? umm,, what? Yes, Dolphin 7 was under development and publicly available last year. It was also released last year, but apparently you're unaware of such things. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Sorry Md , this mod was not made from this code, as you can tell ours post in order and with avtars... Not this code... To be fair, you could have used any of the other example codes available on this forum since last year. I'm just making it harder for you. For D7 spy and wall? Last Year? umm,, what? Yes, Dolphin 7 was under development and publicly available last year. It was also released last year, but apparently you're unaware of such things. Now I remember why I dont come into post.... We're all starting to remember why you don't come here to post. BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
Now if we could just get you to quit coming in here altogether. That would include using the market and selling mods you steal on your own site. |
I concur with mydatery. |