Template POSTION not updating in PageExplorer after changed


I made an example template with 2 postions. I then deleted it and recreated a new TEMPLATE with 2 different postions. The problem is, in the page explorer it is still showing the previous POSTIONS, not the NEW ones that are located in the WEB.CONFIG. Are they being CACHED somewhere in Code or Memory?
Tommy Havens
Closed Jan 8, 2010 at 8:51 AM by rickardmagnusson
This issue is solved and closed.


xotj123 wrote Jan 7, 2010 at 2:44 PM

Alright, I figured it out now. Right there in the explanation :) Thanks Rickard for a well developed CMS.

<data name="pos_BOTTOM_Title" xml:space="preserve">
<data name="pos_CENTER_Title" xml:space="preserve">
<data name="pos_LEFT_Title" xml:space="preserve">
<data name="pos_RIGHT_Title" xml:space="preserve">
<data name="pos_TOP_Title" xml:space="preserve">

Tommy Havens

rickardmagnusson wrote Jan 7, 2010 at 2:52 PM

Hi Tommy, all sections have a Position value. If the previous value is LEFT and you change the template to RIGHT and this template don't have LEFT, it wont show. Sections that already exist have a position value, I guess you have to recreate them.
It could be as you metioned that the page or web.config is cached. But if you change something is web.config, the website would recompile it self and find the new values. The pageexplorer always reads Positions from web.config.
Do you run it locally or on a webserver?


rickardmagnusson wrote Jan 7, 2010 at 2:53 PM

He he you answer me as soon as I posted... LOL
You mean the positions in the resource classes......

rickardmagnusson wrote Jan 7, 2010 at 3:00 PM

I will also mention that adding your own positions is also a possibillity.
In Enumeration.cs "enum" class you can add your own Position
For eg:
As long as you add them into switch case in btnNewSection_Click in default.aspx.cs
You also need to add these to StringsResx files.

wrote Jan 8, 2010 at 8:51 AM

wrote Feb 13, 2013 at 6:52 PM

wrote May 15, 2013 at 3:26 AM