Re: New content type
Muzaffer Tolga Ozses <[email protected]> Thu, 5 Feb 2015 09:18:36 +0200
| Newsgroups | gmane.comp.php.drupal.devel |
|---|---|
| Message-ID | <CAMAQ3n+cJYggaeZ87eY+7e2Ra9D416c_QPJPeqEpUd1eEpJgyg@mail.gmail.com> |
--e89a8f503bb2cdbd5b050e521c47 Content-Type: text/plain; charset=UTF-8 Hi Nicolas, You may read the following: http://www.thecarneyeffect.co.uk/creating-custom-content-type-adding-fields-programmatically-drupal-7 On 5 February 2015 at 09:11, Nicolas <[email protected]> wrote: > Hi all, > > I used to make website with drupal 6 and I defined new content type using > new node type. > I tried to do the same thing with drupal 7... But after some readings I > discover it could not be the right way. > > Must I used entity ? I want to access my new type as it was node with > ?q=node/add/my-new-type > > I search for goods tutorials but didn't find somes. > > Thanks in advance for any help or any advice. > > Nicolas > -- mto --e89a8f503bb2cdbd5b050e521c47 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">Hi Nicolas,</div><div class=3D"gmail_default" styl= e=3D"font-family:'courier new',monospace"><br></div><div class=3D"g= mail_default" style=3D"font-family:'courier new',monospace">You may= read the following:=C2=A0<a href=3D"http://www.thecarneyeffect.co.uk/creat= ing-custom-content-type-adding-fields-programmatically-drupal-7">http://www= .thecarneyeffect.co.uk/creating-custom-content-type-adding-fields-programma= tically-drupal-7</a></div></div><div class=3D"gmail_extra"><br><div class= =3D"gmail_quote">On 5 February 2015 at 09:11, Nicolas <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= :0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">H= i all,<div><br></div><div>I used to make website with drupal 6 and I define= d new content type using new node type.=C2=A0</div><div>I tried to do the s= ame thing with drupal 7... But after some readings I discover it could not = be the right way.=C2=A0</div><div><br></div><div>Must I used entity ? I wan= t to access my new type as it was node with ?q=3Dnode/add/my-new-type</div>= <div><br></div><div>I search for goods tutorials but didn't find somes.= </div><div><br></div><div>Thanks in advance for any help or any advice.</di= v><span class=3D"HOEnZb"><font color=3D"#888888"><div><br></div><div>Nicola= s=C2=A0</div></font></span></div> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class= =3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr">mto</div></div>= </div></div> </div> --e89a8f503bb2cdbd5b050e521c47--