Closed (fixed)
Project:
MySite
Version:
5.x-1.10
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
9 Jun 2007 at 09:46 UTC
Updated:
22 Aug 2007 at 15:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardI also think it's bad Drupal form to be asking for features when you:
a) clearly aren't tracking the development of the module
b) obviously haven't looked at the new demo (http://therickards.com/mysite/agentrickard)
c) haven't contributed any code (even though the documentation gives instructions for doing so)
Right now what I really need are testers for the 5.x.2 release, with Bug reports and not feature requests. Once 5.x.2 gets released, we can start adding new features.
Try the beta for 5.x.2 (or download HEAD). It addresses most of these concerns.
I don't know what you mean by "use AJAX for tabs." Do you mean something like http://drupal.org/node/145423. Patches or details are welcome after the 5.x.2 release is stable.
The 5.x.2 release doesn't need a page.inc or a story.inc, because those are now handled by the generic node.inc -- unless you want to track page or story posts by user. I never built those because tracking blog posts by users was a more obvious use case and I don't have unlimited time.
If you have written plugins to cover additional features, go ahead an attach the files here and I will see about including them in the download. More layouts are definitely welcome, though the 5.x.2 release will ship with 5 layout files.
BTW: 5.x.1.9 is not a supported release. It was deprecated for 5.x.1.10 months ago.
Comment #2
agentrickardScreenshot of 5.x.2
Comment #3
Attitudee commentedthanks, for suggestions..
i am a newbie to drupal, so unaware of how things work here..
by Ajax tabs, i mean the view mysite, edit mysite and add content menu tabs, i am displaying them through ajax,
and yes once i will complete all this features, i will surely submit the code.
but i am getting one problem, in calling the theme_mysite_page() function from my function, but not getting the page view correct, can you suggest me how to call this function and what will be the output for this.
thanks in advance..
Comment #4
agentrickardSorry if I was defensive, I've been working hard to get the new release out. I am very interested in using AJAX to simplify the UI, but had enough work to do just to split the content addition section into pages and tables.
There isn't a theme_mysite_page() function. Theming of the output is handled by the Layout and Format plugins.
There are these closest function matches:
mysite_page($uid = NULL, $pageview = TRUE)
http://therickards.com/api/function/mysite_page/MySite
theme_mysite_pager($pages = 0, $page = 0)
http://therickards.com/api/function/theme_mysite_pager/MySite
You can get complete documentation of the module and its functions here:
http://therickards.com/api/functions
http://therickards.com/api/groups
Of course, the API documentation covers version 5.x.2, so you may want to upgrade. (But the upgrade will require you modify your existing code -- see the notes in the new README and the online API).
What are you trying to do from your function? (Attaching sample code is OK.) My guess is that you want to call mysite_page() from outside a page view. In that case, be sure to pass $pageview = FALSE. Doing so will return you a data array instead of themed output.
Comment #5
agentrickardAnother quick note.
Please write patches against HEAD, which can be downloaded from http://ftp.osuosl.org/pub/drupal/files/projects/mysite-HEAD.tar.gz or via CVS http://drupal.org/node/321
Comment #6
agentrickard