<div dir="ltr"><div class="gmail_default" style="color:rgb(0,0,0);font-size:large">Help,</div><div class="gmail_default" style="color:rgb(0,0,0);font-size:large">  Please remove me from this mailing list.</div><div class="gmail_default" style="color:rgb(0,0,0);font-size:large">Thanks</div><div class="gmail_default" style="color:rgb(0,0,0);font-size:large">Rob</div><div class="gmail_default" style="color:rgb(0,0,0);font-size:large"><br></div><div class="gmail_default" style="color:rgb(0,0,0);font-size:large"><a href="mailto:support-request@drupal.org">support-request@drupal.org</a>​</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><font face="verdana,sans-serif">Robert </font>Orr</div></div><div>Cell Phone 405-979-9313<br></div><div><br></div><br></div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 22, 2015 at 6:00 AM,  <span dir="ltr">&lt;<a href="mailto:support-request@drupal.org" target="_blank">support-request@drupal.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Send support mailing list submissions to<br>
        <a href="mailto:support@drupal.org">support@drupal.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="https://lists.drupal.org/mailman/listinfo/support" target="_blank">https://lists.drupal.org/mailman/listinfo/support</a><br>
or, via email, send a message with subject or body &#39;help&#39; to<br>
        <a href="mailto:support-request@drupal.org">support-request@drupal.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:support-owner@drupal.org">support-owner@drupal.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of support digest...&quot;<br>
<br>
<br>
Today&#39;s Topics:<br>
<br>
   1. Re: Views filter rooms by occupacy (Llu?s Forns)<br>
   2. Blocks (Roger)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Wed, 21 Jan 2015 18:07:23 +0100<br>
From: Llu?s Forns &lt;<a href="mailto:enboig@gmail.com">enboig@gmail.com</a>&gt;<br>
Subject: Re: [support] Views filter rooms by occupacy<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID:<br>
        &lt;CAGTZhB7QJ1unmLS4dFkmJ4==<a href="mailto:DdGa9%2B_HrL69gpmsws7XU5GhJQ@mail.gmail.com">DdGa9+_HrL69gpmsws7XU5GhJQ@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
<br>
At last it works. I created another view to list reservations by dates, and<br>
I called this inside context filter to avoid selected nodes.<br>
<br>
thanks<br>
<br>
2015-01-20 11:40 GMT+01:00 Llu?s Forns &lt;<a href="mailto:enboig@gmail.com">enboig@gmail.com</a>&gt;:<br>
<br>
&gt; I use entity reference to connect them.<br>
&gt;<br>
&gt; I thing a way to achieve this is adding a context filter for NID and using<br>
&gt; PHP to select all rooms occupied and remove them. I have a view to select<br>
&gt; reservations by date, I could call it using PHP, apply the date filter, and<br>
&gt; get the nids to remove.<br>
&gt;<br>
&gt; My problem now is how to call a view programatically just to get the nids.<br>
&gt;<br>
&gt; 2015-01-20 6:20 GMT+01:00 muhammed naushad &lt;<a href="mailto:naushunaushad24@gmail.com">naushunaushad24@gmail.com</a>&gt;:<br>
&gt;<br>
&gt;&gt; I would recommend you to use custom module.<br>
&gt;&gt;<br>
&gt;&gt; If you want to use the view please mention how you connect these two<br>
&gt;&gt; content types?<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Jan 19, 2015 at 6:37 PM, Llu?s Forns &lt;<a href="mailto:enboig@gmail.com">enboig@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; I have a site with 2 content types: rooms and reservations. I want to<br>
&gt;&gt;&gt; list all the rooms without a reservation for an interval, and also for<br>
&gt;&gt;&gt; services, capacity, ....<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I tried creating a view with a PHP filter to check free rooms, but then<br>
&gt;&gt;&gt; if the page lists 10 rooms, sometimes there are 7, 2, or 0; because the<br>
&gt;&gt;&gt; filter lists the 10 rooms and after remove the occupied ones.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; I have tried to create a &quot;subview&quot; filter to select nodes &quot;not in (view<br>
&gt;&gt;&gt; of occupied rooms); but I haven&#39;t find a way to do so.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Any idea of how to accomplish this?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; thanks<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; *Ser freak no ?s imprescindible per ser inform?tic, per? ajuda.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Thanks<br>
&gt;&gt; Muhammed Naushad<br>
&gt;&gt; Web Developer<br>
&gt;&gt; <a href="tel:%2B971529187882" value="+971529187882">+971529187882</a>,<a href="tel:%2B919744663973" value="+919744663973">+919744663973</a><br>
&gt;&gt; <a href="http://stunningspider.com" target="_blank">http://stunningspider.com</a><br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; [ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; *Ser freak no ?s imprescindible per ser inform?tic, per? ajuda.<br>
&gt; *La vida no ha de ser feli?, ha de ser plena.<br>
&gt; *Abans d&#39;imprimir aquest missatge, pensa en el medi ambient.<br>
&gt;<br>
<br>
<br>
<br>
--<br>
*Ser freak no ?s imprescindible per ser inform?tic, per? ajuda.<br>
*La vida no ha de ser feli?, ha de ser plena.<br>
*Abans d&#39;imprimir aquest missatge, pensa en el medi ambient.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <a href="http://lists.drupal.org/pipermail/support/attachments/20150121/f9ccdd11/attachment-0001.html" target="_blank">http://lists.drupal.org/pipermail/support/attachments/20150121/f9ccdd11/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Thu, 22 Jan 2015 09:38:13 +1100<br>
From: Roger &lt;<a href="mailto:arelem@bigpond.com">arelem@bigpond.com</a>&gt;<br>
Subject: [support] Blocks<br>
To: <a href="mailto:support@drupal.org">support@drupal.org</a><br>
Message-ID: &lt;<a href="mailto:54C02A55.7060306@bigpond.com">54C02A55.7060306@bigpond.com</a>&gt;<br>
Content-Type: text/plain; charset=utf-8; format=flowed<br>
<br>
Using Drupal 7. Mayo theme.<br>
On the <a href="http://eckankar.org.au" target="_blank">eckankar.org.au</a> front page I have a number of blocks in the<br>
centre of the page and in each sidebar, each with info and an image. As<br>
admin I can alter the content and position of each block.<br>
Been using Drupal for many years but the below has me puzzled.<br>
<br>
Is there any way to:<br>
-- give a specialised user with Role of MainEditor permissions to<br>
enter/change info in blocks on a front page?<br>
-- let MainEditor alter block positions with a Weight number?<br>
-- make articles stay in a predetermined order, not display as &#39;latest<br>
to top of page&#39;?<br>
<br>
I also have empty blocks positioned via the Blocks List at the top of<br>
Content section and in the Highlighted. I can edit the block info as<br>
admin but not as Editor. If I put an article or page in the block it<br>
displays at the bottom of the front page. If I enter info it stays at<br>
the top. See the block with the orange and yellow flowers as an example.<br>
Perplexing!<br>
<br>
Maybe I have to rethink the whole theme and make it more like<br>
<a href="http://news.com.au" target="_blank">news.com.au</a> displaying block stuff in small blocks which alter position<br>
depending on latest entries and link to individual pages.... hmmmm food<br>
for thought!<br>
<br>
Does anyone have suggestions or hints on how would be a good way to<br>
handle this.<br>
<br>
Thank you for any help<br>
Roger<br>
<br>
<br>
------------------------------<br>
<span><font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
<br>
End of support Digest, Vol 145, Issue 23<br>
****************************************<br>
</font></span></blockquote></div><br></div></div>