CROOGO creating our own theme


First Install croogo from croogo website and untar it in webroot(/var/www) and rename it

as croogo or name it as your wish.

give full permission to /app/tmp and /app/config .

Now enter http://localhost/croogo/ in browser

click install and it will prompt a window . Enter your username , password and database

name.

And then install files . Now it will show admin page . Default username is “admin” and

password is “password” .

This is default theme of croogo by –

This layout folder will be in /app/views/layouts/default.ctp

Now how to create our own theme and going to overide our old layout file.

create directory (e.g mytheme) inside /app/views/themed

inside that create directory “layout” and “webroot”

inside layout create file default.ctp .

below is file structure

in file them.yml in webroot folder

name: Sample
description: Sample theme for Croogo
screenshot: screenshot.png

author: Author Name
authorEmail: author@email.com
authorUrl: http://authorswebsite.com

menus:
  - main
  - footer

regions:
  - left
  - right

vocabularies:
  - categories
  - tags


have your theme image in /mytheme/webroot/img .

after adding theme.yml file , don forget to select your theme .

go to admin page and  select your theme which you created when needed.

have your css file in /mytheme/webroot/css and include in default.ctp

enjoy in creating your layout in croogo cms . have tutorial for creating layout (default.ctp)

at  http://croogo.org/wiki/designers/themes/basic-layout .

Regards

sathia

Advertisements

About sathia

Web developer at cloudmint
This entry was posted in Uncategorized. Bookmark the permalink.

One Response to CROOGO creating our own theme

  1. Hi I need to know how to write helper/custom.php?.

    I like to know what are the helper functions available in Croogo CMS.
    Can you able to give me any url to study. I am very eager for your reply.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s