Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7922283
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:53:57+00:00 2026-06-03T16:53:57+00:00

Dotcms does have a nice template system based on velocity, but it seems like

  • 0

Dotcms does have a nice template system based on velocity, but it seems like it only support editing the velocity templates inline in the browser which kinda sucks. I really like to using Eclipse when writing velocity templates(Got some nice velocity support, and is a far better editor, then the standard browser text control).

Is there any way to edit the dotcms templates from Eclipse and then automatic import them into dotcms. Or do I really have to write them in Eclipse and then copy/paste each template into the browser each time i edit it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:53:58+00:00Added an answer on June 3, 2026 at 4:53 pm

    I agree that working in eclipse is way better than working in the browser. That is why I externalise all Velocity code and include those external files in my content. Using webdav you can mount the dotcms website browser to a windows drive letter. This way you can edit the files using other editors. I do it like this:

    1. Create a folder in the dotCMS Website Browser: /vtl
    2. Place all velocity in separate files in that folder: /vtl/filteredProducts.vtl
    3. In the content put a #dotparse instead of tyhe velocity code itself. #dotParse("/vtl/filteredProducts.vtl")
    4. All the files in dotCMS website browsers are available via webdav at the folowing location: http://www.yourdomain.com/webdav/autopub. make sure that the dotCMS user you log in as in webdav has access to those files (you could even create a seperate dotCMS role that only has access to those files and nothing else). Don’t use the default windows webdav client because irt doesn’t enable you to edit the files on the mounted drive. I use Netdrive, which is free for personal use. I also have heard good things about Gladinet. Install one of these and mount the webdav folder to a drive letter.

    Now you can edit the files in eclipse.

    There are a few gotcha’s:

    1. I have found webdav to be kinda slow, so what I actually do is keep a copy of the files on my local filesystem and edit those using eclipse (also good for svn/git stuff) and synchronise that with the webdav folder. I use Beyond Compare to do the synchronizing. It is not free, but 100% worth its money. No doubt there are free alternatives out there.
    2. Webdav does spooky things when the files get larger: they get scrambled. I don’t know why this is, but when files get large this can occur. It has not happened to my vtl files yet, but larger binary files do get mangled now and then.
    3. I believe you don’t have to use webdav, but I have not tried it myself. Velocity itself has a #parse function. Maybe you can use that to parse files directly from the server’s filesystem itself.

    Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I cannot figure out how to edit a menu in dotCMS. I have been
I have to develop a plugin for dotCMS. The problem is there is not
I'm searching for a free and open source document/content management system (web-based) to implement
How to get current year in dotCMS? I need to display it in footer
We are using dotCMS 1.7a and I am having difficulty getting the email addresses
can anyone tell me what are the steps, to use DotCMIS dll to view
In my company, we're a java developer team. For a project, we need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.