|
List Info
Thread: how to make a copy of TemplateOne and start development?
|
|
| how to make a copy of TemplateOne and
start development? |

|
2007-04-02 06:01:45 |
|
I had seen TemplateOne by clicking "index.html" under "/demopages/". It is almost the same layout I am looking for. Specially the horizontal navigation menu (sliding menu) and side-navigation menu. However, i do not want Top Links
i.e. " START PAGE | ALKACON SOFTWARE GMBH | OPENCMS.ORG | REFERENCE SITES | SOLUTION PROVIDERS"
Now, I am thinking instead of developing from scratch, why not to make a copy of TemplateOne with my own name, lets say, MyTemplateOne and start modifying it as per my requirements?
How can I do that? How can I make my own independent/isolated copy of TemplateOne. In particular, which folders i need to copy and where to paste them?
plz. help Viki
(an OpenCms newbie)
|
| Re: how to make a copy of TemplateOne
and start development? |
  Germany |
2007-04-03 03:20:13 |
When I first time saw templateone I thought, hey, that's
what I was
looking for. Let's go and copy it and we are almost done
Hah!
I was severely discouraged by an advisor I had at my side at
that time
who said: Don't use templateone. It is a gross JS hack.
So I abandoned that thought and built up my own structure
(with help
of the advisor at that time) consisting of a structure like
this:
/system/modules/org.myorg.frontend/classes
/system/modules/org.myorg.frontend/default_bodies
/system/modules/org.myorg.frontend/elements head.jsp
foot.jsp leftnav.jsp
/system/modules/org.myorg.frontend/pages search.jsp
login.jsp contact.jsp
/system/modules/org.myorg.frontend/resources
stylesheet.css
/system/modules/org.myorg.frontend/templates
myorgmain.jsp
and
/sites/myorg/index.html
/sites/myorg/galleries
/sites/myorg/downloads
/sites/myorg/de/index.html
/sites/myorg/de/start
/sites/myorg/de/about
/sites/myorg/de/contact
/sites/myorg/en/index.html
/sites/myorg/en/start
/sites/myorg/en/about
/sites/myorg/en/contact
etc. etc.
Hopes that gives a start.
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
On Mon, Apr 02, 2007 at 02:01:45PM +0300, Vikrama Sanjeeva
wrote:
> I had seen TemplateOne by clicking
"index.html" under "/demopages/". It is
> almost the same layout I am looking for. Specially the
horizontal navigation
> menu (sliding menu) and side-navigation menu. However,
i do not want Top
> Links i.e. " START PAGE | ALKACON SOFTWARE GMBH |
OPENCMS.ORG | REFERENCE
> SITES | SOLUTION PROVIDERS"
>
> Now, I am thinking instead of developing from scratch,
why not to make a
> copy of TemplateOne with my own name, lets say,
MyTemplateOne and start
> modifying it as per my requirements?
>
> How can I do that? How can I make my own
independent/isolated copy of
> TemplateOne. In particular, which folders i need to
copy and where to paste
> them?
>
> plz. help
> Viki
> (an OpenCms newbie)
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing
list
> To change your list options, or to unsubscribe from the
list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the
list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
|
|
| Re: how to make a copy of TemplateOne
and start development? |

|
2007-04-03 03:52:34 |
|
Hi Chris,
You are right. After making this post, I looked deeply into templatepone and then I got a feel to start with my own. Thanks for sharing your directory structure.
Well, as of now, I am trying a very simple test. I had created module and then created "
myTemplate.jsp":
/system/modules/com.my.test.modules.templates/templates/
myTemplate.jsp is divided into plain 3 sections, i.e header, body, footer. I'd colored them as well just to differentiate b/w 3 regions. Then i created "
Index.html" under "/sites/default" in location "myLocation". This is where I am right now.
What I am trying to achieve, is to create separate content JSP for header, body & footer, and then on clicking "
index.html", myTemplate.jsp should load along with the contents of header, body and footer jsp.
How can I do this later part? i.e. separating header, body n footer and linking
b/w index.html and myTemplate.jsp.
plz. help.
bye viki.
On 4/3/07, Christoph P. Kukulies < kuku physik.rwth-aachen.de">
kuku physik.rwth-aachen.de> wrote:When I first time saw templateone I thought, hey, that's what I was
looking for. Let's go and copy it and we are almost done 
Hah!
I was severely discouraged by an advisor I had at my side at that time who said: Don't use templateone. It is a gross JS hack.
So I abandoned that thought and built up my own structure (with help of the advisor at that time) consisting of a structure like this:
/system/modules/org.myorg.frontend/classes /system/modules/org.myorg.frontend/default_bodies
/system/modules/org.myorg.frontend/elements head.jsp foot.jsp leftnav.jsp /system/modules/org.myorg.frontend/pages search.jsp login.jsp contact.jsp /system/modules/org.myorg.frontend/resources stylesheet.css
/system/modules/org.myorg.frontend/templates myorgmain.jsp
and
/sites/myorg/index.html /sites/myorg/galleries /sites/myorg/downloads /sites/myorg/de/index.html /sites/myorg/de/start /sites/myorg/de/about
/sites/myorg/de/contact /sites/myorg/en/index.html /sites/myorg/en/start /sites/myorg/en/about /sites/myorg/en/contact
etc. etc.
Hopes that gives a start. -- Chris Christoph P. U. Kukulies kukulies (at)
rwth-aachen.de
On Mon, Apr 02, 2007 at 02:01:45PM +0300, Vikrama Sanjeeva wrote: > I had seen TemplateOne by clicking "index.html" under "/demopages/". It is
> almost the same layout I am looking for. Specially the horizontal navigation > menu (sliding menu) and side-navigation menu. However, i do not want Top > Links i.e. " START PAGE | ALKACON SOFTWARE GMBH |
OPENCMS.ORG | REFERENCE > SITES | SOLUTION PROVIDERS" > > Now, I am thinking instead of developing from scratch, why not to make a > copy of TemplateOne with my own name, lets say, MyTemplateOne and start
> modifying it as per my requirements? > > How can I do that? How can I make my own independent/isolated copy of > TemplateOne. In particular, which folders i need to copy and where to paste > them?
> > plz. help > Viki > (an OpenCms newbie)
> > _______________________________________________ > This mail is sent to you from the opencms-dev mailing list > To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________ This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev
|
| Re: how to make a copy of TemplateOne
and start development? |

|
2007-04-11 10:21:11 |
As a suggestion to Alkacon: I think you need to use a much
simpler
template as an example template (call it templatezero . The
complexity of templateone almost turned me away from using
OpenCms
when I first evaluated it.
Joe.
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the
list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev
|
|
[1-4]
|
|