Feature Requests item #839457, was opened at 2003-11-10 14:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=538277&aid=839457&group_id=73598
Category: Interface Improvements
Group: None
Status: Open
Priority: 5
Submitted By: Mike Roth (encastsolutions)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow each Class to use its own template
Initial Comment:
Allow each Class to use a custom template. I've added
this to my own set-up in the following manner:
On the Class Edit/Create page I inserted a box that
allows the user to specify a prefix for the custom
templates. (These templates will be used only if the
Use Custom Templates is checked in Settings). The user
must now create the appropriate template in the
following manner:
cust_view_full.tpl now becomes
PREFIX_cust_view_full.tpl and so on (where PREFIX is
the text entered on the edit page). If they want to use
just the generic cust_view templates, leave the default
of -1.
Files Affected: Listing.php, ListingClass.php,
edit_class.tpl and an additional field to
mod_listings_classes.
If you want the code, just let me know where to send it.
Regards,
Mike
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=538277&aid=839457&group_id=73598
|