Sitemap Showing Unstyled - any javascript experts or core team members out there?

Permalink
I am attempting to use a link that displays the sitemap, I have tried to use a page selector.

But every time I call the page(or file manager) I get an unstyled page see the attached image

The page is being loaded as an include file from within a block the block itself is a re-modelled slideshow block.

But I am now at a stage, where I am not sure what I am missing?

How it currently works, Select an Image, then within the new image block created use a page selector instead of the input box that comes with the default slideshow.

1 Attachment

TheRealSean
 
TheRealSean replied on at Permalink Reply
TheRealSean
is anyone able to help with this problem?,

It appears to be a big problem, with concrete5, that I continue to struggle with has ANYONE out there been able to get this to work is it even possible?

Or is this the reason the slideshow block only uses a text based link?

I am able to get this to work on a page edit so I assume its something to do with the javascript that is fired after I add an image but is not run when I edit the same block?
jstn128 replied on at Permalink Reply
I have been having this exact problem. My editors, who all use IE (about 30 of them) are seeing this behavior. They are laymen when it comes to web development and this seriously hinders their capabilities.

I have been trying to hunt this down but can't seem to find the problem.

The content editor block does work correctly (which is strange) and I have found that it calls the site map in this way in concrete/elements/editor_controls.php:

<a href="#" onclick="ccm_editorSitemapOverlay();">


Every other block type seems to use the FormPageSelectorHelper class like this:

$form = Loader::helper('form/page_selector');


found in concrete/helpers/form/page_selector.php

I can't seem to find the issue though.

Can anyone provide more information or possibly a fix?

Thanks all!
JohntheFish replied on at Permalink Reply
JohntheFish
I have seen a similar issue with IE only. Other browsers are OK.

While a fix would be great, IE is so bloated, slow and awful to use compared to Chrome or any other browser that your editors productivity would no doubt improve just by installing Chrome.
jstn128 replied on at Permalink Reply
I agree. However, I work for a government agency that keeps tight controll over what is installed on the workstations and I would have quite a battle on my hands to get any decent browser installed on my editors machines. I have every browser installed on my machine due to the nature of my job but the editors won't be allowed to have it. It sucks but it is what it is.

Thanks for the reply!
TheRealSean replied on at Permalink Reply
TheRealSean
I think my initial problem was due to a previous dialog call that was left bound to another link, (I use chrome)

I'll see if I can find a link to the solution that helped me.
TheRealSean replied on at Permalink Reply
TheRealSean
This came from the leaders area so you may not be able to see the thread but it boils down to Jordans answer
$('.dialog-launch').unbind();
$('.dialog-launch').dialog();


http://www.concrete5.org/developers/pro-accounts/community-leaders-...

this thread has more information in
http://www.concrete5.org/community/forums/customizing_c5/adding-pag...