Re: support Digest, Vol 145, Issue 23
Muzaffer Tolga Ozses <[email protected]> Thu, 22 Jan 2015 22:11:47 +0200
| Newsgroups | gmane.comp.php.drupal.support |
|---|---|
| Message-ID | <CAMAQ3nK=UTDxW6vh0VhvqyqVxO8YmqA=A+OaGseLEm0GcWMWaw@mail.gmail.com> |
--===============6572077784604081835== Content-Type: multipart/alternative; boundary=001a11c29d4624ecc1050d4348b6 --001a11c29d4624ecc1050d4348b6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable As per instructions: To subscribe or unsubscribe via the World Wide Web, visit > https://lists.drupal.org/mailman/listinfo/support On 22 January 2015 at 20:57, Robert Orr <[email protected]> wrote= : > 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, >> and >> 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 >> select >> > 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 t= o >> >>> list all the rooms without a reservation for an interval, and also f= or >> >>> services, capacity, .... >> >>> >> >>> I tried creating a view with a PHP filter to check free rooms, but >> then >> >>> if the page lists 10 rooms, sometimes there are 7, 2, or 0; because >> the >> >>> filter lists the 10 rooms and after remove the occupied ones. >> >>> >> >>> I have tried to create a "subview" filter to select nodes "not in >> (view >> >>> 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/= attachment-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 >> **************************************** >> > > > -- > [ Drupal support list | http://lists.drupal.org/ ] > --=20 mto --001a11c29d4624ecc1050d4348b6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:'cou= rier new',monospace">As per instructions:</div><div class=3D"gmail_defa= ult" style=3D"font-family:'courier new',monospace"><br></div><div c= lass=3D"gmail_default" style=3D"font-family:'courier new',monospace= "><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;borde= r-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid= ;padding-left:1ex">To subscribe or unsubscribe via the World Wide Web, visi= t<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://lists.drupal.org/mailma= n/listinfo/support">https://lists.drupal.org/mailman/listinfo/support</a></= blockquote></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_q= uote">On 22 January 2015 at 20:57, Robert Orr <span dir=3D"ltr"><<a href= =3D"mailto:[email protected]" target=3D"_blank">robert.eugene.orr= @gmail.com</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style= =3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir= =3D"ltr"><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);font-size:l= arge">Help,</div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);fon= t-size:large">=C2=A0 Please remove me from this mailing list.</div><div cla= ss=3D"gmail_default" style=3D"color:rgb(0,0,0);font-size:large">Thanks</div= ><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);font-size:large">Ro= b</div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);font-size:lar= ge"><br></div><div class=3D"gmail_default" style=3D"color:rgb(0,0,0);font-s= ize:large"><a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>=E2=80=8B</div><div class=3D"gmail_extra"><br= clear=3D"all"><div><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div><= font face=3D"verdana,sans-serif">Robert </font>Orr</div></div><div>Cell Pho= ne <a href=3D"tel:405-979-9313" value=3D"+14059799313" target=3D"_blank">40= 5-979-9313</a><br></div><div><br></div><br></div></div></div></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]" target=3D= "_blank">[email protected]</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]" t= arget=3D"_blank">[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]" tar= get=3D"_blank">[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]" target=3D"_blank"= >[email protected]</a>><br> Subject: Re: [support] Views filter rooms by occupacy<br> To: <a href=3D"mailto:[email protected]" target=3D"_blank">support@drupal.= org</a><br> Message-ID:<br> =C2=A0 =C2=A0 =C2=A0 =C2=A0 <CAGTZhB7QJ1unmLS4dFkmJ4=3D=3D<a href=3D"mai= lto:DdGa9%[email protected]" target=3D"_blank">DdGa9+_H= [email protected]</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" target=3D"_blank">[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]" target=3D"_blank">[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]" target=3D"_blank">[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" target=3D"= _blank">+971529187882</a>,<a href=3D"tel:%2B919744663973" value=3D"+9197446= 63973" target=3D"_blank">+919744663973</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]" target=3D"_blank">are= [email protected]</a>><br> Subject: [support] Blocks<br> To: <a href=3D"mailto:[email protected]" target=3D"_blank">support@drupal.= org</a><br> Message-ID: <<a href=3D"mailto:[email protected]" target=3D"_= blank">[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> ------------------------------<span class=3D"HOEnZb"><font color=3D"#888888= "><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></font></span></blockquote></div><br></div></div> <br>--<br> [ Drupal support list | <a href=3D"http://lists.drupal.org/" target=3D"_bla= nk">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear=3D"a= ll"><div><br></div>-- <br><div class=3D"gmail_signature"><div dir=3D"ltr"><= div><div dir=3D"ltr">mto</div></div></div></div> </div> --001a11c29d4624ecc1050d4348b6-- --===============6572077784604081835== 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/ ] --===============6572077784604081835==--