• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Session Variables List

New Here ,
Apr 25, 2024 Apr 25, 2024

Copy link to clipboard

Copied

Is there a way to reorder the list of session variables under the Bindings tab. They appear to be in the order in which there were created. I would like to see them alphabetized.

I see no option for that.  And I can't find a file that lists them in which I could manually rearrange them.

 

TOPICS
How to

Views

109

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 25, 2024 Apr 25, 2024

Copy link to clipboard

Copied

Unfortunately, there isn’t a direct option in Dreamweaver to reorder session variables alphabetically under the Bindings tab. However, you can manually organize them by editing the source code.

 

To manualy reorder

  1. locate the section of your code where session variables are instantiated
  2. create an array to hold the variables and sort it
  3. then use a loop to output the sorted session variables

 

Wappler, the only real Dreamweaver alternative.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 25, 2024 Apr 25, 2024

Copy link to clipboard

Copied

Also specify if you want them sorted in ascending or descending order.

https://www.w3schools.com/php/php_arrays_sort.asp

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 26, 2024 Apr 26, 2024

Copy link to clipboard

Copied

I was looking for a way to organize the list under the Bindings tab, so when I am selecting one from that list it is easier to find.  Apparently, that cannot be done.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 26, 2024 Apr 26, 2024

Copy link to clipboard

Copied

quote

I was looking for a way to organize the list under the Bindings tab, so when I am selecting one from that list it is easier to find.  Apparently, that cannot be done.


By @pabirds

 

Unfortunately not. And unfortunately the bindings are found with the server behaviors that have not been developed in longer than DW itself which is in minimal maintenance mode so future updates are very unlikely. Depending on your level of comfort with code you may want to consider a variety of alternatives.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 26, 2024 Apr 26, 2024

Copy link to clipboard

Copied

LATEST

I hope you're not using the deprecated Server-Behaviors panels in legacy Dreamweaver.  Those Server-Behaviors were removed for a reason.  The code isn't secure and connections may not work with the latest servers.

 

Commercial extensions are available for Dreameaver CC. 

- http://www.webassist.com/support/mysqli

- https://www.dmxzone.com/3/extensions/

 

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines