[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] template_page


David wrote:
> FreeBSD 4.8
> IC 5.2
> MySQL
> 
> Hello all,
> 
> I've used the capability to use a custom item template before without a
> hitch though it doesn't seem to be working in a recently installed catalog.
> As with previous installed catalogs, I'm trying to use the 'PageSelectField
> template_page' capability in the item table to substitute a custom page
> instead of the default flypage.html for several items. I've added the
> template_page field to the table display:products UI and then specified
> 'aboutus' page (or whatevercustomflypage.html page) in the field. I applied
> changes and even restarted IC (though it shouldn't be necessary). Though
> when the item/product is clicked it still returns the default flypage.html. 
> 
> Maybe I'm missing something though I think I've covered all the bases. I
> looked at IC error.log and there is no indication of errors.
> 
> Any help would be appreciated. BTW, of course I Googled terms like
> "different page item interchange", "item flypage template interchange" and
> "item template_page" though no topics seemed to address a similar problem. 

Hi, David.

Sounds like you've got the basics. Remember that everything is case
sensitive. Put the page name relative to your pages directory.

Failing that, check your configuration to see if the directive is really
enabled by placing this on a page (hide it inside a comment if this is a
live catalog):

[perl]
return $Config->{PageSelectField};
[/perl]

And see what Interchange has for the current item (on the flypage):

[data table="products" name="template_page" key="[item-code]"]

That should narrow it down a bit.

JT
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.