List Info

Thread: template different directory




template different directory
user name
2006-12-22 09:41:43
i don't see any error in the log.

i can see that the file is writen
dec 22 10:23:46 DEBUG [http-8080-Processor24]
admin.EditBlogTemplatesPlugin - Writing template file:
C:Program
FilesApache Software FoundationTomcat
5.5webappsblojsomWEB-INFblogsdefaulttemplatestesttes
t.vm

and the log also contains this line
dec 22 10:23:53 DEBUG [http-8080-Processor24]
admin.EditBlogFlavorsPlugin - Looking for templates in
directory:
C:Program FilesApache Software FoundationTomcat
5.5webappsblojsomWEB-INFblogsdefaulttemplates

I took a quick look at the code from the
EditBlogFlavorsPlugin. The
plugins lists the templates via a the File.listFiles()
method. The
java api about this method mentions nothing about traversing
through
the subdirectories, so maybe that is where the problem is.

Steven

On 12/21/06, David Czarnecki <davidblojsom.com> wrote:
> What error (if any) do you see in the log when you
select the template to be
> used?
>
>
> On 12/21/06 12:55 PM, "Steven Hulshof"
<chamaciegmail.com> wrote:
>
> > Hello,
> > i'd like to to change to flavor for .html to a
template created in a
> > subdiretory. I can see the template in
weblog_settings --> template as
> > /, but I cannot select this
template from the dropdown
> > menu for the value for "Blog template for
flavor" in weblog_settings
> > -->  flavors.
> > Is this not possible or should i register the
template also somewhere else?
> > With kind regards
> > Steven
> >
> >
------------------------------------------------------------
-------------
> > Take Surveys. Earn Cash. Influence the Future of
IT
> > Join SourceForge.net's Techsay panel and you'll
get the chance to share your
> > opinions on IT & business topics through brief
surveys - and earn cash
> > http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-userslists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
> --
> David Czarnecki
>
> http://www.blojsom.com/b
log/ | http://blojsom.sf.net
>
>
>
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
template different directory
user name
2006-12-22 15:16:48
Fixed for blojsom 3.1. Thanks for finding this.

<h
ttp://jira.blojsom.com/jira/browse/BLOJSOM-184>


On 12/22/06 4:41 AM, "Steven Hulshof"
<chamaciegmail.com> wrote:

> i don't see any error in the log.
> 
> i can see that the file is writen
> dec 22 10:23:46 DEBUG [http-8080-Processor24]
> admin.EditBlogTemplatesPlugin - Writing template file:
C:Program
> FilesApache Software FoundationTomcat
>
5.5webappsblojsomWEB-INFblogsdefaulttemplatestesttes
t.vm
> 
> and the log also contains this line
> dec 22 10:23:53 DEBUG [http-8080-Processor24]
> admin.EditBlogFlavorsPlugin - Looking for templates in
directory:
> C:Program FilesApache Software FoundationTomcat
> 5.5webappsblojsomWEB-INFblogsdefaulttemplates
> 
> I took a quick look at the code from the
EditBlogFlavorsPlugin. The
> plugins lists the templates via a the File.listFiles()
method. The
> java api about this method mentions nothing about
traversing through
> the subdirectories, so maybe that is where the problem
is.
> 
> Steven
> 
> On 12/21/06, David Czarnecki <davidblojsom.com> wrote:
>> What error (if any) do you see in the log when you
select the template to be
>> used?
>> 
>> 
>> On 12/21/06 12:55 PM, "Steven Hulshof"
<chamaciegmail.com> wrote:
>> 
>>> Hello,
>>> i'd like to to change to flavor for .html to a
template created in a
>>> subdiretory. I can see the template in
weblog_settings --> template as
>>> /, but I cannot select this
template from the dropdown
>>> menu for the value for "Blog template for
flavor" in weblog_settings
>>> -->  flavors.
>>> Is this not possible or should i register the
template also somewhere else?
>>> With kind regards
>>> Steven
>>> 
>>>
------------------------------------------------------------
-------------
>>> Take Surveys. Earn Cash. Influence the Future
of IT
>>> Join SourceForge.net's Techsay panel and you'll
get the chance to share your
>>> opinions on IT & business topics through
brief surveys - and earn cash
>>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Blojsom-users mailing list
>>> Blojsom-userslists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>> 
>> --
>> David Czarnecki
>> 
>> http://www.blojsom.com/b
log/ | http://blojsom.sf.net
>> 
>> 
>> 
>>
------------------------------------------------------------
-------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get
the chance to share your
>> opinions on IT & business topics through brief
surveys - and earn cash
>> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Blojsom-users mailing list
>> Blojsom-userslists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>> 
> 
>
------------------------------------------------------------
-------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the
chance to share your
> opinions on IT & business topics through brief
surveys - and earn cash
> http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

-- 
David Czarnecki

http://www.blojsom.com/b
log/ | http://blojsom.sf.net



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief surveys -
and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )