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.
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
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
[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]