You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@vcl.apache.org by momoh Ibrahim <mo...@gmail.com> on 2010/11/17 22:21:24 UTC

Customizing VCL default theme

>
> Hi all,
>
> I want to customize the default VCL theme to reflect the colour scheme of
> my school. How do i proceed? how do i write and integrate new css file?
>
> Thanks.
>
>
> --
> Respectfully,
>
> Ibrahim Momoh
>

Re: Customizing VCL default theme

Posted by Josh Thompson <jo...@ncsu.edu>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ibrahim,

If you want to modify the layout, you need to look in 
themes/default/page.php.  There are two functions in there that handle the 
theme part of the html - getHeader and getFooter.  All of the main content 
of VCL is displayed in an HTML element with the dom id of "content".  The 
getHeader function prints all html through the start of that dom element.  
The getFooter function handles closing the "content" dom element and any 
html after that.  Make sure you have a call to getNavMenu in getHeader to 
add in the navigation area of the site.

Josh

On Wednesday November 17, 2010, momoh Ibrahim wrote:
> Thanks Patrick, what if i want to change the layout structure?
> 
> On Wed, Nov 17, 2010 at 4:17 PM, James Patrick Sigmon 
<jp...@ncsu.edu>wrote:
> > Hey Ibrahim,
> > 
> > If you look in /var/www/html/vcl/themes/default/images/   you'll find 
the
> > images that are used on the webpage.  I usually just edit these in a
> > program such as photoshop.  If you want to change text colors and such,
> > look in /var/www/html/vcl/themes/default/css/vcl.css.
> > 
> > Hope this helps,
> > 
> > Patrick Sigmon
> > 
> > On Nov 17, 2010, at 4:21 PM, momoh Ibrahim wrote:
> >> Hi all,
> >> 
> >> I want to customize the default VCL theme to reflect the colour scheme
> >> of my school. How do i proceed? how do i write and integrate new css
> >> file?
> >> 
> >> Thanks.
> >> 
> >> 
> >> --
> >> Respectfully,
> >> 
> >> Ibrahim Momoh
- -- 
- -------------------------------
Josh Thompson
VCL Developer
North Carolina State University

my GPG/PGP key can be found at pgp.mit.edu
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)

iEYEARECAAYFAkzlL3UACgkQV/LQcNdtPQN3wgCfVpuEZagsh074FqE899JCpf8a
kzoAn2enws6ebhXq+pjg3U/bGRotI30G
=lMnr
-----END PGP SIGNATURE-----

Re: Customizing VCL default theme

Posted by momoh Ibrahim <mo...@gmail.com>.
Thanks.

On Wed, Nov 17, 2010 at 4:33 PM, James Patrick Sigmon <jp...@ncsu.edu>wrote:

> I've never actually changed the structure.  I would look around in the
> files in /var/www/html/vcl/themes/default/css/dojo.  Other than that, I'm
> afraid I'm not much help.
>
> -Patrick
>
> On Nov 17, 2010, at 5:19 PM, momoh Ibrahim wrote:
>
> Thanks Patrick, what if i want to change the layout structure?
>
> On Wed, Nov 17, 2010 at 4:17 PM, James Patrick Sigmon <jp...@ncsu.edu>wrote:
>
>> Hey Ibrahim,
>>
>> If you look in /var/www/html/vcl/themes/default/images/   you'll find the
>> images that are used on the webpage.  I usually just edit these in a program
>> such as photoshop.  If you want to change text colors and such, look
>> in /var/www/html/vcl/themes/default/css/vcl.css.
>>
>> Hope this helps,
>>
>> Patrick Sigmon
>>
>> On Nov 17, 2010, at 4:21 PM, momoh Ibrahim wrote:
>>
>>
>>
>>
>>>
>>> Hi all,
>>>
>>> I want to customize the default VCL theme to reflect the colour scheme of
>>> my school. How do i proceed? how do i write and integrate new css file?
>>>
>>> Thanks.
>>>
>>>
>>> --
>>> Respectfully,
>>>
>>> Ibrahim Momoh
>>>
>>
>>
>
>
> --
> Respectfully,
>
> Ibrahim Momoh
>
>
>


-- 
Respectfully,

Ibrahim Momoh

Re: Customizing VCL default theme

Posted by James Patrick Sigmon <jp...@ncsu.edu>.
I've never actually changed the structure.  I would look around in the files in /var/www/html/vcl/themes/default/css/dojo.  Other than that, I'm afraid I'm not much help.

-Patrick

On Nov 17, 2010, at 5:19 PM, momoh Ibrahim wrote:

> Thanks Patrick, what if i want to change the layout structure?
> 
> On Wed, Nov 17, 2010 at 4:17 PM, James Patrick Sigmon <jp...@ncsu.edu> wrote:
> Hey Ibrahim,
> 
> If you look in /var/www/html/vcl/themes/default/images/   you'll find the images that are used on the webpage.  I usually just edit these in a program such as photoshop.  If you want to change text colors and such, look in /var/www/html/vcl/themes/default/css/vcl.css.
> 
> Hope this helps,
> 
> Patrick Sigmon
> 
> On Nov 17, 2010, at 4:21 PM, momoh Ibrahim wrote:
> 
>> 
>> 
>> 
>> 
>> Hi all,
>> 
>> I want to customize the default VCL theme to reflect the colour scheme of my school. How do i proceed? how do i write and integrate new css file?
>> 
>> Thanks.
>> 
>> 
>> -- 
>> Respectfully,
>> 
>> Ibrahim Momoh
> 
> 
> 
> 
> -- 
> Respectfully,
> 
> Ibrahim Momoh
> 


Re: Customizing VCL default theme

Posted by momoh Ibrahim <mo...@gmail.com>.
Thanks Patrick, what if i want to change the layout structure?

On Wed, Nov 17, 2010 at 4:17 PM, James Patrick Sigmon <jp...@ncsu.edu>wrote:

> Hey Ibrahim,
>
> If you look in /var/www/html/vcl/themes/default/images/   you'll find the
> images that are used on the webpage.  I usually just edit these in a program
> such as photoshop.  If you want to change text colors and such, look
> in /var/www/html/vcl/themes/default/css/vcl.css.
>
> Hope this helps,
>
> Patrick Sigmon
>
> On Nov 17, 2010, at 4:21 PM, momoh Ibrahim wrote:
>
>
>
>
>>
>> Hi all,
>>
>> I want to customize the default VCL theme to reflect the colour scheme of
>> my school. How do i proceed? how do i write and integrate new css file?
>>
>> Thanks.
>>
>>
>> --
>> Respectfully,
>>
>> Ibrahim Momoh
>>
>
>


-- 
Respectfully,

Ibrahim Momoh

Re: Customizing VCL default theme

Posted by James Patrick Sigmon <jp...@ncsu.edu>.
Hey Ibrahim,

If you look in /var/www/html/vcl/themes/default/images/   you'll find the images that are used on the webpage.  I usually just edit these in a program such as photoshop.  If you want to change text colors and such, look in /var/www/html/vcl/themes/default/css/vcl.css.

Hope this helps,

Patrick Sigmon

On Nov 17, 2010, at 4:21 PM, momoh Ibrahim wrote:

> 
> 
> 
> 
> Hi all,
> 
> I want to customize the default VCL theme to reflect the colour scheme of my school. How do i proceed? how do i write and integrate new css file?
> 
> Thanks.
> 
> 
> -- 
> Respectfully,
> 
> Ibrahim Momoh