Re: support Digest, Vol 145, Issue 23
Robert Orr <[email protected]> Thu, 22 Jan 2015 12:57:16 -0600
| Newsgroups | gmane.comp.php.drupal.support |
|---|---|
| Message-ID | <CADVG5ByBJJVT=Aja=bc+mgZkHjreSs2MOgWGhZc2TCwrR043kA@mail.gmail.com> |
--===============9033981414784388441== Content-Type: multipart/alternative; boundary=001a11c36122e59beb050d423ee4 --001a11c36122e59beb050d423ee4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Help, Please remove me from this mailing list. Thanks Rob [email protected]=E2=80=8B Robert Orr Cell Phone 405-979-9313 On Thu, Jan 22, 2015 at 6:00 AM, <[email protected]> wrote: > Send support mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.drupal.org/mailman/listinfo/support > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of support digest..." > > > Today's Topics: > > 1. Re: Views filter rooms by occupacy (Llu?s Forns) > 2. Blocks (Roger) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 21 Jan 2015 18:07:23 +0100 > From: Llu?s Forns <[email protected]> > Subject: Re: [support] Views filter rooms by occupacy > To: [email protected] > Message-ID: > <CAGTZhB7QJ1unmLS4dFkmJ4=3D=3D > [email protected]> > Content-Type: text/plain; charset=3D"utf-8" > > At last it works. I created another view to list reservations by dates, a= nd > I called this inside context filter to avoid selected nodes. > > thanks > > 2015-01-20 11:40 GMT+01:00 Llu?s Forns <[email protected]>: > > > I use entity reference to connect them. > > > > I thing a way to achieve this is adding a context filter for NID and > using > > PHP to select all rooms occupied and remove them. I have a view to sele= ct > > reservations by date, I could call it using PHP, apply the date filter, > and > > get the nids to remove. > > > > My problem now is how to call a view programatically just to get the > nids. > > > > 2015-01-20 6:20 GMT+01:00 muhammed naushad <[email protected]>: > > > >> I would recommend you to use custom module. > >> > >> If you want to use the view please mention how you connect these two > >> content types? > >> > >> On Mon, Jan 19, 2015 at 6:37 PM, Llu?s Forns <[email protected]> wrote: > >> > >>> I have a site with 2 content types: rooms and reservations. I want to > >>> list all the rooms without a reservation for an interval, and also fo= r > >>> services, capacity, .... > >>> > >>> I tried creating a view with a PHP filter to check free rooms, but th= en > >>> if the page lists 10 rooms, sometimes there are 7, 2, or 0; because t= he > >>> filter lists the 10 rooms and after remove the occupied ones. > >>> > >>> I have tried to create a "subview" filter to select nodes "not in (vi= ew > >>> of occupied rooms); but I haven't find a way to do so. > >>> > >>> Any idea of how to accomplish this? > >>> > >>> thanks > >>> -- > >>> *Ser freak no ?s imprescindible per ser inform?tic, per? ajuda. > >>> > >>> -- > >>> [ Drupal support list | http://lists.drupal.org/ ] > >>> > >> > >> > >> > >> -- > >> Thanks > >> Muhammed Naushad > >> Web Developer > >> +971529187882,+919744663973 > >> http://stunningspider.com > >> > >> -- > >> [ Drupal support list | http://lists.drupal.org/ ] > >> > > > > > > > > -- > > *Ser freak no ?s imprescindible per ser inform?tic, per? ajuda. > > *La vida no ha de ser feli?, ha de ser plena. > > *Abans d'imprimir aquest missatge, pensa en el medi ambient. > > > > > > -- > *Ser freak no ?s imprescindible per ser inform?tic, per? ajuda. > *La vida no ha de ser feli?, ha de ser plena. > *Abans d'imprimir aquest missatge, pensa en el medi ambient. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.drupal.org/pipermail/support/attachments/20150121/f9ccdd11/a= ttachment-0001.html > > ------------------------------ > > Message: 2 > Date: Thu, 22 Jan 2015 09:38:13 +1100 > From: Roger <[email protected]> > Subject: [support] Blocks > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed > > Using Drupal 7. Mayo theme. > On the eckankar.org.au front page I have a number of blocks in the > centre of the page and in each sidebar, each with info and an image. As > admin I can alter the content and position of each block. > Been using Drupal for many years but the below has me puzzled. > > Is there any way to: > -- give a specialised user with Role of MainEditor permissions to > enter/change info in blocks on a front page? > -- let MainEditor alter block positions with a Weight number? > -- make articles stay in a predetermined order, not display as 'latest > to top of page'? > > I also have empty blocks positioned via the Blocks List at the top of > Content section and in the Highlighted. I can edit the block info as > admin but not as Editor. If I put an article or page in the block it > displays at the bottom of the front page. If I enter info it stays at > the top. See the block with the orange and yellow flowers as an example. > Perplexing! > > Maybe I have to rethink the whole theme and make it more like > news.com.au displaying block stuff in small blocks which alter position > depending on latest entries and link to individual pages.... hmmmm food > for thought! > > Does anyone have suggestions or hints on how would be a good way to > handle this. > > Thank you for any help > Roger > > > ------------------------------ > > -- > [ Drupal support list | http://lists.drupal.org/ ] > > End of support Digest, Vol 145, Issue 23 > **************************************** > --001a11c36122e59beb050d423ee4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);fon= t-size:large">Help,</div><div class=3D"gmail_default" style=3D"color:rgb(0,= 0,0);font-size:large">=C2=A0 Please remove me from this mailing list.</div>= <div class=3D"gmail_default" style=3D"color:rgb(0,0,0);font-size:large">Tha= nks</div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);font-size:l= arge">Rob</div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);font-= size:large"><br></div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0= );font-size:large"><a href=3D"mailto:[email protected]">support-re= [email protected]</a>=E2=80=8B</div><div class=3D"gmail_extra"><br clear=3D"= all"><div><div class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"= ltr"><div><div><font face=3D"verdana,sans-serif">Robert </font>Orr</div></d= iv><div>Cell Phone 405-979-9313<br></div><div><br></div><br></div></div></d= iv></div></div> <br><div class=3D"gmail_quote">On Thu, Jan 22, 2015 at 6:00 AM, <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_blank= ">[email protected]</a>></span> wrote:<br><blockquote class=3D"= gmail_quote" style=3D"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> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]">support@d= rupal.org</a><br> <br> To subscribe or unsubscribe via the World Wide Web, visit<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.drupal.org/mailman/lis= tinfo/support" target=3D"_blank">https://lists.drupal.org/mailman/listinfo/= support</a><br> or, via email, send a message with subject or body 'help' to<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]">s= [email protected]</a><br> <br> You can reach the person managing the list at<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"mailto:[email protected]">sup= [email protected]</a><br> <br> When replying, please edit your Subject line so it is more specific<br> than "Re: Contents of support digest..."<br> <br> <br> Today's Topics:<br> <br> =C2=A0 =C2=A01. Re: Views filter rooms by occupacy (Llu?s Forns)<br> =C2=A0 =C2=A02. Blocks (Roger)<br> <br> <br> ----------------------------------------------------------------------<br> <br> Message: 1<br> Date: Wed, 21 Jan 2015 18:07:23 +0100<br> From: Llu?s Forns <<a href=3D"mailto:[email protected]">[email protected]<= /a>><br> Subject: Re: [support] Views filter rooms by occupacy<br> To: <a href=3D"mailto:[email protected]">[email protected]</a><br> Message-ID:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAGTZhB7QJ1unmLS4dFkmJ4=3D=3D<a href=3D"mai= lto:DdGa9%[email protected]">DdGa9+_HrL69gpmsws7XU5GhJQ= @mail.gmail.com</a>><br> Content-Type: text/plain; charset=3D"utf-8"<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 <<a href=3D"mailto:[email protected]= om">[email protected]</a>>:<br> <br> > I use entity reference to connect them.<br> ><br> > I thing a way to achieve this is adding a context filter for NID and u= sing<br> > PHP to select all rooms occupied and remove them. I have a view to sel= ect<br> > reservations by date, I could call it using PHP, apply the date filter= , and<br> > get the nids to remove.<br> ><br> > My problem now is how to call a view programatically just to get the n= ids.<br> ><br> > 2015-01-20 6:20 GMT+01:00 muhammed naushad <<a href=3D"mailto:naush= [email protected]">[email protected]</a>>:<br> ><br> >> I would recommend you to use custom module.<br> >><br> >> If you want to use the view please mention how you connect these t= wo<br> >> content types?<br> >><br> >> On Mon, Jan 19, 2015 at 6:37 PM, Llu?s Forns <<a href=3D"mailto= :[email protected]">[email protected]</a>> wrote:<br> >><br> >>> I have a site with 2 content types: rooms and reservations. I = want to<br> >>> list all the rooms without a reservation for an interval, and = also for<br> >>> services, capacity, ....<br> >>><br> >>> I tried creating a view with a PHP filter to check free rooms,= but then<br> >>> if the page lists 10 rooms, sometimes there are 7, 2, or 0; be= cause the<br> >>> filter lists the 10 rooms and after remove the occupied ones.<= br> >>><br> >>> I have tried to create a "subview" filter to select = nodes "not in (view<br> >>> of occupied rooms); but I haven't find a way to do so.<br> >>><br> >>> Any idea of how to accomplish this?<br> >>><br> >>> thanks<br> >>> --<br> >>> *Ser freak no ?s imprescindible per ser inform?tic, per? ajuda= .<br> >>><br> >>> --<br> >>> [ Drupal support list | <a href=3D"http://lists.drupal.org/" t= arget=3D"_blank">http://lists.drupal.org/</a> ]<br> >>><br> >><br> >><br> >><br> >> --<br> >> Thanks<br> >> Muhammed Naushad<br> >> Web Developer<br> >> <a href=3D"tel:%2B971529187882" value=3D"+971529187882">+971529187= 882</a>,<a href=3D"tel:%2B919744663973" value=3D"+919744663973">+9197446639= 73</a><br> >> <a href=3D"http://stunningspider.com" target=3D"_blank">http://stu= nningspider.com</a><br> >><br> >> --<br> >> [ Drupal support list | <a href=3D"http://lists.drupal.org/" targe= t=3D"_blank">http://lists.drupal.org/</a> ]<br> >><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'imprimir aquest missatge, pensa en el medi ambient.<br> ><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'imprimir aquest missatge, pensa en el medi ambient.<br> -------------- next part --------------<br> An HTML attachment was scrubbed...<br> URL: <a href=3D"http://lists.drupal.org/pipermail/support/attachments/20150= 121/f9ccdd11/attachment-0001.html" target=3D"_blank">http://lists.drupal.or= g/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 <<a href=3D"mailto:[email protected]">[email protected]</a= >><br> Subject: [support] Blocks<br> To: <a href=3D"mailto:[email protected]">[email protected]</a><br> Message-ID: <<a href=3D"mailto:[email protected]">54C02A55.70= [email protected]</a>><br> Content-Type: text/plain; charset=3Dutf-8; format=3Dflowed<br> <br> Using Drupal 7. Mayo theme.<br> On the <a href=3D"http://eckankar.org.au" target=3D"_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 'latest<= br> to top of page'?<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=3D"http://news.com.au" target=3D"_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=3D"#888888"><br> --<br> [ Drupal support list | <a href=3D"http://lists.drupal.org/" target=3D"_bla= nk">http://lists.drupal.org/</a> ]<br> <br> End of support Digest, Vol 145, Issue 23<br> ****************************************<br> </font></span></blockquote></div><br></div></div> --001a11c36122e59beb050d423ee4-- --===============9033981414784388441== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- [ Drupal support list | http://lists.drupal.org/ ] --===============9033981414784388441==--