Return-Path: X-Original-To: apmail-roller-user-archive@www.apache.org Delivered-To: apmail-roller-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D8C8810F19 for ; Mon, 2 Dec 2013 12:04:17 +0000 (UTC) Received: (qmail 97345 invoked by uid 500); 2 Dec 2013 12:04:17 -0000 Delivered-To: apmail-roller-user-archive@roller.apache.org Received: (qmail 97153 invoked by uid 500); 2 Dec 2013 12:04:14 -0000 Mailing-List: contact user-help@roller.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@roller.apache.org Delivered-To: mailing list user@roller.apache.org Received: (qmail 97145 invoked by uid 99); 2 Dec 2013 12:04:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 12:04:13 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glen.mazza@gmail.com designates 209.85.128.50 as permitted sender) Received: from [209.85.128.50] (HELO mail-qe0-f50.google.com) (209.85.128.50) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 12:04:05 +0000 Received: by mail-qe0-f50.google.com with SMTP id 1so10959320qec.37 for ; Mon, 02 Dec 2013 04:03:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=2zuH7uKzvNNfXlZcdwPV+7DWq9mN2h4tzSTBcEX65AY=; b=sdgnFSa982mOfgt4L//IpKlv88JMD9Ht2WZdSh3nvvnfS1JNkeBWAMWBiGwaUjhBVp uqltvZQX3hcB9+Jr28dNhcndCqN5cgRdKjV+S9ol3NLsFEV8jtAbKBAnE0dYmPCMaLRX Jrl/mLCiwndfsogKV5hw/RGztrz0ZiuD+dFEkqAn40VlLkpUTl7z6rIKkpWhE/DZRQ94 bldCAT7Fw2pAnjtABFMXeWZWWNfErP/2JliUVn57ZqJtWwosa0O9+mrKzK54E2Wn5XgJ AU/Yb/6+z6qTTn8CMcupiWnA3v3PjQOLa9r5SShEWit7xx6haITK66x1G8bdPJqEH/dK OocQ== X-Received: by 10.229.184.69 with SMTP id cj5mr12173798qcb.8.1385985825154; Mon, 02 Dec 2013 04:03:45 -0800 (PST) Received: from [192.168.1.44] (pool-74-96-49-113.washdc.east.verizon.net. [74.96.49.113]) by mx.google.com with ESMTPSA id n14sm44271721qav.8.2013.12.02.04.03.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Dec 2013 04:03:44 -0800 (PST) Message-ID: <529C7720.3000300@gmail.com> Date: Mon, 02 Dec 2013 07:03:44 -0500 From: Glen Mazza User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: user@roller.apache.org Subject: Re: Adding css, js in theme as resources References: <529C10F3.9060806@gmail.com> In-Reply-To: <529C10F3.9060806@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Perhaps a shortcoming in Roller right now, our template edit page allows alteration of items only in the top-level folder, so CSS and JS is placed there along with the velocity templates. Perhaps part of the reason we don't allow going to subfolders is to prevent users from editing binary images (which I assume why they're deliberately kept in subfolders.) Glen On 12/01/2013 11:47 PM, Gaurav wrote: > Hello, > > I noticed that the themes in roller have a uneven structure, as > images, icons are placed in specific folder as resources mentioned in > theme.xml. But the css and js files are not used as resources and > rather as velocity template. Is there any specific reason behind this ? > > Also, I have used css, js, images and font folders and have placed > specific files in these folders. Just the velocity files are placed in > root theme directory. This makes the directory structure looks good > and easy to understand and most important I have tested it and its > working fine. > > Thanks > Gaurav