This topic is locked
[SOLVED]

 Changes in Editor that lock out Designer

11/4/2019 10:28:34 AM
ASPRunner.NET General questions
Pete K author

I discovered a quirk about working with the Editor and the Designer together. Apparently, once you make changes to the HTML in the Editor, any ensuing changes in the Designer do not get included in the build. The designer is effectively locked out for that page.
This has come up for me a couple of times. What I did was to copy and save my html in Notepad, reset the page in Editor, do a build to get the changes made in Designer, and then go back and change the HTML again. So save any HTML tweaking until you are finished in the Designer.
I understand this is an artifact of the sort of in-between state we are in now as we move completely away from the Editor but still need it to accomplish things not yet integrated into the Designer. I'm hoping a permanent solution is on the horizon. The ideal solution for me would be to integrate the CSS and html coding capabilities into the Designer.

admin 11/4/2019

Pete,
The Editor is for compatibility purposes mostly and editing HTML directly is highly not recommended.
Probably you can tell what kind of changes you need to make and we'll either suggest the way to do this or will speed up the integration of these features.

Pete K author 11/5/2019



Pete,
The Editor is for compatibility purposes mostly and editing HTML directly is highly not recommended.
Probably you can tell what kind of changes you need to make and we'll either suggest the way to do this or will speed up the integration of these features.



In this case, I was needing to delete the footer block from a particular page.

admin 11/5/2019

Use the following in BeforeDisplay event of the page in question:

xt.assign("footer", false);


More info:

https://xlinesoft.com/asprunnernet/docs/smarty_templates.htm

Pete K author 11/6/2019



Use the following in BeforeDisplay event of the page in question:

xt.assign("footer", false);


More info:

https://xlinesoft.co...y_templates.htm


Thanks, Sergey. I should have thought of that. <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=89383&image=1&table=forumreplies' class='bbc_emoticon' alt=';)' />