{"id":31581,"date":"2025-10-11T13:41:14","date_gmt":"2025-10-11T10:41:14","guid":{"rendered":"https:\/\/fatihsoysal.com\/blog\/?p=31581"},"modified":"2025-10-11T13:41:14","modified_gmt":"2025-10-11T10:41:14","slug":"ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi","status":"publish","type":"post","link":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/","title":{"rendered":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi"},"content":{"rendered":"<p><body><\/p>\n<h2>Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi<\/h2>\n<h3>Giri\u015f: Drupal Temalar\u0131 ve Omega 4&#8217;\u00fcn G\u00fcc\u00fc<\/h3>\n<p>Drupal, g\u00fc\u00e7l\u00fc ve esnek bir i\u00e7erik y\u00f6netim sistemi (CMS) olmas\u0131n\u0131n yan\u0131 s\u0131ra, temalama konusunda da geli\u015ftiricilere geni\u015f olanaklar sunar. Bir Drupal web sitesinin g\u00f6rsel kimli\u011fi ve kullan\u0131c\u0131 deneyimi, b\u00fcy\u00fck \u00f6l\u00e7\u00fcde kullan\u0131lan tema taraf\u0131ndan belirlenir. Temalama, sitenizin estetik g\u00f6r\u00fcn\u00fcm\u00fcn\u00fc, d\u00fczenini ve responsive (duyarl\u0131) \u00f6zelliklerini \u015fekillendirme s\u00fcrecidir. Bu s\u00fcre\u00e7te, s\u0131f\u0131rdan bir tema olu\u015fturmak yerine, mevcut bir &#8220;base theme&#8221; (temel tema) \u00fczerine in\u015fa etmek yayg\u0131n ve \u00f6nerilen bir yakla\u015f\u0131md\u0131r. Bu makalede, Drupal 7 i\u00e7in pop\u00fcler ve g\u00fc\u00e7l\u00fc bir temel tema olan Omega 4&#8217;\u00fc kullanarak Ubuntu tabanl\u0131 bir Sanal \u00d6zel Sunucu (VPS) \u00fczerinde nas\u0131l alt tema (subtheme) olu\u015fturaca\u011f\u0131m\u0131z\u0131 ad\u0131m ad\u0131m inceleyece\u011fiz.<\/p>\n<p>Omega 4, geli\u015ftiricilere modern web standartlar\u0131na uygun, responsive ve grid tabanl\u0131 tasar\u0131mlar olu\u015fturma konusunda benzersiz bir esneklik sunar. Compass ve Sass gibi \u00f6n i\u015flemcilerle entegre \u00e7al\u0131\u015farak CSS yaz\u0131m\u0131n\u0131 kolayla\u015ft\u0131r\u0131r ve h\u0131zland\u0131r\u0131r. Ayr\u0131ca, Grunt veya Gulp gibi g\u00f6rev \u00e7al\u0131\u015ft\u0131r\u0131c\u0131lar\u0131 ile entegrasyonu sayesinde Sass derleme, JavaScript birle\u015ftirme ve LiveReload gibi otomasyon s\u00fcre\u00e7lerini m\u00fcmk\u00fcn k\u0131lar.<\/p>\n<p>Alt tema kullanman\u0131n temel avantaj\u0131, Drupal \u00e7ekirde\u011fini veya temel temay\u0131 do\u011frudan de\u011fi\u015ftirmeden sitenizi \u00f6zelle\u015ftirebilmenizdir. Bu, temel tema g\u00fcncellemeleri yay\u0131nland\u0131\u011f\u0131nda, yapt\u0131\u011f\u0131n\u0131z \u00f6zelle\u015ftirmelerin kaybolmamas\u0131n\u0131 sa\u011flar ve bak\u0131m s\u00fcrecini b\u00fcy\u00fck \u00f6l\u00e7\u00fcde basitle\u015ftirir. Ubuntu VPS ortam\u0131 ise, geli\u015ftirme ve \u00fcretim ortamlar\u0131n\u0131z \u00fczerinde tam kontrol sahibi olman\u0131z\u0131 sa\u011flar, bu da \u00f6zellikle performans optimizasyonu ve g\u00fcvenlik a\u00e7\u0131s\u0131ndan kritik \u00f6neme sahiptir. Bu rehberde, bir VPS ortam\u0131nda Omega 4 alt temas\u0131 olu\u015fturma ve geli\u015ftirme s\u00fcrecinin t\u00fcm a\u015famalar\u0131n\u0131 ele alaca\u011f\u0131z.<\/p>\n<h3>\u00d6n Gereksinimler: Ortam\u0131n\u0131z\u0131 Haz\u0131rlama<\/h3>\n<p>Omega 4 alt temas\u0131 olu\u015fturmaya ba\u015flamadan \u00f6nce, Ubuntu VPS&#8217;nizin belirli yaz\u0131l\u0131mlarla donat\u0131lm\u0131\u015f olmas\u0131 gerekmektedir. Bu ad\u0131mlar, geli\u015ftirme ortam\u0131n\u0131z\u0131 kurmak i\u00e7in temel olu\u015fturacakt\u0131r.<\/p>\n<h4>Ubuntu VPS Eri\u015fimi ve Temel Bilgiler<\/h4>\n<p>*   <strong>SSH Eri\u015fimi:<\/strong> VPS&#8217;nize Secure Shell (SSH) arac\u0131l\u0131\u011f\u0131yla eri\u015febilmeniz gerekmektedir. Genellikle <code>ssh kullan\u0131c\u0131ad\u0131@vps_ip_adresi<\/code> komutu ile ba\u011flan\u0131l\u0131r.<br \/>\n*   <strong>Temel Linux Komut Bilgisi:<\/strong> <code>cd<\/code>, <code>ls<\/code>, <code>mkdir<\/code>, <code>cp<\/code>, <code>mv<\/code>, <code>rm<\/code>, <code>sudo<\/code> gibi temel komutlar\u0131 kullanabilmeniz beklenir.<br \/>\n*   <strong>LAMP\/LEMP Y\u0131\u011f\u0131n\u0131:<\/strong> Drupal&#8217;\u0131n \u00e7al\u0131\u015fabilmesi i\u00e7in Apache\/Nginx, MySQL\/MariaDB ve PHP (LAMP veya LEMP y\u0131\u011f\u0131n\u0131) kurulu ve yap\u0131land\u0131r\u0131lm\u0131\u015f olmal\u0131d\u0131r.<br \/>\n*   <strong>Drupal Kurulumu:<\/strong> VPS&#8217;nizde \u00e7al\u0131\u015fan bir Drupal 7 kurulumu bulunmal\u0131d\u0131r. Genellikle bu, <code>\/var\/www\/html\/drupal<\/code> veya <code>\/var\/www\/drupal<\/code> gibi bir dizinde yer al\u0131r.<\/p>\n<h4>Gerekli Geli\u015ftirme Ara\u00e7lar\u0131<\/h4>\n<p>*   <strong>Drush:<\/strong> Drupal&#8217;\u0131n komut sat\u0131r\u0131 arac\u0131d\u0131r ve tema olu\u015fturma, mod\u00fcl y\u00f6netimi gibi bir\u00e7ok g\u00f6revi otomatikle\u015ftirmek i\u00e7in vazge\u00e7ilmezdir.<br \/>\n    *   Kurulum i\u00e7in: <code>sudo composer global require drush\/drush<\/code> veya Drush&#8217;\u0131n resmi sitesindeki talimatlar\u0131 izleyebilirsiniz. Y\u00fckledikten sonra <code>drush status<\/code> ile kontrol edin.<br \/>\n*   <strong>Git:<\/strong> Temalar\u0131 ve mod\u00fclleri indirmek, kendi kodunuzu versiyonlamak i\u00e7in kullan\u0131l\u0131r.<br \/>\n    *   Kurulum i\u00e7in: <code>sudo apt update && sudo apt install git-all<\/code>.<br \/>\n*   <strong>Node.js ve npm:<\/strong> Omega 4, Sass\/Compass derlemesi, LiveReload gibi otomasyon g\u00f6revleri i\u00e7in Node.js tabanl\u0131 ara\u00e7lar\u0131 (Grunt\/Gulp) kullan\u0131r. <code>npm<\/code> (Node Package Manager) ise Node.js paketlerini y\u00f6netmek i\u00e7in kullan\u0131l\u0131r.<br \/>\n    *   Node.js&#8217;i kurman\u0131n en iyi yolu <code>nvm<\/code> (Node Version Manager) kullanmakt\u0131r. Bu, farkl\u0131 Node.js s\u00fcr\u00fcmleri aras\u0131nda ge\u00e7i\u015f yapman\u0131z\u0131 sa\u011flar.<\/p>\n<pre><code class=\"language-bash\">curl -o- https:\/\/raw.githubusercontent.com\/nvm-sh\/nvm\/v0.39.1\/install.sh | bash\n        source ~\/.bashrc # veya ~\/.zshrc\n        nvm install node # En son LTS s\u00fcr\u00fcm\u00fcn\u00fc kurar\n        nvm use node<\/code><\/pre>\n<p>    *   Alternatif olarak, do\u011frudan apt ile kurabilirsiniz (ancak bu genellikle daha eski bir s\u00fcr\u00fcm verir): <code>sudo apt install nodejs npm<\/code>.<br \/>\n    *   Kurulumdan sonra <code>node -v<\/code> ve <code>npm -v<\/code> ile kontrol edin.<br \/>\n*   <strong>Grunt CLI:<\/strong> Grunt g\u00f6rev \u00e7al\u0131\u015ft\u0131r\u0131c\u0131s\u0131n\u0131 global olarak kurman\u0131z gerekir.<br \/>\n    *   Kurulum i\u00e7in: <code>sudo npm install -g grunt-cli<\/code>.<br \/>\n*   <strong>Compass (Ruby Gem):<\/strong> Omega 4, Sass dosyalar\u0131n\u0131 CSS&#8217;e derlemek i\u00e7in Compass&#8217;\u0131 kullan\u0131r. Compass, Ruby tabanl\u0131d\u0131r, bu y\u00fczden Ruby ve Gem paket y\u00f6neticisinin kurulu olmas\u0131 gerekir.<br \/>\n    *   Kurulum i\u00e7in:<\/p>\n<pre><code class=\"language-bash\">sudo apt update\n        sudo apt install ruby-full\n        sudo gem install compass<\/code><\/pre>\n<p>    *   Kurulumdan sonra <code>compass -v<\/code> ile kontrol edin.<\/p>\n<p>Bu \u00f6n gereksinimleri tamamlad\u0131ktan sonra, Drupal tema dizininize ge\u00e7erek Omega 4 temel temas\u0131n\u0131 kurmaya ba\u015flayabiliriz.<\/p>\n<h3>Omega 4 Temel Temas\u0131n\u0131 Y\u00fckleme<\/h3>\n<p>Omega 4 alt temas\u0131 olu\u015fturmak i\u00e7in \u00f6ncelikle temel Omega 4 temas\u0131n\u0131n Drupal kurulumunuzda bulunmas\u0131 ve etkinle\u015ftirilmesi gerekmektedir.<\/p>\n<h4>Omega 4&#8217;\u00fc \u0130ndirme<\/h4>\n<p>Drupal tema dizininize gidin. Genellikle bu, <code>sites\/all\/themes<\/code> dizinidir:<\/p>\n<pre><code class=\"language-bash\">cd \/var\/www\/html\/drupal\/sites\/all\/themes<\/code><\/pre>\n<p>Omega 4&#8217;\u00fc Drush kullanarak indirebilirsiniz. Bu en kolay ve \u00f6nerilen y\u00f6ntemdir:<\/p>\n<pre><code class=\"language-bash\">drush dl omega<\/code><\/pre>\n<p>Bu komut, Omega 4&#8217;\u00fcn en son kararl\u0131 s\u00fcr\u00fcm\u00fcn\u00fc indirecektir. Alternatif olarak, Git kullanarak da indirebilirsiniz:<\/p>\n<pre><code class=\"language-bash\">git clone --branch 7.x-4.x https:\/\/git.drupal.org\/project\/omega.git<\/code><\/pre>\n<p>\u0130ndirme i\u015flemi tamamland\u0131\u011f\u0131nda, <code>omega<\/code> ad\u0131nda yeni bir dizin olu\u015ftu\u011funu g\u00f6receksiniz.<\/p>\n<h4>Omega Temas\u0131n\u0131 Etkinle\u015ftirme<\/h4>\n<p>Omega, bir temel tema oldu\u011fu i\u00e7in do\u011frudan varsay\u0131lan tema olarak ayarlanmas\u0131 beklenmez. Ancak, alt temalar\u0131n d\u00fczg\u00fcn \u00e7al\u0131\u015fabilmesi i\u00e7in Drupal&#8217;da etkinle\u015ftirilmi\u015f olmas\u0131 gerekir.<\/p>\n<pre><code class=\"language-bash\">drush en omega<\/code><\/pre>\n<p>Bu komut, Omega temas\u0131n\u0131 Drupal kurulumunuzda etkinle\u015ftirecektir. Drupal y\u00f6netici aray\u00fcz\u00fcnden de (G\u00f6r\u00fcn\u00fcm -> Temalar) etkinle\u015ftirebilirsiniz.<\/p>\n<h3>Omega 4 Alt Temas\u0131 Olu\u015fturma<\/h3>\n<p>Omega 4&#8217;\u00fcn en g\u00fc\u00e7l\u00fc \u00f6zelliklerinden biri, alt temalar\u0131 h\u0131zl\u0131 ve kolay bir \u015fekilde olu\u015fturabilmesidir. Drush, bu s\u00fcreci otomatikle\u015ftiren \u00f6zel bir komut sunar.<\/p>\n<h4>Drush ile Alt Tema Olu\u015fturma<\/h4>\n<p>Drupal k\u00f6k dizininize geri d\u00f6n\u00fcn (veya herhangi bir yerden Drush komutunu \u00e7al\u0131\u015ft\u0131rabilirsiniz, ancak tema dizininde olmak daha anla\u015f\u0131l\u0131r olabilir):<\/p>\n<pre><code class=\"language-bash\">cd \/var\/www\/html\/drupal<\/code><\/pre>\n<p>Alt teman\u0131z\u0131 olu\u015fturmak i\u00e7in Drush&#8217;\u0131n <code>omega-subtheme<\/code> komutunu kullan\u0131n:<\/p>\n<pre><code class=\"language-bash\">drush omega-subtheme \"alt_tema_adim\" --starterkit=\"omega_simple_starterkit\"<\/code><\/pre>\n<p>*   <code>alt_tema_adim<\/code>: Olu\u015fturmak istedi\u011finiz alt teman\u0131n makine ad\u0131d\u0131r. K\u00fc\u00e7\u00fck harf ve alt \u00e7izgi kullan\u0131n. \u00d6rne\u011fin, <code>my_custom_theme<\/code>.<br \/>\n*   <code>--starterkit=\"omega_simple_starterkit\"<\/code>: Omega 4, alt temalar i\u00e7in farkl\u0131 ba\u015flang\u0131\u00e7 kitleri (starterkit) sunar. <code>omega_simple_starterkit<\/code>, en temel ve temiz ba\u015flang\u0131\u00e7 noktas\u0131d\u0131r. Di\u011fer se\u00e7enekler i\u00e7in <code>drush help omega-subtheme<\/code> komutunu \u00e7al\u0131\u015ft\u0131rabilirsiniz.<\/p>\n<p>Bu komutu \u00e7al\u0131\u015ft\u0131rd\u0131\u011f\u0131n\u0131zda, Drush size alt teman\u0131z\u0131n ad\u0131n\u0131, a\u00e7\u0131klamas\u0131n\u0131 ve di\u011fer baz\u0131 bilgileri soracakt\u0131r. Bu bilgileri girerek devam edin. \u0130\u015flem tamamland\u0131\u011f\u0131nda, <code>sites\/all\/themes\/alt_tema_adim<\/code> dizininde yeni alt teman\u0131z\u0131n olu\u015fturuldu\u011funu g\u00f6receksiniz.<\/p>\n<h4>Olu\u015fturulan Alt Tema Yap\u0131s\u0131<\/h4>\n<p>Yeni olu\u015fturulan alt teman\u0131z\u0131n dizin yap\u0131s\u0131 a\u015fa\u011f\u0131daki gibi olacakt\u0131r:<\/p>\n<pre><code class=\"language-\">alt_tema_adim\/\n\u251c\u2500\u2500 css\/\n\u2502   \u251c\u2500\u2500 layout.css\n\u2502   \u251c\u2500\u2500 responsive-narrow.css\n\u2502   \u251c\u2500\u2500 responsive-normal.css\n\u2502   \u2514\u2500\u2500 responsive-wide.css\n\u251c\u2500\u2500 js\/\n\u251c\u2500\u2500 sass\/\n\u2502   \u251c\u2500\u2500 _base.scss\n\u2502   \u251c\u2500\u2500 _custom.scss\n\u2502   \u251c\u2500\u2500 _layout.scss\n\u2502   \u251c\u2500\u2500 _mixins.scss\n\u2502   \u251c\u2500\u2500 _normalize.scss\n\u2502   \u251c\u2500\u2500 _variables.scss\n\u2502   \u251c\u2500\u2500 style.scss\n\u2502   \u2514\u2500\u2500 ... (di\u011fer Sass dosyalar\u0131)\n\u251c\u2500\u2500 templates\/\n\u2502   \u251c\u2500\u2500 node.tpl.php\n\u2502   \u251c\u2500\u2500 page.tpl.php\n\u2502   \u2514\u2500\u2500 ... (di\u011fer TPL dosyalar\u0131)\n\u251c\u2500\u2500 .gitignore\n\u251c\u2500\u2500 config.rb\n\u251c\u2500\u2500 Gruntfile.js\n\u251c\u2500\u2500 package.json\n\u251c\u2500\u2500 alt_tema_adim.info\n\u251c\u2500\u2500 alt_tema_adim.module\n\u251c\u2500\u2500 alt_tema_adim.php\n\u251c\u2500\u2500 template.php\n\u2514\u2500\u2500 theme-settings.php<\/code><\/pre>\n<p>*   <strong><code>alt_tema_adim.info<\/code><\/strong>: Drupal 7 temalar\u0131n\u0131n temel bilgi dosyas\u0131d\u0131r. Tema ad\u0131, a\u00e7\u0131klama, CSS\/JS dosyalar\u0131, b\u00f6lgeler (regions) ve \u00f6zellikler (features) burada tan\u0131mlan\u0131r.<br \/>\n*   <strong><code>template.php<\/code><\/strong>: Tema fonksiyonlar\u0131n\u0131, preprocess kancalar\u0131n\u0131 ve di\u011fer PHP tabanl\u0131 \u00f6zelle\u015ftirmeleri i\u00e7erir.<br \/>\n*   <strong><code>theme-settings.php<\/code><\/strong>: Tema ayarlar\u0131na \u00f6zel form elemanlar\u0131 ve i\u015flevleri tan\u0131mlamak i\u00e7in kullan\u0131l\u0131r.<br \/>\n*   <strong><code>sass\/<\/code><\/strong>: T\u00fcm Sass kaynak dosyalar\u0131n\u0131z burada yer al\u0131r. Compass ile derlenerek <code>css\/<\/code> dizinine \u00e7\u0131kt\u0131 verir.<br \/>\n*   <strong><code>css\/<\/code><\/strong>: Derlenmi\u015f CSS dosyalar\u0131 burada bulunur. Genellikle bu dosyalar\u0131 do\u011frudan d\u00fczenlemezsiniz, Sass dosyalar\u0131n\u0131 d\u00fczenlersiniz.<br \/>\n*   <strong><code>js\/<\/code><\/strong>: \u00d6zel JavaScript dosyalar\u0131n\u0131z i\u00e7in dizin.<br \/>\n*   <strong><code>templates\/<\/code><\/strong>: Drupal&#8217;\u0131n varsay\u0131lan TPL dosyalar\u0131n\u0131 ge\u00e7ersiz k\u0131lmak i\u00e7in kullan\u0131l\u0131r. \u00d6rne\u011fin, <code>page.tpl.php<\/code> veya <code>node.tpl.php<\/code>.<br \/>\n*   <strong><code>config.rb<\/code><\/strong>: Compass i\u00e7in yap\u0131land\u0131rma dosyas\u0131d\u0131r. Sass kaynak dizini, CSS \u00e7\u0131kt\u0131 dizini, Sass stilini (compressed, expanded vb.) tan\u0131mlar.<br \/>\n*   <strong><code>Gruntfile.js<\/code><\/strong>: Grunt g\u00f6rev \u00e7al\u0131\u015ft\u0131r\u0131c\u0131s\u0131n\u0131n yap\u0131land\u0131rma dosyas\u0131d\u0131r. Sass derleme, LiveReload, dosya izleme (watch) gibi g\u00f6revleri tan\u0131mlar.<br \/>\n*   <strong><code>package.json<\/code><\/strong>: Node.js tabanl\u0131 projenizin meta verilerini ve ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 (npm paketleri) tan\u0131mlar.<\/p>\n<h4>Alt Temay\u0131 Etkinle\u015ftirme ve Varsay\u0131lan Yapma<\/h4>\n<p>Alt teman\u0131z\u0131 olu\u015fturduktan sonra, Drupal&#8217;da etkinle\u015ftirmeniz ve isterseniz varsay\u0131lan tema olarak ayarlaman\u0131z gerekir.<\/p>\n<pre><code class=\"language-bash\">drush en alt_tema_adim\ndrush vset theme_default alt_tema_adim<\/code><\/pre>\n<p>Art\u0131k Drupal siteniz, yeni olu\u015fturdu\u011funuz Omega 4 alt teman\u0131z\u0131 kullanacakt\u0131r. Y\u00f6netici aray\u00fcz\u00fcnden (G\u00f6r\u00fcn\u00fcm -> Temalar) de bu i\u015flemleri yapabilirsiniz.<\/p>\n<h3>Alt Temay\u0131 Geli\u015ftirmeye Haz\u0131rlama: Grunt ve Sass<\/h3>\n<p>Omega 4 alt teman\u0131z\u0131n en \u00f6nemli avantajlar\u0131ndan biri, Sass ve Grunt gibi modern geli\u015ftirme ara\u00e7lar\u0131yla entegre \u00e7al\u0131\u015fmas\u0131d\u0131r. Bu, tema geli\u015ftirme s\u00fcrecini \u00e7ok daha verimli hale getirir.<\/p>\n<h4>Node.js Ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 Y\u00fckleme<\/h4>\n<p>Alt teman\u0131z\u0131n dizinine gidin:<\/p>\n<pre><code class=\"language-bash\">cd \/var\/www\/html\/drupal\/sites\/all\/themes\/alt_tema_adim<\/code><\/pre>\n<p><code>package.json<\/code> dosyas\u0131nda tan\u0131ml\u0131 olan t\u00fcm Node.js ba\u011f\u0131ml\u0131l\u0131klar\u0131n\u0131 (Grunt eklentileri, Sass derleyicileri vb.) y\u00fcklemek i\u00e7in <code>npm install<\/code> komutunu \u00e7al\u0131\u015ft\u0131r\u0131n:<\/p>\n<pre><code class=\"language-bash\">npm install<\/code><\/pre>\n<p>Bu i\u015flem biraz zaman alabilir ve <code>node_modules<\/code> ad\u0131nda yeni bir dizin olu\u015fturacakt\u0131r.<\/p>\n<h4>Gruntfile.js ve Compass\/Sass Yap\u0131land\u0131rmas\u0131<\/h4>\n<p>*   <strong><code>config.rb<\/code> (Compass Yap\u0131land\u0131rmas\u0131):<\/strong> Bu dosya, Compass&#8217;\u0131n Sass dosyalar\u0131n\u0131 nas\u0131l i\u015fleyece\u011fini belirler. Genellikle varsay\u0131lan ayarlar yeterlidir, ancak \u00e7\u0131kt\u0131 stilini (\u00f6rne\u011fin, <code>output_style = :compressed<\/code> i\u00e7in \u00fcretim ortam\u0131) de\u011fi\u015ftirebilirsiniz.<\/p>\n<pre><code class=\"language-ruby\"># config.rb \u00f6rne\u011fi\n    require 'compass-normalize'\n    http_path = \"\/\"\n    css_dir = \"css\"\n    sass_dir = \"sass\"\n    images_dir = \"images\"\n    javascripts_dir = \"js\"\n    # output_style = :compressed # \u00dcretim i\u00e7in\n    output_style = :expanded # Geli\u015ftirme i\u00e7in\n    relative_assets = true\n    line_comments = false<\/code><\/pre>\n<p>*   <strong><code>Gruntfile.js<\/code> (Grunt Yap\u0131land\u0131rmas\u0131):<\/strong> Bu dosya, Grunt&#8217;\u0131n \u00e7al\u0131\u015ft\u0131raca\u011f\u0131 g\u00f6revleri tan\u0131mlar. Omega 4&#8217;\u00fcn varsay\u0131lan <code>Gruntfile.js<\/code>&#8216;si genellikle Sass derleme, CSS birle\u015ftirme, JavaScript linting ve LiveReload gibi g\u00f6revleri i\u00e7erir.<br \/>\n    *   <strong>Sass Derleme:<\/strong> Grunt, <code>grunt-contrib-compass<\/code> eklentisi arac\u0131l\u0131\u011f\u0131yla Sass dosyalar\u0131n\u0131z\u0131 otomatik olarak CSS&#8217;e derler. <code>sass\/style.scss<\/code> ana Sass dosyan\u0131zd\u0131r ve t\u00fcm di\u011fer par\u00e7ac\u0131klar\u0131 (<code>_variables.scss<\/code>, <code>_layout.scss<\/code> vb.) <code>@import<\/code> eder.<br \/>\n    *   <strong>Watch G\u00f6revi:<\/strong> <code>grunt-contrib-watch<\/code> eklentisi, Sass dosyalar\u0131n\u0131zda bir de\u011fi\u015fiklik alg\u0131lad\u0131\u011f\u0131nda otomatik olarak Sass&#8217;\u0131 derler.<br \/>\n    *   <strong>LiveReload\/BrowserSync:<\/strong> Bu \u00f6zellik, kodunuzda yapt\u0131\u011f\u0131n\u0131z de\u011fi\u015fiklikleri taray\u0131c\u0131n\u0131z\u0131 yenilemeden an\u0131nda g\u00f6rmenizi sa\u011flar. VPS \u00fczerinde \u00e7al\u0131\u015f\u0131rken bu \u00f6zelli\u011fi kullanmak biraz daha fazla yap\u0131land\u0131rma gerektirir.<\/p>\n<h4>Geli\u015ftirme Sunucusunu Ba\u015flatma (Grunt Watch)<\/h4>\n<p>Alt teman\u0131z\u0131n dizininde <code>grunt<\/code> komutunu \u00e7al\u0131\u015ft\u0131r\u0131n:<\/p>\n<pre><code class=\"language-bash\">grunt<\/code><\/pre>\n<p>Bu komut, <code>Gruntfile.js<\/code>&#8216;de tan\u0131ml\u0131 varsay\u0131lan g\u00f6revleri (genellikle <code>watch<\/code> g\u00f6revi) ba\u015flat\u0131r. <code>watch<\/code> g\u00f6revi, Sass dosyalar\u0131n\u0131zda de\u011fi\u015fiklikleri izleyecek ve otomatik olarak derleyecektir.<\/p>\n<h4>VPS \u00dczerinde LiveReload\/BrowserSync Kullan\u0131m\u0131<\/h4>\n<p>VPS \u00fczerinde geli\u015ftirme yaparken, LiveReload veya BrowserSync&#8217;i yerel makinenizden eri\u015filebilir hale getirmeniz gerekir. Bu, SSH port y\u00f6nlendirme (port forwarding) ile yap\u0131l\u0131r.<\/p>\n<p>1.  <strong>Grunt\/BrowserSync Yap\u0131land\u0131rmas\u0131:<\/strong> <code>Gruntfile.js<\/code> dosyan\u0131zda BrowserSync veya LiveReload yap\u0131land\u0131rmas\u0131n\u0131, sunucunun t\u00fcm a\u011f aray\u00fczlerini dinleyecek \u015fekilde ayarlay\u0131n (<code>host: '0.0.0.0'<\/code> veya VPS&#8217;inizin genel IP adresi).<\/p>\n<pre><code class=\"language-javascript\">\/\/ Gruntfile.js i\u00e7inde BrowserSync \u00f6rne\u011fi\n    browserSync: {\n        dev: {\n            bsFiles: {\n                src : [\n                    'css\/*.css',\n                    'js\/*.js',\n                    '<em><\/em>\/*.tpl.php',\n                    '..\/..\/<em><\/em>\/*.tpl.php' \/\/ Drupal'\u0131n di\u011fer TPL dosyalar\u0131n\u0131 da izle\n                ]\n            },\n            options: {\n                watchTask: true,\n                proxy: 'http:\/\/your_vps_ip_or_domain', \/\/ Drupal sitenizin adresi\n                open: false, \/\/ Taray\u0131c\u0131y\u0131 otomatik a\u00e7ma\n                host: '0.0.0.0' \/\/ T\u00fcm aray\u00fczleri dinle\n            }\n        }\n    }<\/code><\/pre>\n<p>2.  <strong>SSH Port Y\u00f6nlendirme:<\/strong> Yerel makinenizden VPS&#8217;e ba\u011flan\u0131rken, BrowserSync&#8217;in kulland\u0131\u011f\u0131 portu (genellikle 3000 veya 3001) yerel makinenize y\u00f6nlendirin.<\/p>\n<pre><code class=\"language-bash\">ssh -L 3000:localhost:3000 kullan\u0131c\u0131ad\u0131@vps_ip_adresi<\/code><\/pre>\n<p>    Bu komut, VPS&#8217;teki 3000 numaral\u0131 portu yerel makinenizin 3000 numaral\u0131 portuna y\u00f6nlendirir.<br \/>\n3.  <strong>Taray\u0131c\u0131 Eri\u015fimi:<\/strong> Grunt ve BrowserSync VPS&#8217;inizde \u00e7al\u0131\u015f\u0131rken, yerel taray\u0131c\u0131n\u0131zdan <code>http:\/\/localhost:3000<\/code> adresine giderek sitenizi LiveReload \u00f6zelli\u011fiyle birlikte g\u00f6rebilirsiniz.<\/p>\n<h3>Alt Temay\u0131 \u00d6zelle\u015ftirme<\/h3>\n<p>Art\u0131k alt teman\u0131z haz\u0131r ve geli\u015ftirme ortam\u0131n\u0131z kuruldu. \u015eimdi teman\u0131z\u0131 kendi ihtiya\u00e7lar\u0131n\u0131za g\u00f6re \u00f6zelle\u015ftirmeye ba\u015flayabilirsiniz.<\/p>\n<h4>Sass ile Stil Belirleme<\/h4>\n<p><code>sass\/<\/code> dizini, teman\u0131z\u0131n t\u00fcm stil tan\u0131mlamalar\u0131n\u0131 i\u00e7erir.<br \/>\n*   <strong><code>sass\/style.scss<\/code><\/strong>: Bu, teman\u0131z\u0131n ana Sass dosyas\u0131d\u0131r. Di\u011fer t\u00fcm Sass par\u00e7ac\u0131klar\u0131n\u0131 (<code>_variables.scss<\/code>, <code>_layout.scss<\/code> vb.) <code>@import<\/code> ederek tek bir CSS dosyas\u0131 olu\u015fturur.<br \/>\n*   <strong><code>_variables.scss<\/code><\/strong>: Renkler, fontlar, boyutlar gibi t\u00fcm global de\u011fi\u015fkenleri burada tan\u0131mlay\u0131n. Bu, tutarl\u0131 bir tasar\u0131m dili olu\u015fturman\u0131za yard\u0131mc\u0131 olur.<br \/>\n*   <strong><code>_layout.scss<\/code><\/strong>: Teman\u0131z\u0131n genel d\u00fczenini, grid sistemini ve ana yap\u0131sal stillerini burada tan\u0131mlay\u0131n. Omega&#8217;n\u0131n grid s\u0131n\u0131flar\u0131n\u0131 (<code>grid-12<\/code>, <code>alpha<\/code>, <code>omega<\/code> gibi) kullanarak responsive d\u00fczenler olu\u015fturabilirsiniz.<br \/>\n*   <strong><code>_custom.scss<\/code><\/strong>: Kendi \u00f6zel stil kurallar\u0131n\u0131z\u0131 ve bile\u015fenlerinizi burada ekleyebilirsiniz.<br \/>\n<em>   <strong>Media Queries:<\/strong> Omega 4, responsive tasar\u0131m i\u00e7in varsay\u0131lan medya sorgular\u0131 sunar. <code>sass\/responsive-<\/em>.scss<\/code> dosyalar\u0131n\u0131 kullanarak farkl\u0131 ekran boyutlar\u0131 i\u00e7in \u00f6zelle\u015ftirmeler yapabilirsiniz. \u00d6rne\u011fin:<\/p>\n<pre><code class=\"language-scss\">\/\/ sass\/_custom.scss i\u00e7inde\n    .region-content {\n        padding: 20px;\n\n        @media #{$narrow} { \/\/ Omega'n\u0131n narrow breakpoint'i\n            padding: 10px;\n        }\n    }<\/code><\/pre>\n<p>Sass dosyalar\u0131n\u0131z\u0131 d\u00fczenledi\u011finizde, Grunt <code>watch<\/code> g\u00f6revi otomatik olarak bunlar\u0131 derleyecek ve <code>css\/style.css<\/code> dosyas\u0131n\u0131 g\u00fcncelleyecektir. LiveReload sayesinde taray\u0131c\u0131n\u0131zda an\u0131nda de\u011fi\u015fiklikleri g\u00f6receksiniz.<\/p>\n<h4>JavaScript Ekleme<\/h4>\n<p><code>js\/<\/code> dizini, \u00f6zel JavaScript dosyalar\u0131n\u0131z i\u00e7in ayr\u0131lm\u0131\u015ft\u0131r.<br \/>\n*   <strong><code>alt_tema_adim.js<\/code><\/strong>: Bu dosyay\u0131 olu\u015fturarak veya d\u00fczenleyerek \u00f6zel JavaScript kodlar\u0131n\u0131z\u0131 ekleyebilirsiniz. Drupal&#8217;da JavaScript yazarken <code>Drupal.behaviors<\/code> yap\u0131s\u0131n\u0131 kullanmak en iyi uygulamad\u0131r:<\/p>\n<pre><code class=\"language-javascript\">\/\/ js\/alt_tema_adim.js\n    (function ($, Drupal, window, document, undefined) {\n      Drupal.behaviors.myCustomScript = {\n        attach: function (context, settings) {\n          \/\/ Bu kod, DOM haz\u0131r oldu\u011funda ve AJAX \u00e7a\u011fr\u0131lar\u0131ndan sonra \u00e7al\u0131\u015f\u0131r.\n          $('.my-element', context).once('my-custom-script').each(function () {\n            \/\/ Sadece bir kez \u00e7al\u0131\u015facak kod buraya.\n            $(this).on('click', function() {\n              alert('Elemente t\u0131kland\u0131!');\n            });\n          });\n        }\n      };\n    })(jQuery, Drupal, this, this.document);<\/code><\/pre>\n<p>*   <strong><code>alt_tema_adim.info<\/code> dosyas\u0131nda JS dosyas\u0131n\u0131 tan\u0131mlay\u0131n:<\/strong><\/p>\n<pre><code class=\"language-ini\">; alt_tema_adim.info\n    scripts[] = js\/alt_tema_adim.js<\/code><\/pre>\n<h4>\u015eablon Dosyalar\u0131n\u0131 Ge\u00e7ersiz K\u0131lma (Template Overrides)<\/h4>\n<p>Drupal, \u00e7ekirdek ve mod\u00fcl taraf\u0131ndan sa\u011flanan HTML \u00e7\u0131kt\u0131s\u0131n\u0131, tema i\u00e7inde <code>.tpl.php<\/code> dosyalar\u0131n\u0131 kullanarak ge\u00e7ersiz k\u0131lman\u0131za olanak tan\u0131r.<br \/>\n*   <strong><code>templates\/<\/code> dizini:<\/strong> Bu dizine, ge\u00e7ersiz k\u0131lmak istedi\u011finiz <code>.tpl.php<\/code> dosyalar\u0131n\u0131n kopyalar\u0131n\u0131 yerle\u015ftirin. \u00d6rne\u011fin, sayfa yap\u0131s\u0131n\u0131 de\u011fi\u015ftirmek i\u00e7in <code>page.tpl.php<\/code> dosyas\u0131n\u0131, d\u00fc\u011f\u00fcm g\u00f6r\u00fcn\u00fcm\u00fcn\u00fc de\u011fi\u015ftirmek i\u00e7in <code>node.tpl.php<\/code> dosyas\u0131n\u0131 kopyalay\u0131p d\u00fczenleyebilirsiniz.<br \/>\n*   <strong>\u00d6rnek:<\/strong> Drupal \u00e7ekirde\u011findeki <code>page.tpl.php<\/code> dosyas\u0131n\u0131 <code>templates\/page.tpl.php<\/code> olarak kopyalay\u0131n ve HTML yap\u0131s\u0131n\u0131 veya b\u00f6lgelerin yerle\u015fimini de\u011fi\u015ftirin.<br \/>\n*   <strong><code>template.php<\/code>:<\/strong> Bu dosya, teman\u0131z\u0131n PHP tabanl\u0131 mant\u0131\u011f\u0131n\u0131 i\u00e7erir. \u00d6n i\u015fleme kancalar\u0131 (preprocess hooks) kullanarak \u015fablon dosyalar\u0131na ge\u00e7meden \u00f6nce de\u011fi\u015fkenleri de\u011fi\u015ftirebilir veya yeni de\u011fi\u015fkenler ekleyebilirsiniz.<\/p>\n<pre><code class=\"language-php\">\/\/ template.php\n    function alt_tema_adim_preprocess_page(&$variables) {\n      \/\/ Sayfa \u015fablonuna \u00f6zel bir s\u0131n\u0131f ekle\n      $variables['classes_array'][] = 'my-custom-page-class';\n      \/\/ Yeni bir de\u011fi\u015fken tan\u0131mla\n      $variables['my_custom_variable'] = 'Merhaba D\u00fcnya!';\n    }<\/code><\/pre>\n<p>    <code>page.tpl.php<\/code> i\u00e7inde <code>$my_custom_variable<\/code>&#8216;\u0131 kullanabilirsiniz.<br \/>\n*   <strong>Tema \u00d6nbelle\u011fini Temizleme:<\/strong> Yeni \u015fablon dosyalar\u0131 veya <code>template.php<\/code> de\u011fi\u015fiklikleri yapt\u0131ktan sonra, Drupal&#8217;\u0131n tema \u00f6nbelle\u011fini temizlemeniz gerekir: <code>drush cc theme<\/code> veya y\u00f6netici aray\u00fcz\u00fcnden.<\/p>\n<h3>Da\u011f\u0131t\u0131m ve En \u0130yi Uygulamalar<\/h3>\n<p>Teman\u0131z\u0131 geli\u015ftirme ortam\u0131nda test edip tamamlad\u0131ktan sonra, \u00fcretim ortam\u0131na da\u011f\u0131tmak ve performans\u0131n\u0131 optimize etmek \u00f6nemlidir.<\/p>\n<h4>Performans Optimizasyonu<\/h4>\n<p>*   <strong>CSS\/JS Birle\u015ftirme ve S\u0131k\u0131\u015ft\u0131rma:<\/strong> Drupal&#8217;\u0131n kendi CSS\/JS birle\u015ftirme ve s\u0131k\u0131\u015ft\u0131rma \u00f6zelliklerini etkinle\u015ftirin (Y\u00f6netim -> Yap\u0131land\u0131rma -> Geli\u015ftirme -> Performans). Bu, HTTP istek say\u0131s\u0131n\u0131 azalt\u0131r ve dosya boyutlar\u0131n\u0131 k\u00fc\u00e7\u00fclt\u00fcr.<br \/>\n*   <strong>Sass \u00c7\u0131kt\u0131 Stili:<\/strong> <code>config.rb<\/code> dosyas\u0131nda <code>output_style = :compressed<\/code> olarak ayarlayarak Sass&#8217;\u0131n s\u0131k\u0131\u015ft\u0131r\u0131lm\u0131\u015f CSS \u00fcretmesini sa\u011flay\u0131n.<br \/>\n*   <strong>Resim Optimizasyonu:<\/strong> Teman\u0131zda kulland\u0131\u011f\u0131n\u0131z t\u00fcm resimlerin optimize edildi\u011finden emin olun (s\u0131k\u0131\u015ft\u0131rma, do\u011fru format).<br \/>\n*   <strong>Taray\u0131c\u0131 \u00d6nbellekleme:<\/strong> Sunucu seviyesinde (Apache\/Nginx) taray\u0131c\u0131 \u00f6nbellekleme kurallar\u0131 belirleyin.<br \/>\n*   <strong>Drupal \u00d6nbellekleme:<\/strong> Drupal&#8217;\u0131n t\u00fcm \u00f6nbellekleme mekanizmalar\u0131n\u0131 (sayfa \u00f6nbelle\u011fi, blok \u00f6nbelle\u011fi vb.) etkinle\u015ftirin.<br \/>\n*   <strong>Opcode \u00d6nbellekleme:<\/strong> PHP i\u00e7in OPcache gibi bir opcode \u00f6nbellekleyicisini etkinle\u015ftirin.<br \/>\n*   <strong>Harici \u00d6nbellekleme:<\/strong> Varnish, Redis gibi harici \u00f6nbellekleme \u00e7\u00f6z\u00fcmlerini de\u011ferlendirin.<\/p>\n<h4>S\u00fcr\u00fcm Kontrol\u00fc (Git)<\/h4>\n<p>Alt teman\u0131z\u0131n kodunu Git ile versiyonlamak, de\u011fi\u015fiklikleri takip etmek, i\u015fbirli\u011fi yapmak ve gerekti\u011finde eski s\u00fcr\u00fcmlere d\u00f6nmek i\u00e7in kritik \u00f6neme sahiptir.<br \/>\n1.  <strong>Alt tema dizininde Git deposu ba\u015flat\u0131n:<\/strong><\/p>\n<pre><code class=\"language-bash\">cd \/var\/www\/html\/drupal\/sites\/all\/themes\/alt_tema_adim\n    git init<\/code><\/pre>\n<p>2.  <strong><code>.gitignore<\/code> dosyas\u0131n\u0131 d\u00fczenleyin:<\/strong> <code>node_modules\/<\/code>, <code>css\/<\/code> (derlenmi\u015f CSS oldu\u011fu i\u00e7in), <code>.sass-cache\/<\/code> gibi dizinlerin Git taraf\u0131ndan izlenmemesini sa\u011flay\u0131n.<br \/>\n3.  <strong>De\u011fi\u015fiklikleri ekleyin ve commit edin:<\/strong><\/p>\n<pre><code class=\"language-bash\">git add .\n    git commit -m \"\u0130lk alt tema commit'i\"<\/code><\/pre>\n<p>4.  <strong>Uzak bir depoya (GitHub, GitLab, Bitbucket) g\u00f6nderin:<\/strong><\/p>\n<pre><code class=\"language-bash\">git remote add origin https:\/\/github.com\/kullaniciadi\/alt_tema_adim.git\n    git push -u origin master<\/code><\/pre>\n<h4>G\u00fcvenlik<\/h4>\n<p>*   <strong>Dosya \u0130zinleri:<\/strong> Drupal dosyalar\u0131 ve dizinleri i\u00e7in do\u011fru dosya izinlerini ayarlay\u0131n. Genellikle dosyalar i\u00e7in 644, dizinler i\u00e7in 755 izinleri \u00f6nerilir. <code>sites\/default\/files<\/code> dizini yaz\u0131labilir olmal\u0131d\u0131r (775 veya 777, ancak dikkatli olun).<br \/>\n*   <strong>G\u00fcncel Tutma:<\/strong> Drupal \u00e7ekirde\u011fini, mod\u00fcllerini ve Omega temel temas\u0131n\u0131 d\u00fczenli olarak g\u00fcncelleyin. Bu, g\u00fcvenlik a\u00e7\u0131klar\u0131n\u0131 kapat\u0131r ve yeni \u00f6zelliklerden yararlanman\u0131z\u0131 sa\u011flar.<\/p>\n<h3>S\u0131k Kar\u015f\u0131la\u015f\u0131lan Sorunlar ve \u00c7\u00f6z\u00fcmleri<\/h3>\n<p>Geli\u015ftirme s\u00fcrecinde baz\u0131 sorunlarla kar\u015f\u0131la\u015fabilirsiniz. \u0130\u015fte yayg\u0131n sorunlar ve olas\u0131 \u00e7\u00f6z\u00fcmleri:<\/p>\n<p>*   <strong>Dosya \u0130zinleri Hatas\u0131:<\/strong><br \/>\n    *   <strong>Sorun:<\/strong> <code>npm install<\/code> veya Grunt \u00e7al\u0131\u015f\u0131rken izin hatas\u0131 al\u0131yorsunuz.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong> <code>sudo<\/code> ile komutlar\u0131 \u00e7al\u0131\u015ft\u0131rmay\u0131 deneyin (<code>sudo npm install<\/code>, <code>sudo grunt<\/code>). Ancak, Node.js paketlerini global olarak kurarken <code>sudo<\/code> kullanmak bazen sorun yaratabilir. <code>nvm<\/code> kullanmak veya dosya sahipli\u011fini do\u011fru ayarlamak daha kal\u0131c\u0131 bir \u00e7\u00f6z\u00fcmd\u00fcr (<code>sudo chown -R kullan\u0131c\u0131:www-data \/var\/www\/html\/drupal<\/code>).<br \/>\n*   <strong>Sass Derleme Hatas\u0131:<\/strong><br \/>\n    *   <strong>Sorun:<\/strong> Sass dosyalar\u0131nda yapt\u0131\u011f\u0131n\u0131z de\u011fi\u015fiklikler CSS&#8217;e yans\u0131m\u0131yor veya <code>grunt<\/code> komutu hata veriyor.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong><br \/>\n        *   Sass s\u00f6zdizimini kontrol edin. K\u00fc\u00e7\u00fck bir yaz\u0131m hatas\u0131 bile derlemeyi durdurabilir.<br \/>\n        *   <code>config.rb<\/code> dosyas\u0131n\u0131n do\u011fru yap\u0131land\u0131r\u0131ld\u0131\u011f\u0131ndan emin olun.<br \/>\n        *   <code>compass<\/code> ve <code>grunt-cli<\/code>&#8216;nin do\u011fru y\u00fcklendi\u011finden emin olun (<code>compass -v<\/code>, <code>grunt -v<\/code>).<br \/>\n        *   <code>npm install<\/code> komutunu tekrar \u00e7al\u0131\u015ft\u0131r\u0131n.<br \/>\n*   <strong>Drush \u00c7al\u0131\u015fm\u0131yor:<\/strong><br \/>\n    *   <strong>Sorun:<\/strong> <code>drush<\/code> komutu bulunam\u0131yor veya hata veriyor.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong> Drush&#8217;\u0131n PATH&#8217;inize eklendi\u011finden emin olun. Genellikle Composer ile global olarak kurdu\u011funuzda <code>~\/.composer\/vendor\/bin<\/code> dizinine y\u00fcklenir. Bu dizini PATH&#8217;inize eklemeniz gerekebilir (<code>export PATH=\"$HOME\/.composer\/vendor\/bin:$PATH\"<\/code>).<br \/>\n*   <strong>LiveReload\/BrowserSync Ba\u011flant\u0131 Sorunu:<\/strong><br \/>\n    *   <strong>Sorun:<\/strong> Taray\u0131c\u0131n\u0131zda LiveReload \u00e7al\u0131\u015fm\u0131yor veya <code>http:\/\/localhost:3000<\/code> adresine eri\u015femiyorsunuz.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong><br \/>\n        *   SSH port y\u00f6nlendirmesini do\u011fru yapt\u0131\u011f\u0131n\u0131zdan emin olun (<code>ssh -L 3000:localhost:3000 ...<\/code>).<br \/>\n        *   <code>Gruntfile.js<\/code>&#8216;deki <code>proxy<\/code> ve <code>host<\/code> ayarlar\u0131n\u0131 kontrol edin. <code>proxy<\/code> Drupal sitenizin do\u011fru adresini i\u015faret etmeli, <code>host<\/code> ise <code>0.0.0.0<\/code> veya VPS&#8217;inizin IP&#8217;si olmal\u0131d\u0131r.<br \/>\n        *   VPS&#8217;nizin g\u00fcvenlik duvar\u0131n\u0131n (ufw) BrowserSync portunu (genellikle 3000 veya 3001) engellemedi\u011finden emin olun. Geli\u015ftirme s\u0131ras\u0131nda ge\u00e7ici olarak a\u00e7man\u0131z gerekebilir (<code>sudo ufw allow 3000\/tcp<\/code>).<br \/>\n*   <strong>Drupal \u00d6nbelle\u011fi:<\/strong><br \/>\n    *   <strong>Sorun:<\/strong> Yapt\u0131\u011f\u0131n\u0131z de\u011fi\u015fiklikler sitede g\u00f6r\u00fcnm\u00fcyor.<br \/>\n    *   <strong>\u00c7\u00f6z\u00fcm:<\/strong> \u00c7o\u011fu zaman bu, Drupal \u00f6nbelle\u011finden kaynaklan\u0131r. <code>drush cc all<\/code> komutuyla t\u00fcm \u00f6nbellekleri temizleyin.<\/p>\n<h3>Sonu\u00e7<\/h3>\n<p>Bu kapsaml\u0131 rehberde, Ubuntu VPS \u00fczerinde Drupal Omega 4 alt temas\u0131 olu\u015fturma s\u00fcrecini ad\u0131m ad\u0131m inceledik. \u00d6n gereksinimlerin haz\u0131rlanmas\u0131ndan ba\u015flayarak, temel Omega temas\u0131n\u0131n kurulumuna, Drush ile alt tema olu\u015fturmaya, Grunt ve Sass gibi modern geli\u015ftirme ara\u00e7lar\u0131n\u0131 yap\u0131land\u0131rmaya ve teman\u0131z\u0131 \u00f6zelle\u015ftirmeye kadar t\u00fcm a\u015famalar\u0131 detayland\u0131rd\u0131k. Ayr\u0131ca, VPS ortam\u0131nda LiveReload\/BrowserSync kullan\u0131m\u0131 gibi spesifik konulara ve s\u0131k kar\u015f\u0131la\u015f\u0131lan sorunlar\u0131n \u00e7\u00f6z\u00fcmlerine de de\u011findik.<\/p>\n<p>Omega 4, sundu\u011fu esneklik ve geli\u015ftirici dostu \u00f6zelliklerle Drupal 7 i\u00e7in g\u00fc\u00e7l\u00fc ve responsive temalar olu\u015fturmak isteyen herkes i\u00e7in m\u00fckemmel bir temeldir. Bir alt tema kullanarak, Drupal veya Omega temel temas\u0131 g\u00fcncellendi\u011finde bile \u00f6zelle\u015ftirmelerinizin g\u00fcvende kalmas\u0131n\u0131 sa\u011flars\u0131n\u0131z. Ubuntu VPS ise, geli\u015ftirme ve \u00fcretim ortamlar\u0131n\u0131z \u00fczerinde tam kontrol sa\u011flayarak projenizin ihtiya\u00e7lar\u0131na g\u00f6re \u00f6l\u00e7eklenebilirlik ve performans optimizasyonu yapman\u0131za olanak tan\u0131r.<\/p>\n<p>Art\u0131k elinizde, kendi Drupal siteniz i\u00e7in benzersiz ve modern bir kullan\u0131c\u0131 deneyimi yaratmak \u00fczere sa\u011flam bir temel var. Bu bilgileri kullanarak, web sitenizin g\u00f6rsel kimli\u011fini tamamen kendi vizyonunuza g\u00f6re \u015fekillendirebilir, responsive ve performansl\u0131 bir tema geli\u015ftirebilirsiniz. Unutmay\u0131n, temalama s\u00fcrekli bir \u00f6\u011frenme ve uygulama s\u00fcrecidir. Bu rehberdeki ad\u0131mlar\u0131 takip ederek ve kendi denemelerinizi yaparak Drupal temalama konusundaki becerilerinizi daha da geli\u015ftireceksiniz. Ba\u015far\u0131lar dileriz!<\/body><\/p>\n","protected":false},"excerpt":{"rendered":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi\nGiri\u015f: Drupal Temalar\u0131 ve Omega 4&#8217;\u00fcn G\u00fcc\u00fc\nDrupal, g\u00fc\u00e7l\u00fc ve esnek bir i\u00e7e","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_page_header_type":"","csco_page_load_nextpost":"","csco_page_subscribe_form":"","csco_page_contact_form":"","footnotes":""},"categories":[1468],"tags":[],"class_list":{"0":"post-31581","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-ubuntu","7":"cs-entry","8":"cs-video-wrap"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.5 (Yoast SEO v25.3.1) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi - Kodlar\u0131n Gizemli D\u00fcnyas\u0131<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/\" \/>\n<meta property=\"og:locale\" content=\"tr_TR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi\" \/>\n<meta property=\"og:description\" content=\"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi Giri\u015f: Drupal Temalar\u0131 ve Omega 4&#039;\u00fcn G\u00fcc\u00fc Drupal, g\u00fc\u00e7l\u00fc ve esnek bir i\u00e7e\" \/>\n<meta property=\"og:url\" content=\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/\" \/>\n<meta property=\"og:site_name\" content=\"Kodlar\u0131n Gizemli D\u00fcnyas\u0131\" \/>\n<meta property=\"article:published_time\" content=\"2025-10-11T10:41:14+00:00\" \/>\n<meta name=\"author\" content=\"Fatih Soysal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Yazan:\" \/>\n\t<meta name=\"twitter:data1\" content=\"Fatih Soysal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tahmini okuma s\u00fcresi\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 dakika\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/\"},\"author\":{\"name\":\"Fatih Soysal\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"headline\":\"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi\",\"datePublished\":\"2025-10-11T10:41:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/\"},\"wordCount\":2990,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"articleSection\":[\"Ubuntu\"],\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#respond\"]}],\"copyrightYear\":\"2025\",\"copyrightHolder\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/\",\"name\":\"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi - Kodlar\u0131n Gizemli D\u00fcnyas\u0131\",\"isPartOf\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\"},\"datePublished\":\"2025-10-11T10:41:14+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#breadcrumb\"},\"inLanguage\":\"tr\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Anasayfa\",\"item\":\"https:\/\/fatihsoysal.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#website\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/\",\"name\":\"Fatihsoysal.com\",\"description\":\"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim\",\"publisher\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"tr\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1\",\"name\":\"Fatih Soysal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"tr\",\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"contentUrl\":\"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png\",\"width\":512,\"height\":512,\"caption\":\"Fatih Soysal\"},\"logo\":{\"@id\":\"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/\"},\"description\":\"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.\",\"url\":\"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/","og_locale":"tr_TR","og_type":"article","og_title":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi","og_description":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi Giri\u015f: Drupal Temalar\u0131 ve Omega 4'\u00fcn G\u00fcc\u00fc Drupal, g\u00fc\u00e7l\u00fc ve esnek bir i\u00e7e","og_url":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/","og_site_name":"Kodlar\u0131n Gizemli D\u00fcnyas\u0131","article_published_time":"2025-10-11T10:41:14+00:00","author":"Fatih Soysal","twitter_card":"summary_large_image","twitter_misc":{"Yazan:":"Fatih Soysal","Tahmini okuma s\u00fcresi":"18 dakika"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#article","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/"},"author":{"name":"Fatih Soysal","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"headline":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi","datePublished":"2025-10-11T10:41:14+00:00","mainEntityOfPage":{"@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/"},"wordCount":2990,"commentCount":0,"publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"articleSection":["Ubuntu"],"inLanguage":"tr","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#respond"]}],"copyrightYear":"2025","copyrightHolder":{"@id":"https:\/\/fatihsoysal.com\/blog\/#organization"}},{"@type":"WebPage","@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/","url":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/","name":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi - Kodlar\u0131n Gizemli D\u00fcnyas\u0131","isPartOf":{"@id":"https:\/\/fatihsoysal.com\/blog\/#website"},"datePublished":"2025-10-11T10:41:14+00:00","breadcrumb":{"@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#breadcrumb"},"inLanguage":"tr","potentialAction":[{"@type":"ReadAction","target":["https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/fatihsoysal.com\/blog\/ubuntu-vps-uzerinde-drupal-omega-4-alt-temasi-olusturma-rehberi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Anasayfa","item":"https:\/\/fatihsoysal.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Ubuntu VPS \u00dczerinde Drupal Omega 4 Alt Temas\u0131 Olu\u015fturma Rehberi"}]},{"@type":"WebSite","@id":"https:\/\/fatihsoysal.com\/blog\/#website","url":"https:\/\/fatihsoysal.com\/blog\/","name":"Fatihsoysal.com","description":"Blog - Yaz\u0131l\u0131m D\u00fcnyas\u0131 Tecr\u00fcbelerim","publisher":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/fatihsoysal.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"tr"},{"@type":["Person","Organization"],"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/002a254750921dcfd568a99e48240dd1","name":"Fatih Soysal","image":{"@type":"ImageObject","inLanguage":"tr","@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","contentUrl":"https:\/\/fatihsoysal.com\/blog\/wp-content\/uploads\/2024\/04\/cropped-replicate-prediction-3kgg1hgjn5rgp0cf0p5tr0jw7w-1.png","width":512,"height":512,"caption":"Fatih Soysal"},"logo":{"@id":"https:\/\/fatihsoysal.com\/blog\/#\/schema\/person\/image\/"},"description":"Kullan\u0131m ve kodlama m\u00fckemmeliyetini odak alan uygulamalar olu\u015fturma deneyimine sahip, profesyonel olarak 15+ y\u0131l \u00fczeri deneyime sahip bir yaz\u0131l\u0131m m\u00fchendisi.","url":"https:\/\/fatihsoysal.com\/blog\/author\/fatihsoysal\/"}]}},"yoast_meta":{"yoast_wpseo_title":"","yoast_wpseo_metadesc":"","yoast_wpseo_canonical":""},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/31581","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/comments?post=31581"}],"version-history":[{"count":1,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/31581\/revisions"}],"predecessor-version":[{"id":31582,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/posts\/31581\/revisions\/31582"}],"wp:attachment":[{"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/media?parent=31581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/categories?post=31581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fatihsoysal.com\/blog\/wp-json\/wp\/v2\/tags?post=31581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}