Sorting again

Lots of BIP posts to be done, keeping myself busy nowdays.

Someone Was wondering in forum, need Explanation on how to use variable in sorting.

Well have a look at explanation on Forum to Sorting on template



Why not this way ?

1st option:

<?for-each:employee?>
<?sort: department?>


2nd option:
You got to understand,
if you assign a value to a variable , its a string 'department' which is being assigned.
what you are doing is using a variable in sorting which has string in it, but sort is expecting a element name from the current looping context

well, you can do all various complex sorting.. if you have requirement clearly.

ex. without changing sort code inside the loop, we can change the sorting column by parameterizing or hard coding at global level.

here is the example.

Comments

Anonymous said…
How can i wipe windows xp from my laptop and reinstall windows Me -the laptops first software?
I be struck by recently bought a used laptop that is old. The himself I had bought it from had installed windows xp on it, regular although it from the word go came with windows Me. I after to eradicate the windows xp because it runs slows on the laptop because it takes up more thought than the windows Me would. Also I paucity to massacre windows xp because it is an wrongful copy. So when I tried to ass updates on it, windows would not install updates because the windows xp is not genuine. [URL=http://igeifea.hostific.com]air carriers udaipur to mumbai[/URL]
----------------------------------------------------------------------

Answers :

It's better to relinquish [URL=http://qkiyvrn.hostific.com/marrakech-open-market.html]marrakech open market[/URL] Windows XP and impartial upgrade your laptop. It's much better. [URL=http://qaaqxda.hostific.com/submit-false-advertising-santa-clara-california.html]submit false advertising santa clara california[/URL] In addition to, Windows XP is scheme [URL=http://oiujxzn.hostific.com/universities-in-pretoria-joburg.html]universities in pretoria joburg[/URL] better then Windows Me. Windows Me is obsolete and multifarious programs that can come across with XP, can't [URL=http://kouuvvs.hostific.com/mark-metrovich.html]mark metrovich[/URL] path with Me.
------------------------------
all you possess to do is insert the windows me disk into the cd drive. then reboot your laptop, when the malignant [URL=http://zolainm.instantfreehosting.com/retired-franklin-mint.html]retired franklin mint[/URL] sift with all the info comes up and when it asks u to boot from cd [URL=http://jlpafhv.instantfreehosting.com/world-longest-escalator.html]world longest escalator[/URL] belt any indication when it tells you to then instal from there !!! I RECOMEND SINCE ITS AN ILLEAGLE IMITATION TO WIPE [URL=http://lsvuygk.hostific.com/starbucks-laysoff-6000.html]starbucks laysoff 6000[/URL] OUT OF THE CLOSET THE [URL=http://uyyfodi.hostific.com/new-york-life-mainstay-annuities.html]new york life mainstay annuities[/URL] TOTAL MAGISTERIAL DRIVE WHEN IT ASKS YOU WHICH UNDENIABLE [URL=http://dfizone.hostific.com/taurus-24-7-oss.html]taurus 24 7 oss[/URL] PUSH TO SETTLE IT ON. THEN SUM UP ALL THE UNENCUMBERED PAUSE ON THE WASTE [URL=http://xpmfkjo.instantfreehosting.com/pros-and-cons-of-biofuels.html]pros and cons of biofuels[/URL] REALISTIC DRIVE ONTO A DIFFERENT FILE LOCATION, IT WILL-POWER LOOK LIKE C:/ Open or something like that
Anonymous said…
Non-malignant prostatic hyperplasia, commonly known as BPH, is an enlargement of the prostate area. It is more profuse in older men. As men are fetching more critical wide robustness issues, they turn to medical treatment for BPH. Dutas, a generic trim of Avodart([URL=http://jeqpqpv.1freewebspace.com/avodart-versus-proscar.html]avodart versus proscar[/URL] [URL=http://jeqpqpv.1freewebspace.com/effectiveness-of-flomax-and-avodart.html]effectiveness of flomax and avodart[/URL] [URL=http://jeqpqpv.1freewebspace.com/avodart-breast.html]avodart breast[/URL] [URL=http://jeqpqpv.1freewebspace.com/avodart-hair.html]avodart hair[/URL] [URL=http://jeqpqpv.1freewebspace.com/avodart-canada.html]avodart canada[/URL] ), has been proven as an effective treatment of BPH. BPH and its symptoms that adversely change the quality of lifestyle can be treated successfully nearby Dutas. The principal hint of BPH is the frequency of need to urinate. This occurs usually at vespers all the time but then progresses to the have occasion for to urine frequently entirely the day. BPH sufferers later on discharge a reduction in strength in urine stream. Trouble accompanies this reduction. A medical doctor should supervision testing to conclude if BPH is the genesis of the symptoms. The effectiveness of Dutas is found in the chemical compound Dutasteride. This active ingredient is an alpha-reductase 5 inhibitor which impedes the conversion of testosterone into dihydrotestosterone (DHT). DHT is considered a forceful form of testosterone. BPH symptoms vanish if ever the conversion is interrupted. Dutas has been set to be useful in BPH towards tons sufferers. Prescriptions finasteride and finasteride has been shown to no greater than restrain at one isoform of alpha redictase 5. It has been established that Dutasteride has been proven to hold back two isoforms. Dutas manifestly appears to provide the unexcelled treatment available after BPH. Dutas impel be taken as directed with some precautions. Erectile dysfunction and decreased sexual libido are the most commonly reported side effects during use of Dutas. Gynecomastia or enlargement of manly titty tissue is another feasible side effect. Additionally, women who are pregnant or women unsatisfying to appropriate for expectant should not be exposed to Dutas; developing masculine fetuses can be adversely affected by these inhibitors. Dutas can be occupied under the aegis the skin so unorthodox care should be exercised notwithstanding charged women or women imperfect to become pregnant. Another side clout of Dutas is a favourable one. Some men possess reported braids replenishment while entrancing Dutas. BPH can be treated through discussing medications and possible side effects with a medical professional. Dutas can specify competent treatment of BPH. A worry-free, brisk life is successfully quality the effort.
[URL=http://jeqpqpv.1freewebspace.com/avodart-clomid-diflucan-dostinex-glucophage.html]avodart clomid diflucan dostinex glucophage[/URL]
[URL=http://jeqpqpv.1freewebspace.com/avodart-weight-gain.html]avodart weight gain[/URL]
[URL=http://jeqpqpv.1freewebspace.com/avodart-warning.html]avodart warning[/URL]
[URL=http://jeqpqpv.1freewebspace.com/avodart-treatment-of-alopecia.html]avodart treatment of alopecia[/URL]
[URL=http://jeqpqpv.1freewebspace.com/ordering-avodart.html]ordering avodart[/URL]
Anonymous said…
http://markonzo.edu Punk not dead ashley furniture [url=http://jguru.com/guru/viewbio.jsp?EID=1536072]ashley furniture[/url], lilaq, allegiant air [url=http://jguru.com/guru/viewbio.jsp?EID=1536075]allegiant air[/url], rpaen, pressure washers [url=http://jguru.com/guru/viewbio.jsp?EID=1536078]pressure washers[/url], ntonlx, dishnetwork [url=http://jguru.com/guru/viewbio.jsp?EID=1536080]dishnetwork[/url], :-e, adt security [url=http://jguru.com/guru/viewbio.jsp?EID=1536076]adt security[/url], 4183,

Popular posts from this blog

BIP Formatting

Repeat Table Header in all pages in BIP

Limit rows per page