content

Managing several custom content types from one module(drupal)

Is it possible to declare and manage several custom content types inside one module? I'm creating a site that needs four custom content types and I'd like to manage them from one module instead of creating module for every content type. After some testing, I found out that it seems impossible. Because, unless hook_form and content type s...

Anyone able to get video resolution from the media content provider in Android?

I'm getting null back for the 'Video.Media.RESOLUTION' column on a Nexus One and Droid. Anyone been able to successfully query for the resolution of a video file in Android? ...

Is there a way to distribute content for an application on the android market?

Does the android market support distribution of content packages? Is there any way a dependency structure can be created so that to obtain a content package for the app depends on the app to be installed as well? ...

Digital Content and Google Checkout

I have integrated Google Checkout to my payment system with the use of php code provided on the Google Official site. Now I need to add Digital Content to the Cart. I have checked the Cart and couldn't find any direct function or example for achieving this. Please suggest the method to add Digital Content to Google Checkout ...

removing extra stuffs from content creation page (Drupal 6.x)

Drupal 6.x How do I remove collapsible frames - "Authoring information","Revision information", "Publishing Options" - from content creation page? For what is worth, I'm logging in as a regular user and I don't want these controls to be presented to regular users. P.S : I also like to remove save/preview buttons as well. ...

CSS, Centering an absolute <div> withing a 100% width <div>

This shouldn't be hard...I have a menu and some content wrapped in a centered, liquid div. The content is positioned absolute. All I want to do is center #content-container. What am I missing here? #wrapper { max-width:100%; min-width:600px; min-height:100%; margin:0 auto; } #header { ...

Sharepoint 2007 - Content query webpart formmode

I have got a simple question, but the answer is hard to find. I want to put a contentquery webpart with a custom xslt on my page, but it has to render extra links if the page is opened in edit-mode. So, if (SPContext.Current.FormContext.FormMode == SPControlMode.Display) : show some extra links near the items in the xslt. How can I achi...

Optimize loading an XAP file with an asp.net website

I've been developing a game using Silverlight 4 and silversprite (http://silversprite.codeplex.com/) This game is HEAVILY content dependent, using a lot of audio and images. My content folder is around 90 mbs worth of stuff. And because of that, my XAP file is around 60 MB, and takes 5 minutes to download from the website before any us...

Hook perm for more than one content type

Drupal 6.x I have this module that manages four different content types. For that matter, how do I define permission for each content within the same module? Is that even possible? I can't figure out how to define permission for each content type cuz hook_perm has to be named with module name and it doesn't have any argument(like hook_a...

Content organizer auto create folder has wrong time in sharepoint 2010

Hi, I have a problem, I am using the content organizer feature to redirect document on upload and the auto create folder feature of it, the property used is a date set by the user when the document gets uploaded. My problem is that when the folder gets created it writes the time set by the user minus two hours, I see that it uses GMT ti...

Calculate the contentsize of scrollview

Hi all, I'm having a scrollview as the detailedview of tableview cell. There are multiple views on the detailedview like labels, buttons etc. which I'm creating through interface builder. What I'm creating through interface builder is static. I'm putting everything on a view of height 480. A label on my detailedview is having dynamic ...

CSS resizing menu and content background images

Hello, I need to have resizable menu and content background images for my site, so both of them get stretched whenever the menu entries are too many, or the contents go outside the borders of the content background. I need vertical stretching. Could you, please, give me a hint (an actual answer would work as well) or a link to a good e...

Drupal. Better content administration, sort by node's CCK fields?

Hi, I was asking myself if there's a better way of sorting content in Drupal. Right now, when I go to admin>content all the nodes are mixed up. I installed the module "Content administration" (http://drupal.org/project/nodeadmin) and now you can not only filter but also sort them by title, type, author... but that's all. Is there any g...

Programatically copy a content control along with its contents

Any idea, what should be done if I want to copy a content Control into another, along with its contents. Note: Content control will contain other content controls too. When I copy the content control, I need to copy it along with its contents ...

QDockWidget behavior when changing its content

Hi folks, I'm facing a problem with one of my QDockWidget. I have several QWidget items in a QDockwidget that are sometimes visible sometimes not. I would like that my QDockWidget resizes itself depending on its content... Not only when QWidgets appear in it, but also when they disappear... So far, my QDockWidget resizes itself when ...

Cost of using PowerMTA

I'm considering using PowerMTA to deliver emails, handle bouncebacks etc. I have a multi-client CRM solution and I want to offload the complexity of the email infrastructure. Does anyone have any feedback on the specific costs and quality of support from Port25? Difficult to define volumes because it all depends upon how many emails t...

Reusable Content List not showing in Sharepoint

Hello All, I'm trying to get the Reusable Content List on my SharePoint site, for that i have activated the office sharepoint server publishing infrastructure feature, even when that feature is active the Reusable Content List is not being displayed. Does anyone knows what could be the reason of this? Thanks in Advance, i really appre...

Filesystem-based web content

Hi, I plan to pull my Java web apps's content from a filesystem, for the sake of simplicity of editing. These files will be most probably only a text in a simple markup like JTexy or Markdown. What I plan to implement is a tree-like structure keeping the content of the files. It should be cached and eventually should handle authorizati...

Android: Delete SMS at particular threadId location

I am trying to understand the difference between phones, and the software on them. I code and test on the Droid Incredible. A content observer of content://sms works fine and I am able to delete threadIds on the Incredible, but my app crashes on the Moto Droid Milestone. I test for the Milestone using Moto Dev Studio using the Milestone ...

get the state in a url

i've read this article for ajax indexing how can i do to read the state in a url like this with rails? ex. http://mysite.com/controller/action#!pid=1237604&amp;id=1079297234 the state is: pid=1237604&id=1079297234 thanks ...