Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Detailed pages in Dynamic mode

Quote Reply
Detailed pages in Dynamic mode
Hi,

If I change the build_detail_url to eg. <%Add_Date%> - would that work? (I am now on a live system so I can't just give it a go)

This is an all Dynamic site - so I am just curious as to how creative you can be with this location...

Cheers
Klaus

http://www.ameinfo.com
Quote Reply
Re: [klauslovgreen] Detailed pages in Dynamic mode In reply to
Not quite sure what you mean. Could you explain a bit more?

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Detailed pages in Dynamic mode In reply to
Hi Yogi,

I wanted a detailed page to be located at:

http://www.domain.com/<%Add_Date%>/<%ID%>.html

Is that possible or should the build dir be static?

Klaus

http://www.ameinfo.com
Quote Reply
Re: [klauslovgreen] Detailed pages in Dynamic mode In reply to
Hi Klaus

this is not possible out of the box.

However, you should be able to do this by adding some code to 'Plugins/PageBuilder.pm', around line 35:

Code:
$PAGEBUILDER_FIELDS = { link => { filename => [qw/LinkID/],
directory => [qw/LinkID Add_Date Full_Name CategoryID/] },
.........

Then, you will be able to use the 'Add_Date' field in the build filename.

I might make this an option in the next version (i.e. an option to manually add fields to the allowed fields).

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Detailed pages in Dynamic mode In reply to
Hi Yogi,

Thanks - I was however refering to generic Links - not the pagebuilder plugin.

Cheers
Klaus

http://www.ameinfo.com