Send support mailing list submissions to
support@drupal.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.drupal.org/mailman/listinfo/support
or, via email, send a message with subject or body 'help' to
support-request@drupal.org
You can reach the person managing the list at
support-owner@drupal.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of support digest..."
Today's Topics:
1. Re: Best ways to intigrade my blog post on drupal to appear
on my home page. (Richard Damon)
2. Re: Best ways to intigrade my blog post on drupal to appear
on my home page. (Jamie Holly)
3. Databases (Tony)
4. Re: Databases (Metzler, David)
5. Re: Databases (Warren Vail)
6. Re: Databases (Tony)
----------------------------------------------------------------------
Message: 1
Date: Mon, 13 Jan 2014 07:59:03 -0500
From: Richard Damon <Richard@Damon-Family.org>
Subject: Re: [support] Best ways to intigrade my blog post on drupal
to appear on my home page.
To: support@drupal.org
Message-ID: <52D3E317.501@Damon-Family.org>
Content-Type: text/plain; charset=ISO-8859-1
On 1/13/14, 6:41 AM, Jonathan Candler wrote:
> So you guys are telling me, that I cannot include include function within my PHP scripts to point D.XML file over to my homepage?
>
> Jonnyboy! Iphones rock!
>
>
It isn't that you can't, but that it may be easier to let Drupal do the
functioning. I suppose another option would be to add an iframe to you
home page making a reference to a Drupal page with the content you want
(like a special page removing the sidebars/headers/footers/etc that you
don't want in the iframe).
--
Richard Damon
------------------------------
Message: 2
Date: Mon, 13 Jan 2014 09:57:01 -0500
From: Jamie Holly <hovercrafter@earthlink.net>
Subject: Re: [support] Best ways to intigrade my blog post on drupal
to appear on my home page.
To: support@drupal.org
Message-ID: <52D3FEBD.5000903@earthlink.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
You could do as I said earlier, write some custom code to parse your
blog's feed.
Another option would be to create a block in views, bootstrap Drupal
from your home page and render that block. This could lead to some
screwy problems though, especially with URLs (setting $base_url in
settings might fix that). That can also lead to performance issues with
caching and that.
A simpler option would be to create a page in view of your latest posts
and the information you want to appear in the block. Then use jQuery to
load that on your main page, selecting out just the part of the DOM tree
that has the actual list and injecting that into your site.
A better option would be a custom module that generates an html page of
your latest posts and saves it to the files system. Then you could
include that as an iframe on your main page. That would by far be best
performance wise and a lot more stable. It's also not that hard of a
module to write (a function to generate the HTML widget/list called on
hook_node_save()).
Jamie Holly
http://hollyit.net
On 1/13/2014 6:41 AM, Jonathan Candler wrote:
> So you guys are telling me, that I cannot include include function within my PHP scripts to point D.XML file over to my homepage?
>
> Jonnyboy! Iphones rock!
>
> > On 12 Jan 2014, at 1:21 pm, Richard Damon <Richard@Damon-Family.org> wrote:
> >
> >> On 1/12/14, 2:00 PM, Jamie Holly wrote:
> >> I agree 100%. You could parse the feed from your blog and display it on
> >> your home page, but that would probably take about as long as converting
> >> your site to totally be managed by Drupal.
> >>
> >> Jamie Holly
> >> http://hollyit.net
> > You don't even need to convert all of the rest of your site to Drupal.
> > Drupal works fine with pages generated by other tools (as long as they
> > don't need to use index.php) or even static pages.
> >
> > You would need to convert the home page, but other pages might not need
> > to be changed.
> >
> > --
> > Richard Damon
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
------------------------------
Message: 3
Date: Mon, 13 Jan 2014 15:36:32 -0800
From: Tony <tony@tony-mac.com>
Subject: [support] Databases
To: support@drupal.org
Message-ID:
<CADEDVdrRcw9_Pq4mtXUD4N=oHUU_3PaX09skbuHbBSwunspe8Q@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Does anyone know of a good book covering how to work with databases and
drupal?
Thanks
Tony
--
*Anthony Stefan Maciejowski*
*http://about.me/TonyMac <http://www.about.me/TonyMac>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140113/47014228/attachment-0001.html
------------------------------
Message: 4
Date: Mon, 13 Jan 2014 23:38:55 +0000
From: "Metzler, David" <metzlerd@evergreen.edu>
Subject: Re: [support] Databases
To: "'support@drupal.org'" <support@drupal.org>
Message-ID:
<CB99AEDD84838B4D919DE8C443FC5C55376ECB96@palm.evergreen.edu>
Content-Type: text/plain; charset="utf-8"
Not sure what you mean here. Are you talking about writing code using the drupal database API db_query, etc.? If so Drupal Pro Development is a good start. Perhaps you?re talking about using working with external non-drupal databases? Or something else?
Dave
From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Tony
Sent: Monday, January 13, 2014 3:37 PM
To: support@drupal.org
Subject: [support] Databases
Does anyone know of a good book covering how to work with databases and drupal?
Thanks
Tony
--
Anthony Stefan Maciejowski
http://about.me/TonyMac<http://www.about.me/TonyMac>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140113/5c94b14c/attachment-0001.html
------------------------------
Message: 5
Date: Mon, 13 Jan 2014 15:52:53 -0800
From: Warren Vail <warren@vailtech.net>
Subject: Re: [support] Databases
To: support@drupal.org
Message-ID:
<CAMF+QmOuLiE9=CiZ3uFNQrRX5E+47tZGBhOMf0CfLz0P4SRFvg@mail.gmail.com>
Content-Type: text/plain; charset="windows-1252"
Drupal 7 Module Development has a couple of good chapters on developing
modules that create and use entities, and there is another book out there
on Drupal 7 Entities that I have yet to tackle. I would also love to see
something that shows how to implement "No SQL" high demand Databases like
Mongo or Cassandra. While I know I'm missing lot's on these newer flavors
of database systems, I can't help but wonder if Drupal will ever run on a
"No SQL" platform, or if that is where we are all headed. First glance
suggests that perhaps Entity Classes will provide the keys to transitioning.
On Mon, Jan 13, 2014 at 3:38 PM, Metzler, David <metzlerd@evergreen.edu>wrote:
> Not sure what you mean here. Are you talking about writing code using
> the drupal database API db_query, etc.? If so Drupal Pro Development is a
> good start. Perhaps you?re talking about using working with external
> non-drupal databases? Or something else?
>
>
> Dave
>
>
>
> *From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On
> Behalf Of *Tony
> *Sent:* Monday, January 13, 2014 3:37 PM
> *To:* support@drupal.org
> *Subject:* [support] Databases
>
>
>
> Does anyone know of a good book covering how to work with databases and
> drupal?
>
> Thanks
>
> Tony
>
>
> --
>
> *Anthony Stefan Maciejowski*
>
> *http://about.me/TonyMac <http://www.about.me/TonyMac>*
>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140113/b118b220/attachment-0001.html
------------------------------
Message: 6
Date: Mon, 13 Jan 2014 16:06:50 -0800
From: Tony <tony@tony-mac.com>
Subject: Re: [support] Databases
To: support@drupal.org
Message-ID:
<CADEDVdojVLchfSqAHQ67qPnGgqj6SNww8OEeSY2=UjHsyfd_VQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Exactly the first scenario.I have that book but it doesn't really go into
the detail I need. As you say it is a good start. But I need a good
finish.
I have created a module with a form which should CRUD (can one say that?)
to a table I have defined in the install file. If I could just find some
sample code... How to insert (I know db_insert etc but what about the
return codes and messages etc etc) .
Thanks
On Jan 13, 2014 3:39 PM, "Metzler, David" <metzlerd@evergreen.edu> wrote:
> Not sure what you mean here. Are you talking about writing code using
> the drupal database API db_query, etc.? If so Drupal Pro Development is a
> good start. Perhaps you?re talking about using working with external
> non-drupal databases? Or something else?
>
>
> Dave
>
>
>
> *From:* support-bounces@drupal.org [mailto:support-bounces@drupal.org] *On
> Behalf Of *Tony
> *Sent:* Monday, January 13, 2014 3:37 PM
> *To:* support@drupal.org
> *Subject:* [support] Databases
>
>
>
> Does anyone know of a good book covering how to work with databases and
> drupal?
>
> Thanks
>
> Tony
>
>
> --
>
> *Anthony Stefan Maciejowski*
>
> *http://about.me/TonyMac <http://www.about.me/TonyMac>*
>
>
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20140113/de76eef0/attachment.html
------------------------------
--
[ Drupal support list | http://lists.drupal.org/ ]
End of support Digest, Vol 133, Issue 24
****************************************