List Info

Thread: linking to a single entry (blojsom 2.30)




linking to a single entry (blojsom 2.30)
user name
2006-10-24 14:29:41
Thanks, David. This super-simple solution works perfectly.

Brett

On 10/24/2006 10:25 AM, David Czarnecki wrote:
> You can use the format of /category/post-title.html.
That should work.
> 
> 
> On 10/24/06 10:18 AM, "Brett Leber"
<blebercs.cmu.edu> wrote:
> 
>> On 7/19/2006 3:19 PM, David Czarnecki wrote:
>>> Why can't you just edit the template to insert
a link to the post? Pretty
>>> simple, unless I'm missing something.
>> Picking up on an old thread:
>>
>> A user of the blog modified a post and changed the
post's dated so that
>> it would appear higher on the home page. Changing
the date has broken
>> the link in the template because the link uses the
format
>> /category/year/mo/day/post-title.html This is why I
posed my initial
>> question: is there a way, in a template, insert a
link that won't break
>> due to changes in date?
>>
>> Is there a way to use
$BLOJSOM_PLUGIN_FETCHER_HELPER.fetchPermalink() to
>> accomplish this?
>>
>> Thanks,
>>
>> Brett
>>
>>> On 7/19/06 3:00 PM, "Brett Leber"
<bleber+cs.cmu.edu> wrote:
>>>
>>>> Hello blojsom users,
>>>>
>>>> I'm customizing blojsom 2.30 for the first
time, and I'd like to add a
>>>> static link in my template to a single blog
entry. I attempted to do
>>>> this using
$BLOJSOM_PLUGIN_FETCHER_HELPER.fetchPermalink(). I assign
>>>> this to variable $link, then use <a
href="$link.getLink()" to fill in
>>>> the URL.
>>>>
>>>> Is there a better way to do this? It seems
kind of cumbersome. I tried
>>>> searching for other methods to link to a
single post, but I can't find
>>>> anything else.
>>>>
>>>> Thanks,
>>>>
>>>> Brett

------------------------------------------------------------
-------------
Using Tomcat but need to do more? Need to support web
services, security?
Get stuff done quickly with pre-integrated technology to
make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/
sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
[1]

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