trouble with displaying module data

So I created a custom module that parses some xml data from another site and grabs a few values for display on the site I'm developing. Everything with the module seems to work except I can not display the data anywhere except in the top left corner of the window. If I choose another block for it to display in, I still get the data being output at the top of the screen. Any suggestions? I'll post the code below if that would help anyone diagnose this problem.

Bartik style Superfish Menu

Does anyone have a stylesheet that would theme my superfish menu to look exactly like the Bartic theme tab menu? I've tried some css from a few other posts, but none of them look exactly right. I am using D7 btw. Thanks!

Flowplayer with Drupal 7

I want to use the Flowplayer module, which I have already installed, in order to upload a video to my site. Do I need to use another module to enable the video field because for some reason my Video module is not working. Is there a way to use the flowplayer module alone to play the video? Can I use a node preprocess function to add the video player?

image link to open external url inview

I have a node with an image field and a textfield.
The textfield is an external link to other sites (eg. www.google.com).
I made a view to display the images and clicking on the image opens the external url in a new window.(using "linkpath" and "External server URL" in "rewrite results" of the settings for the image field in view. So that works.

Notice: unserialize() [function.unserialize]: Error at offset # of # bytes in DrupalDatabaseCache->prepareItem()

Drupal 7.2
XAMPP 1.7.1
Windows 7

I keep seeing this message appear randomly, this only happens using xampp, (Windows 7)... it works fine on my unix server!

Adding a page into panels.

Hey,

I would like to code what is effectively a list of recently created entities (that depends on the page being viewed) and have it as a content 'block' for panels.

I could do this with views, however, I load other entity types and use their properties in a moderately complex way to make the list more user friendly. (e.g. My entity specifies user ids, so I want to to pull up the user's names and use that in the list item). I can easily create a page callback to do this, but cannot see how to integrate the information into a panels page.

It seems, from my brief research, that making a block is a bad way to do this since I need url arguments, and since my content is not a node, I cannot seem to be able to add it using the add existing node.

Also, incidentally, I should mention that I have another issue in trying to use views to do this in that the relationships button in the add a views window doesn't work and shows a page of code when I click on it.

Just to illustrate what I was trying to say, this is the page callback function. The ladder, ladder_user and ladder_outcomes are each separate entity types.


function ladder_outcome_recent_outcomes_page($ladder) {
if (!module_exists('ladder_user')) {
drupal_set_message('Ladder User module not found, cannot process.');
return;
}
$result = ladder_outcome_recent_outcomes($ladder->lid);

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x