This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Views - warning mysql with "my most recent post" on profile

Hellow all,

I started serious in Drupal two weeks ago and I have since installed a few modules. Among them are: OG_Groups, OG_Forums, OG_subgroups, Taxonomy_Access and Views.

With using Views I created a block with "my most recent story" for the profile. I wanted to have a teaser there and it worked yesterday.

Today I see warnings. They look serious. And since I'm not very good at unraveling the phpcode that it gives ... I would really want your help.

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESC LIMIT 0, 1' at line 1 query: SELECT DISTINCT(node.nid), node.created AS node_created_created, value FROM node node INNER JOIN node_access na ON na.nid = node.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 0 AND na.realm = 'og_public') OR (na.gid = 9 AND na.realm = 'og_subscriber') OR (na.gid = 8 AND na.realm = 'og_subscriber') OR (na.gid = 2 AND na.realm = 'term_access') OR (na.gid = 4 AND na.realm = 'term_access'))) AND ( (node.type IN ('story')) AND (node.created <= 1180568537 + 0) AND (node.uid = 2) ) ORDER BY node_created_created DESC, DESC LIMIT 0, 1 in C:\mydomain\wwwroot\dev\includes\database.mysql.inc on line 172.

CCK/Views: How to find nodereferences point to current node

Hello,

I am a Drupal newbie with a simple problem (I hope).

I have two content types: Party and Article. Article has CCK field nodereference that points to related Party.

At the party detail (?q=party/xyz), I need to find all Articles that are related to this Party (has nodereference == current party). How can I do that?

Can you help me with this please?

unique link - cck

Hi guys,

i tryd a long time now to find some, but no result...

i added a link field to my content type.

now i want, that an url only can add unique like on digg...

how i can do this?

if someone add google.com or www.google.com, user have to get a "url already exist error"

any sql snipped available?

Exporting XML from nodes and fields

How would i be able to create a CUSTOM XML file where i can pull info from a COntent type..

so for example i have a content type for portfolio . it has title, image1 , image2, image3, etc

and i would like to create a XML feed that has the info into seperate tags

<title>my title</title>
<image1>myimage.jpg</image1>
etc

Mod like Case Tracker

I am working on finding out how to use Drupal to track files for a repo company that I work for and ran across Case Tracker. Case tracker is close to what I need but does not store all the data I would need to associate with a file. However it is a step in the right direction. Is there anyone who has worked on modding Case Tracker? Is it dificult to someone with only an beginners knowledge of PHP? And lastly is there a billing module that can be associated with case Tracker?

Thanks if advance for the information.

customize add node page for new node type

Hi,
I created a new node type, and have a few custom fields on the 'add' node page. I would like to disable some of the options on this add page that don't make sense for my node type. How do I do that? In particular I don't want the comments, menu, path, and attachments sections to even show for this node type. Is there a way to make that happen?

Thanks,

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions