Extend GUI

Vote:
 

Hi

I know it's possible to extend the EpiServer GUI and I have som questions.

I want to add a link in the top left corner of the page: "Sidor", "Webbplatser", "Aktiviter", "My new link". What is this area called?

I have a page with links to a couple of .aspx files. Can I open them in the area where you edit your pages and do your previews? with just simple postback calls, or do I need to do in some other new way like Dojo or JQuery?

Thanks.

 

 

#73127
Jul 08, 2013 10:00
Vote:
 

I would suggest looking at this blog from Linus about how to add a component to the left hand panel. http://world.episerver.com/Blogs/Linus-Ekstrom/Dates/2012/10/Creating-a-Dojo-based-component/

If you want your component to appear next to Pages, Sites, and Tasks then make the PlugInArea "/episerver/cms/mainnavigation/defaultgroup"

Then if you have some ASPX pages that you want to show in edit mode, then you can check out my blog post and look at the section about creating a view http://world.episerver.com/Blogs/Ben-McKernan/Dates/2012/12/Taking-control-of-the-EPiServer-7-user-interface/

#73152
Jul 08, 2013 16:42
Vote:
 

Cool. Managed to plug in the dynamic property control you build. Greeat plugin!

Is this the way we need to go to be able to handle dynamic properties in the future? not sure why EpiServer removed it from the GUI since it's a function many of us is using.

#73174
Jul 09, 2013 14:55
Vote:
 

Dynamic properties is actually available but it isn't super easy to find. If you are using EPiServer 7 (i.e not EPiServer 7.1 or newer) then you need to switch to forms mode then under the tools drop down button there is the dynamic properties option. If you have EPiServer 7.1 or newer then you can get to it from on page edit by scrolling up then going to tools like before.

Glad to here that the plugin worked though!

#73176
Jul 09, 2013 15:01
Vote:
 

Ah that "secret scrolling up" function they built. Discovered it yesterday but now I actuallt see the dynamic property function. Nice! But I like your one click function more!

Think I got it from here. Next I will try to implement my own page using "/episerver/cms/mainnavigation/defaultgroup".

Thanks for your help Ben!

#73178
Jul 09, 2013 15:19
Vote:
 

Ben, one more thing about the aspx page I just loaded on the edit page. I have old pages with postback calls that doesn't work correct. Do I need to rebuild this code into ajax calls or similar?

#73196
Jul 10, 2013 9:58
Vote:
 

The problem with postbacks can also be found in this Thread:

http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=73151&epslanguage=en

Unfortunately there is no reply to that yet.

#73199
Jul 10, 2013 10:07
Vote:
 

Hi

Loaded my aspx file into the edit area, the same way Ben did with the dynamic property page. Then I had no problem with postback.

Another problem thar happend to me when I published my code to our test server was that my GUI extension scripts didn't load at all. I compared the files locally and on the test server and all the files are there: module.config and all my script files. It works fine locally.

One thing I know differ is the version of some .dll files located in modulesbin catalog: EpiServer.Cms.Shell.UI,EPiServer.Shell, EPiServer.Packaging, EPiServer.Packaging.UI. They are version 1.0 and on my local machine it's 2.0. Not sure if it matters?

#73263
Edited, Jul 12, 2013 9:42
Vote:
 

The important part with the binaries in your modulesbin folder is their version numbers have to match the versions in the Modules and ModulesRepository folders in your VPP directory.

I would suggest that you update your test server either by the web interface or deploying and modulesbin in your web root plus modules and modulesrepository to your VPP

#73264
Jul 12, 2013 9:46
Vote:
 

There is a version change of dojo between those two versions. With that update the namespace for the cms package changed due to build requirements in dojo. Not sure if you are referencing anything in the cms package but if you are then that would cause it to break. Basically the package namespace for cms changes from epi/cms to epi-cms

See here http://world.episerver.com/Blogs/Ben-McKernan/Dates/2013/4/Changes-to-the-moduleconfig-for-EPiServer-71/

#73265
Jul 12, 2013 9:49
Vote:
 

Thanks, they do match, but it's an older version. I will do the update. Thanks for your quick answer!

#73266
Jul 12, 2013 9:49
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.