drupal.org - Post installation http://drupal.org/taxonomy/term/22/0 Drupal is up and running but how do I ...? en Cron Disables Comments on Scheduled Nodes http://drupal.org/node/515650 <p>I recently implemented a workflow setup on my drupal install using the workflow &amp; revisioning modules; I used the settings/steps outlined here on the drupal.org site. For some of the entries, when they go from a "review" status to "publish" I sometimes schedule them for a future date, instead of having it publish immediately. I do this using cron, which I was able to setup without any problems. Everything works fine, but I'm encountering one problem.</p> <p>The problem is this... I have comments enabled by default on every node that's created. But when a node is published via cron, the comments become disabled, and I have to manually edit the node to re-enable comments for any node that cron published.</p> <p>I've noticed that when I run cron from the admin panel, everything works as it should &amp; comments remain enabled. They only get disabled when cron is run automatically (as an anonymous user).</p> <p>Has anyone had this problem before and/or have a suggestion on how to rectify this? If I can get this resolved, my drupal install will be running just as I need it to. Thanks!</p> <p>Also, just to note... I'm running the latest build of drupal and the latest version of all modules</p> <p>lj.</p> http://drupal.org/node/515650#comments Post installation Drupal 6.x Fri, 10 Jul 2009 14:05:25 +0000 LaRosa 515650 at http://drupal.org Strict DTD and iframes in Drupal. http://drupal.org/node/515624 <p>Hi,</p> <p>The Garland theme uses a strict DTD type for its page template (page.tpl.php) and my understanding is that strict DTD does not recognize the iframe tag (as written all over the Internet). However, when I create a page using this tag, it works perfectly fine with the full HTML filter on. So does Drupal handle the iframe tag separately (and thus working around the incompatibility) or is it just that my browser(s) are a little lax implementing the strict HTML standard? This is important to me because I want to use a particular graphing package that does not work under strict DTD, as learnt from bitter experience trying to make it work for Drupal!</p> <p>Thank you,<br /> Sunny</p> http://drupal.org/node/515624#comments Post installation Fri, 10 Jul 2009 13:30:53 +0000 tpvsk 515624 at http://drupal.org can a content-type inherit/extend another type http://drupal.org/node/515572 <p>I've built a generic content-type called "person_profile". Now I'd like to sub-class or extend this type for "staff", "board_members", "teachers", etc.</p> <p>Is this possible?</p> http://drupal.org/node/515572#comments Post installation Drupal 6.x Fri, 10 Jul 2009 12:07:53 +0000 andrew_sinning 515572 at http://drupal.org customizing how a content item is displayed http://drupal.org/node/515566 <p>I have a content type "profile". The profile will contain an image and a short description of the person. I'd like the profiles to be displayed (whether 1 at a time, or several on a page) so that the profile-image is on the left and the text for the person profiled wraps around it.</p> <p>I have no idea where I would do this or where to even begin. Do I need to create a view?</p> http://drupal.org/node/515566#comments Post installation Drupal 6.x Fri, 10 Jul 2009 12:04:57 +0000 andrew_sinning 515566 at http://drupal.org How to disable RSS http://drupal.org/node/515558 <p>Hi,<br /> I want to disable RSS feeds but can't seem to find the way to switch them off.<br /> Thanks in advance,<br /> Jason</p> http://drupal.org/node/515558#comments Post installation Drupal 6.x Fri, 10 Jul 2009 11:36:54 +0000 armsch6 515558 at http://drupal.org Contemplate question http://drupal.org/node/515542 <p>Hello. I'm using the contemplate module and I've found a problem with cck image field. My content type has a cck image field and I use "img" html tag on teaser and body of contemplate to show the image. It works fine with teaser and view with this code:</p> <p>But in the body, altougth I can see on the page this html code (with the correct path to src), It doesn't show the image when I see the node on a page.<br /> I've tried to put directly and image on the contemplate body field , but It doesn't appear too. I don't know why it happens. Can't be use "img" tag on contemplate body?<br /> Someone could help me?</p> <p>Thanks.</p> http://drupal.org/node/515542#comments Post installation Drupal 6.x Fri, 10 Jul 2009 11:13:33 +0000 briantes 515542 at http://drupal.org text update recieved via sms http://drupal.org/node/515512 <p>If you look at this page<br /> <a href="http://www.standupforschools.org/" title="http://www.standupforschools.org/" rel="nofollow">http://www.standupforschools.org/</a></p> <p>Can drupal be setup so people can enter their phone number via a form and then the admin would later be able to bulk sms them?</p> <p>I've loaded sms framework and bulk sms but this does not seem to do this....</p> <p>Thanks</p> http://drupal.org/node/515512#comments Post installation Drupal 6.x Fri, 10 Jul 2009 10:31:05 +0000 roi8877 515512 at http://drupal.org Node reference and Views 2: Can't define a "refers to nothing" filter http://drupal.org/node/515494 <p>Regards.</p> <p>I can't figure how to define the following conditions using Views 2 and a Node Reference field:</p> <p>· Refers to ANY node, no matter which one. Just any.<br /> · The opposite, that is, refers to NULL (empty field).</p> <p>Am I missing something or did I find a problem on Views module?</p> <p>Thanks in advance.</p> http://drupal.org/node/515494#comments Post installation Drupal 6.x Fri, 10 Jul 2009 10:04:41 +0000 nachenko 515494 at http://drupal.org How can I show CCK field from node in revision? http://drupal.org/node/515478 <p>I'm relatively new to Drupal, and have no PHP experience so I was wondering if someone could help me out with this.... I need a way to view like a block, a particular field's update that exists in a revised copy of a node. </p> <p>Currently I'm using the following modules:<br /> 1. CCK to create the field<br /> 2. Views to create a view block to show the CCK field's (field_sidebar_right_1) contents<br /> 3. Revisioning to have a simple workflow and revisioning for content</p> <p>The desire is to let someone edit a node, including the CCK field. When they save it then it is pending approval by a moderator. I'd like the moderator to be able to click on the revision and see a block containing the cck field (field_sidebar_right_1) in the preview. Currently I can only get it showing the CCK field for the current published node. Instead, I want it to show the revised (unpublished revision) node's field.</p> <p>I found this argument I'm using currently which shows the published node's field in a block, which I placed as a NID argument in Views:</p> <p>if (arg(0) == 'node' &amp;&amp; is_numeric(arg(1))) {<br /> $node= node_load(arg(1));<br /> if ($node-&gt;field_sidebar_right_1) {<br /> $args[0] = arg(1);<br /> }<br /> }<br /> return $args;</p> <p>Anyone know the solution? Can the argument be changed to pull from the field from the revision URL? </p> <p>I'm trying to figure this out for a non-profit's needs so would appreciate any help!</p> http://drupal.org/node/515478#comments Post installation Fri, 10 Jul 2009 09:44:30 +0000 stellrex 515478 at http://drupal.org Notification upon quoting http://drupal.org/node/515452 <p>Hi!</p> <p>I'm wondering whether any of you has come up with an idea how to send an e-mail notification upon quoting?</p> <p>I mean such case:<br /> - I comment on topic A<br /> - then, dozens of other guys post their comments<br /> - finally, one of them comments quoting my post --&gt; I'd like to get a notification of such an event.</p> http://drupal.org/node/515452#comments Post installation Drupal 6.x Fri, 10 Jul 2009 09:05:53 +0000 dajpanspokoj 515452 at http://drupal.org Webpage with text-field and submit button. http://drupal.org/node/515426 <p>Hi </p> <p>I am working on drupal 6.12 on Windows vista and am using Wamp server for mySQL and apache. I have set up a drupal website and now i want to create a webpage . My web page has (I am using the Bluemarine theme) Left sidebar, right side bar, content, header and footer . In the content part which is the center of the page I want to add Five text fields and a button in a single row with some text written in between the fields. The button will perform submit operation of the form.<br /> I am new to drupal and am not sure how to go about it.</p> <p>Please help!</p> <p>Thanks in advance</p> http://drupal.org/node/515426#comments Post installation Drupal 6.x Fri, 10 Jul 2009 08:01:33 +0000 dewbie 515426 at http://drupal.org changing installation folder http://drupal.org/node/515424 <p>Hi everybody,</p> <p>Yesterday I tried to change the web domain of my site and also the folder name I had previously installed it, e.g. it was in <a href="http://www.development.com/mysite" title="www.development.com/mysite" rel="nofollow">www.development.com/mysite</a> and I moved it in <a href="http://www.mysite.com" title="www.mysite.com" rel="nofollow">www.mysite.com</a>. You can't imagine with what I came across. Some blocks were missing, some paths didn't work and so on...</p> <p>Is there anything I could do.</p> <p>P.S. I 'm not a so advanced knowledgeable of drupal and thus I would be obliged for your understanding and your advice</p> http://drupal.org/node/515424#comments Post installation Drupal 6.x Fri, 10 Jul 2009 07:55:18 +0000 simeon.mattes 515424 at http://drupal.org Mark All Nodes As Read link/button (Drupal 6.x) http://drupal.org/node/515418 <p>I've googled this, tried different modules and plugins and patches and everything, and nothing seems to work or be compatible with 6.x.</p> <p>I want a link (something like /markread) that will simply mark EVERYTHING as read on the site (all comments, all nodes which are published) and then return you to the previous page with a drupal message that says something like "You have cleared all "new" notifications." So far, nothing I've found on this site or third party sites has worked for me. Suggestions?</p> <p>By the way, for anyone who is actively helping out with the development of 7.x: <strong>This NEEDS to be in Drupal 7.</strong></p> <p>-</p> <p>Side note: Could this be done with views and/or the views "action" module (the one that puts checkboxes in a views table)? I have views installed and am using it, so I could do it that way if that's easier, I just don't know if there's an action for "Mark as read".</p> http://drupal.org/node/515418#comments Post installation Drupal 6.x Fri, 10 Jul 2009 07:47:12 +0000 SpikeX 515418 at http://drupal.org Statistics don't get recorded when using Lightbox2. Is there a fix? http://drupal.org/node/515404 <p>I am creating a photo gallery and using LightBox 2 to display the images. But what I want to do is be able to record the number of views of each image, even if it's only viewed using the lightbox. I have tried both image and iFrame methods but doesn't work for either. I noticed /lightbox2 get appended to the URL of the iFramed content which enables a custom template to be used.</p> <p>Is there a code snippet that I can add to the custom template that will allow it to record it as a "view"?</p> <p>Thanks</p> http://drupal.org/node/515404#comments Post installation Drupal 6.x Fri, 10 Jul 2009 07:27:24 +0000 superjames 515404 at http://drupal.org Horizontal Blocks http://drupal.org/node/515398 <p>I've searched the forums and can't really find a clear way of doing this... I want the 2 blocks that appear in my header to be displayed next do each other horizontally.</p> <p>Here's the CSS I'm using to do this:</p> <p>#block-block-5 .block-content {<br /> text-align: center;<br /> border-style: none;<br /> background-color: none;<br /> background: url(../images/blockbg.gif);<br /> float: left;<br /> padding: 0px;<br /> margin-right: 2px;<br /> }</p> <p>#block-block-5 .block {<br /> padding: 0px;<br /> margin: 0px;<br /> float: right;<br /> }</p> <p>#block-block-17 {<br /> height: 20px;<br /> width: 250px;<br /> margin: 0 0em 0em 0em;<br /> padding: 0;<br /> background: transparent;<br /> background: url(../images/blockbg.gif);<br /> }</p> <p>#block-block-17 .block-title {<br /> background: transparent;<br /> background: url(../images/blockbg.gif);<br /> color: #000; }</p> <p>#block-block-17 .block-content {<br /> background: url(../images/blockbg.gif);<br /> }</p> <p>For some reason, the blocks don't display horizontally like I want. Block 5 overlaps block 17. How can I write it so the blocks display next to each other correctly?</p> <p>Thanks for the help</p> http://drupal.org/node/515398#comments Post installation Fri, 10 Jul 2009 07:26:36 +0000 mxer269 515398 at http://drupal.org How do you "add a friend": http://drupal.org/node/515396 <p>I have installed the following modules:</p> <ul> <li>Flagfriend</li> <li>Flagfriend Access Control</li> <li>Friendlist API</li> <li>Friendlist Rules</li> <li>Friendlist UI</li> </ul> <p>There doesn't see to be any facility for the user to 'add a friend'.</p> http://drupal.org/node/515396#comments Post installation Drupal 6.x Fri, 10 Jul 2009 07:24:29 +0000 davecoventry 515396 at http://drupal.org How? Create multiple RSS feed blocks http://drupal.org/node/515350 <p>Hello.</p> <p>I have several feeds I want to display. I would like each of them to have their own block. I have the 'Feed aggregator' module enabled.</p> <p>Thanks.</p> http://drupal.org/node/515350#comments Post installation Drupal 6.x Fri, 10 Jul 2009 05:44:53 +0000 drupert55 515350 at http://drupal.org Renaming a BLOCK http://drupal.org/node/515340 <p>Hi</p> <p>I want to rename the already available Block - "Primary links" to "Cool Links" and want to make it appear at the top of the Left SIde bar. Currently, Syndicate block appears at the top. I could not see configurable 'weight' drop-down for them. Could you please tell how to achieve the above??</p> <p>I am new to Drupal. And my website is on Drupal 6.1.2 on windows vista. I am using Wamp server with in built apache and mySQL.</p> <p>Thanks<br /> dewbie</p> http://drupal.org/node/515340#comments Post installation Drupal 6.x Fri, 10 Jul 2009 05:27:04 +0000 dewbie 515340 at http://drupal.org Plugin/Theme/RSS Questions http://drupal.org/node/515288 <p>Hey All,</p> <p>I am trying to re-build my wife and I's existing podcast site. It you go to lifeonfire.org you can see why I am going to be moving the site to a paid host rather than using libsyn as my host, and rebuilding the site from the ground up. Libsyn's built-in themes/templates for their wordpress really just isn't cutting it.</p> <p>Here are the things I am looking for:</p> <p>Suggestions on some decent themes for this type of application<br /> A "podcast player" for the site that will pull/stream the MP3s of the episodes from the RSS/libsyn<br /> A way to import the entire RSS feed and create date accurate back entries for prior episodes</p> <p>There are other features that I will try to set up later, heck, I can even go through themes with my wife to find a decent one. However, the podcast player and RSS import are things that I really need some suggestions/help with.</p> <p>Thank you in advance for whatever assistance you can offer.</p> http://drupal.org/node/515288#comments Post installation Drupal 6.x Fri, 10 Jul 2009 03:29:58 +0000 jesusgeek83 515288 at http://drupal.org Help with views block (distinct not working :( ) http://drupal.org/node/515278 <p>I'm having trouble with a views 'block'.</p> <p>I'm working on a 'magazine' type site, and I"m trying to list out the 'Past Issues' based on the month and year that the articles are created. For example if I have 3 articles written on 5/15, 5/25, 6/29, I'd like to see: May 2009, June 2009</p> <p>The problem is when I make a view (and set the granularity of the sort to month) it generates this query:</p> <p>SELECT node.nid AS nid,<br /> node.created AS node_created,<br /> DATE_FORMAT((FROM_UNIXTIME(node.created) + INTERVAL -14400 SECOND), '%Y%m') AS node_created_month<br /> FROM node node<br /> WHERE (node.status &lt;&gt; 0) AND (node.type in ('article'))<br /> ORDER BY node_created_month DESC</p> <p>Since the node.created varies, I get<br /> May 2009<br /> May 2009<br /> Jun 2009</p> <p>I've tried using the 'Node: Distinct' feature as well as just grouping in the display, but it still doesn't work.</p> <p>Any suggestions? Am I missing somethign obvious?</p> <p>(Here's my whole view if it helps...<br /> $view = new view;<br /> $view-&gt;name = 'past_issues';<br /> $view-&gt;description = 'Display the Past Issues (and articles that go w/ them)';<br /> $view-&gt;tag = '';<br /> $view-&gt;view_php = '';<br /> $view-&gt;base_table = 'node';<br /> $view-&gt;is_cacheable = FALSE;<br /> $view-&gt;api_version = 2;<br /> $view-&gt;disabled = FALSE; /* Edit this to true to make a default view disabled initially */<br /> $handler = $view-&gt;new_display('default', 'Defaults', 'default');</p> <p><a href="http://drupal.org/node/515278" target="_blank">read more</a></p> http://drupal.org/node/515278#comments Post installation Drupal 6.x Fri, 10 Jul 2009 03:06:34 +0000 rwc 515278 at http://drupal.org Help with Views | Blocks pulling specific content http://drupal.org/node/515258 <p>Hi,</p> <p>I know what I need to do is probably must be done with views but I can't find a good tutorial.</p> <p>I created content (reviews) that's divided on various categories.<br /> I'm trying to set up blocks in different sections of the website pulling reviews of that specific category.<br /> So I just need to set up block pulling that specific category of that specific content.</p> <p>Can someone please let me know how to do it or send me a link or point me to the right tutorial that explains<br /> views in details and how to create blocks pulling specific categories of various content types.</p> <p>Thank you. I'm stuck and this lack of knowledge about views is keeping me from progress on my<br /> site. Any help will be greatly appreciated.</p> <p>G</p> http://drupal.org/node/515258#comments Post installation Fri, 10 Jul 2009 02:11:19 +0000 Hipster 515258 at http://drupal.org User registration approval by <other> role (non administrator) http://drupal.org/node/515252 <p>I'm creating a site that will require approval of new user registrations. The only option I see is <em>Visitors can create accounts but administrator approval is required.</em> For an active site this can make the administrator (user #1) a bottleneck. Is there any configuration or contrib that will give another role the permission to approve new user registration?</p> http://drupal.org/node/515252#comments Post installation Drupal 6.x Fri, 10 Jul 2009 02:02:41 +0000 caschbre 515252 at http://drupal.org change drupalit text from "vote" http://drupal.org/node/515218 <p>i am trying to figure out how to change the "vote" text in drupalit to another word. i can find anything in the admin section of the module and have looked throught the css and other files and cant see where i can make the change. anyone know how to customize the word?</p> http://drupal.org/node/515218#comments Post installation Drupal 6.x Fri, 10 Jul 2009 01:09:37 +0000 calebm12 515218 at http://drupal.org Search indexing http://drupal.org/node/515212 <p>I am running the Search settings Indexing (by clicking on the "Re-indexing site" button), and I set the Number of items to index as 50. After hours, I reload the Search Settings page, the % of the Indexing Status: 0% of the site has been indexed... is still 0%... I ran this once before, and I remember it reached a 2x%... I don't know if the admin can see the progress and final percentage of the Re-indexing.. and if I set it to 50% for Number of items to index per cron run, will it eventually final the indexing of the entire site? So, I presume that eventually after this reindexing, the 0% will become 100% but I have never reached that... Could any of you enlighten me on this? thanks H.</p> http://drupal.org/node/515212#comments Post installation Drupal 6.x Fri, 10 Jul 2009 01:02:42 +0000 hujia 515212 at http://drupal.org Keeping track of a users views of a node http://drupal.org/node/515208 <p>I need to track which nodes a user has read in a CCK type. I wonder if there is a built-in way to hook into cck or if something exists.<br /> I know tracking sort of does this, but I need simply uid, node_id, and maybe date/time. I want to not show them the same content 2x unless they explicitly ask to see old content.</p> <p>TIA</p> http://drupal.org/node/515208#comments Post installation Drupal 6.x Fri, 10 Jul 2009 00:52:56 +0000 tresero 515208 at http://drupal.org