Since I have the need for a customized layout, and needed to turn of unneeded search options, I added the following code under view(full & small) as well as searchForm():
This allows me to layout the formelements in the respective templates individually by naming each elements seqentially ie., FORMELEMENTS0, FORMELEMENTS1, etc. based on the order in mod_listings_formelements.
I thought that this could be a feature of the class creation, something like Customized Layout: Y/N.
This feature was basically required by the project I am currently working on, so I added it. I know this is not a top priority for you, but I hope this helps and makes it into the product for 0.3.0,
HTH
Wendall
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Don,
Since I have the need for a customized layout, and needed to turn of unneeded search options, I added the following code under view(full & small) as well as searchForm():
$formelements = "";
for($i=0; $i<count($this->_formelements); $i++) {
if($this->_formelements[$i]->_class_id == $this->_class_id)
$formelements[$i] = $this->_formelements[$i]->renderFormElement(NULL);
}
for($i=0; $i<count($formelements); $i++) {
$element = "FORMELEMENT$i";
$tags[$element] = $formelements[$i];
}
This allows me to layout the formelements in the respective templates individually by naming each elements seqentially ie., FORMELEMENTS0, FORMELEMENTS1, etc. based on the order in mod_listings_formelements.
I thought that this could be a feature of the class creation, something like Customized Layout: Y/N.
This feature was basically required by the project I am currently working on, so I added it. I know this is not a top priority for you, but I hope this helps and makes it into the product for 0.3.0,
HTH
Wendall
Also just added this to the view(printable).
Sorry about the previous typos, tough to edit in this tiny little window. Needs a preview button, hehe.
Wendall
Great idea Wendall. This will be very valuable.