CCK mező konvertálása más típusra (integer -> decimális)

The spam filter installed on this site is currently unavailable. Per site policy, we are unable to accept new submissions until that problem is resolved. Please try resubmitting the form in a couple of minutes.
Kategória: 
Leírás

Na, ez a normális esetben pár perces művelet kellőképpen megizzasztott elsőre, úgyhogy gyorsan levésem, hogy többet ne kelljen annyit keresnem.

Arra mindenképpen vigyázni kell, hogy ne legyen akarjunk olyan típusra konvertálni, amik nem férnek meg egymással, tehát pl szöveges mezőből lehetőleg ne próbáljunk integert csinálni.

1. Nagyon fontos: Backup az adatbázisról! Szerk: <York> szantogabor: meg annyit a bloghoz, hogy celszeru ilyenkor karbantartas modba loni az oldalt, hogy ne keltkezzenek uj node-ok, vagy ne irodjanak felul a meglevok...

2. Új CCK mező létrehozása drupalon belül.

3. Irány a phpmyadmin, majd SQL futtatása  a következőképp:

UPDATE 'content_type_tartalomtipusneve' SET 'field_ujmezoneve_value' = 'field_regimezonevel_value'

4. Ellenőrízzük le, hogy minden a kedvünk szerint alakult-e, ekkor már a régi és az új mezőkben is ugyanazt kell látni.

5. Ha minden ok, töröljük a régi mezőnket.

Igenám, de hogyha már kellőképpen előrehaladott állapotban van az oldalunk, lehet, hogy a régi mezőnket használná valami, pl egy views, vagy rules. Pakoljuk tehát vissza az új mezőbe tett adatokat a régibe:

6. Hozzuk létre a ismét a régi CCK mezőnket, ezúttal figyeljünk, hogy a jó típust állítsuk be.

7. Irány a phpmyadmin, majd SQL futtatása majdnem ugyanaz mint az előbb, csak fordítva a mezők neve:

UPDATE 'content_type_tartalomtipusneve' SET 'field_regimezonevel_value' = 'field_ujmezoneve_value'

8. Ellenőrízzük le, hogy minden a kedvünk szerint alakult-e, ekkor már a régi és az új mezőkben is ugyanazt kell látni.

9. Ha minden ok, töröljük az új mezőnket.

Hozzászólások

I was suggested this web site

I was suggested this web site by way of my cousin. I am no longer sure whether or not this publish is written by way of him as nobody else recognize such specific approximately my problem. You are wonderful! Thank you!|

You might receive them all in

You might receive them all in the family group, however , likelihood is age spots are a unit to your way of living.

If some one wishes expert

If some one wishes expert view about running a blog afterward i recommend him/her to go to see this blog, Keep up the good job.|

This would let you join what

This would let you join what we implement day after day in your living prepare.

Wonderful article! This is

Wonderful article! This is the kind of info that should be shared across the web. Disgrace on the search engines for now not positioning this submit higher! Come on over and consult with my website . Thanks =)|

Ketosis Consequences within

Ketosis Consequences within the KidneysVery superior variety of ketones develop your blood stream alot more acid and then overstock ones own liver.

It is perfect time to make

It is perfect time to make some plans for the longer term and it is time to be happy. I've learn this publish and if I may just I desire to counsel you some attention-grabbing issues or tips. Maybe you can write next articles regarding this article. I wish to read more issues about it!|

com|Youtube|Squidoo|Bebo} and

com|Youtube|Squidoo|Bebo} and they also utilize the Twittollower data towards postal mail available usual updates.

Ahaa, its nice conversation

Ahaa, its nice conversation regarding this paragraph at this place at this webpage, I have read all that, so at this time me also commenting here.|

Reynolds applications web

Reynolds applications web pages want iStockPhoto to stay away from any over-used and corny clipart which comes part by means of Ms powerpoint.

We're a gaggle of volunteers

We're a gaggle of volunteers and opening a new scheme in our community. Your site provided us with useful info to work on. You've done a formidable process and our entire group will probably be grateful to you.|

Very soon this website will

Very soon this website will be famous among all blog visitors, due to it's good articles or reviews|

Heya! I just wanted to ask if

Heya! I just wanted to ask if you ever have any issues with hackers? My last blog (wordpress) was hacked and I ended up losing several weeks of hard work due to no back up. Do you have any methods to prevent hackers?|

Hello very nice web site!!

Hello very nice web site!! Man .. Excellent ..
Superb .. I will bookmark your site and take the feeds also?
I am happy to search out a lot of helpful info right here within the submit, we want
work out more strategies in this regard, thanks for sharing.
. . . . .

My spouse and I stumbled

My spouse and I stumbled over here different web address and thought I may as well check things out. I like what I see so i am just following you. Look forward to going over your web page for a second time.|

Very great post. I just

Very great post. I just stumbled upon your weblog and
wished to say that I have really loved surfing around your blog posts.
After all I'll be subscribing on your rss feed and I'm hoping you write
again soon!

Link exchange is nothing else

Link exchange is nothing else but it is just placing the other person's web site link on your page at suitable place and other person will also do same for you.|

Very nice article, totally

Very nice article, totally what I wanted to find.

I do trust all of the ideas

I do trust all of the ideas you have introduced to your post. They are really convincing and can definitely work. Nonetheless, the posts are too brief for novices. Could you please prolong them a little from subsequent time? Thanks for the post.|

I'm really impressed with

I'm really impressed with your writing skills and also with the layout on your weblog.
Is this a paid theme or did you modify it yourself? Either way keep up
the excellent quality writing, it's rare to see a nice blog like this one these days.

Jay's Santa Clarita Tree Removal Kings
26174 Las Lanas Ct, Santa Clarita, CA 91355
661-464-1270
laureljefferson09875 [at] gmail [dot] com

If some one wishes expert

If some one wishes expert view concerning blogging and site-building then i propose him/her to pay a quick visit this website, Keep up the fastidious job.|

I'm no longer sure where you

I'm no longer sure where you are getting your
info, but good topic. I must spend some time learning more or figuring out
more. Thanks for fantastic info I used to be in search of this info for my mission.

Great website. A lot of

Great website. A lot of useful info here. I am sending it to a few pals ans also sharing in delicious. And naturally, thanks to your sweat!|

Thanks for finally writing

Thanks for finally writing about >Válasz a hozzászólásra

Awesome article.

Awesome article.

Thanks on your marvelous

Thanks on your marvelous posting! I definitely enjoyed reading it, you will be a great author.I will be sure to bookmark your blog and will eventually come back sometime soon. I want to encourage one to continue your great work, have a nice morning!|

Appreciating the hard work

Appreciating the hard work you put into your blog and in depth information you present.
It's great to come across a blog every once in a while that
isn't the same outdated rehashed information.
Great read! I've saved your site and I'm including your RSS feeds to my Google account.

Hello, i believe that i saw

Hello, i believe that i saw you visited my website so i came to return the want?.I am attempting to to find things to enhance my website!I suppose its good enough to make use of a few of your concepts!!|

Spot on with this write-up, I

Spot on with this write-up, I seriously think this website needs a great deal more attention. I'll probably be back again to
read more, thanks for the info!

This paragraph gives clear

This paragraph gives clear idea designed for the new viewers of blogging, that genuinely how to do blogging
and site-building.

What's up, just wanted to

What's up, just wanted to tell you, I loved this blog post. It was funny. Keep on posting!|

Very descriptive article, I

Very descriptive article, I loved that a lot. Will there be a part
2?

I will right away seize your

I will right away seize your rss as I can't in finding your email subscription link or newsletter service. Do you have any? Please permit me know so that I may just subscribe. Thanks.|

certainly like your web site

certainly like your web site but you need to test the spelling on quite a few of your posts. Many of them are rife with spelling problems and I in finding it very bothersome to tell the truth then again I'll surely come again again.|

Hello, i think that i saw you

Hello, i think that i saw you visited my weblog thus i came to “return the favor”.I am trying to find things to improve my site!I suppose its ok to use a few of your ideas!!|

Every weekend i used to go to

Every weekend i used to go to see this web site, because i wish for enjoyment, as this this web page conations in fact pleasant funny information too.

Hello, all the time i used to

Hello, all the time i used to check webpage posts here in the early hours in the break of day, because i love to find out more and more.|

I savor, cause I discovered

I savor, cause I discovered exactly what I used to be looking for.

You've ended my 4 day lengthy hunt! God Bless you man. Have a nice
day. Bye

Hi there, I would like to

Hi there, I would like to subscribe for this blog to take most recent updates, so where can i do it please help.|

Why people still use to read

Why people still use to read news papers when in this technological world all is accessible on web?

Hey just wanted to give you a

Hey just wanted to give you a brief heads up and let you know a few of the images aren't loading correctly. I'm not sure why but I think its a linking issue. I've tried it in two different internet browsers and both show the same results.|

M.E.C Mon Electricien

M.E.C Mon Electricien Catalan
44 Rue Henry de Turenne
66100 Perpignan
0651212596

Electricien Perpignan

Attractive part of content. I simply stumbled upon your website
and in accession capital to claim that I get in fact loved account your
blog posts. Anyway I'll be subscribing on your feeds and even I fulfillment you get right of entry to
persistently fast.

Hi there to every , since I

Hi there to every , since I am genuinely keen of reading this blog's post to be updated regularly. It contains fastidious data.|

Taxi moto line 128 Rue la

Taxi moto line
128 Rue la Boétie
75008 Paris
+33 6 51 612 712  

Taxi moto paris

An outstanding share! I have just forwarded this onto a colleague
who had been doing a little research on this. And he actually bought me breakfast due to the fact that I discovered it for him...
lol. So let me reword this.... Thank YOU for the meal!!
But yeah, thanx for spending some time to talk about this subject here on your website.

Awesome article.|

Awesome article.|

Hi, this weekend is good in

Hi, this weekend is good in favor of me, for the reason that this
moment i am reading this wonderful educational piece of writing
here at my house.

Please let me know if you're

Please let me know if you're looking for a article author for your blog. You have some really good articles and I believe I would be a good asset. If you ever want to take some of the load off, I'd really like to write some content for your blog in exchange for a link back to mine. Please send me an e-mail if interested. Many thanks!|

Willie G youllied Wow,

Willie G youllied

Wow, wonderful blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your site
is great, let alone the content!

Genuinely no matter if

Genuinely no matter if someone doesn't be aware of afterward its up to other users that they will assist, so here it happens.|

It's awesome to pay a quick

It's awesome to pay a quick visit this site and reading the
views of all mates concerning this article, while I
am also zealous of getting knowledge.

Hozzászólás

A mező tartalma nem nyilvános.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Engedélyezett HTML elemek: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <del> <img>
  • A webcímek és email címek automatikusan linkekké alakulnak.
  • A sorokat és bekezdéseket a rendszer automatikusan felismeri.
  • Engedélyezett HTML elemek: <a> <blockquote> <br> <cite> <code> <dd> <del> <div> <dl> <dt> <em> <li> <ol> <p> <span> <strong> <ul>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <bash>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <php>, <python>, <ruby>, <sql>. The supported tag styles are: <foo>, [foo].
  • Minden email cím át lesz alakítva ember által olvasható módon, vagy (ha a JavaScript engedélyezett) ki lesz cserélve kattintható, de biztonságos hivatkozásra.