List Info

Thread: MonthlyArchive macro doesn't append a slash




MonthlyArchive macro doesn't append a slash
country flaguser name
United States
2007-03-01 14:24:52
I use the MonthlyArchive macro
(plugins/src/org/blojsom/plugin/velocity/page-macros.vm),
but the output it
generated, it doesn't append the slash at the BlogURL

#BlogURL()$year/#if($month < 10)$padding#end$month/
$BLOJSOM_CALENDAR.getMonthName($calMonth) $year 

Comparing to other macros, they append a slash after the
BlogURL()

Actually the blog-user-url is http://blog.
claudius.com.br/blog/claudio
without the slash
If I put the slash at the end, every link will have double
slash.

Does the MonthlyArchive need to append the slash ?
-- 
View this message in context: http://www.nabble.com
/MonthlyArchive-macro-doesn%27t-append-a-slash-tf3329420.htm
l#a9257687
Sent from the Blojsom - User mailing list archive at
Nabble.com.


------------------------------------------------------------
-------------
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

Re: MonthlyArchive macro doesn't append a slash
country flaguser name
United States
2007-03-01 14:56:24
Fixed in CVS.


On 3/1/07 3:24 PM, "Claudio Miranda"
<claudioclaudius.com.br> wrote:

> 
> I use the MonthlyArchive macro
>
(plugins/src/org/blojsom/plugin/velocity/page-macros.vm),
but the output it
> generated, it doesn't append the slash at the BlogURL
> 
> #BlogURL()$year/#if($month < 10)$padding#end$month/
> $BLOJSOM_CALENDAR.getMonthName($calMonth) $year
> 
> Comparing to other macros, they append a slash after
the BlogURL()
> 
> Actually the blog-user-url is http://blog.
claudius.com.br/blog/claudio
> without the slash
> If I put the slash at the end, every link will have
double slash.
> 
> Does the MonthlyArchive need to append the slash ?

-- 
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 )