Still Can't Add New Content Blocks

Permalink 1 user found helpful
I just updated to the newest version today hoping it would fix this issue, but it did not.
I'm using a custom theme and it was working great a couple of months ago, I had 3 pages built, then the ability to add a new CONTENT block quit working.

I can add an HTML block to the same area - no problem, and add my text there - but that wont help my client understand how to edit it without accidentally removing the html tags.
HELP!

1 Attachment

graphixstation
View Replies:
AndyJ replied on at Permalink Reply
hi, it sounds like a possible javascrpt issue: if you open the page in chrome and open a javascript console are there any clues there when you go to add a content block?

Are you overriding the content block st all: do you have a directory siteroot/blocks/content and if so are there any files in there?

Were changes made to your page templates when the new pages were added?
graphixstation replied on at Permalink Reply
graphixstation
Ok.. Yes, not sure and yes lol..

Yes.. when I opened it in Chrome and used the JS Console, it showed a 404 error message of a jquery-1.10.2.min.js file not found.

Not sure.. about the 'site root' folder thing.. if it's there, I didn't deliberately put it there and wouldnt know where to look to find it.

Yes.. I've probably more than likely made some edits to the page templates as I was trying to determine where to put predesigned block areas, then went back to edit them. Did that screw it up?

And How do I help it find the js file?
AndyJ replied on at Permalink Reply
hi,
do you have ftp access?
You really need to look at the full path to jquery and make sure the file is there.
However, the version of jquery you are getting the 404 error on doesn't sound like standard C5.

Do you receive the error on every page and every page type when you try to add a content block or is it only certain pages / pagetypes?
graphixstation replied on at Permalink Reply 1 Attachment
graphixstation
Yes, I have ftp access.

I looked at the custom theme folder where everything sits - the js folder is there along with the images, css, and all of the other template files and I've looked back at the page's code to see it's path (which I'll attach) to make sure I added the Concrete theme path.

And I'm not sure about the standard C5 Jquery (which might be the problem) - it was the original jquery I had used for the custom site before trying to rebuild it in Concrete, so I just copied everything over into the new theme folder.
graphixstation replied on at Permalink Reply
graphixstation
Oh and yes - I receive the error on every page.

There's only 3 pages to it right now,.. it's a test site I built to learn the cms before applying my client's site pages to it.
You can view it live here:http://www.graphixstation.com/DummyWebs/concrete5/...
graphixstation replied on at Permalink Reply 1 Attachment
graphixstation
Ok I've found how to fix one of the js errors - stupid me, I missed one of the lines of js code that I failed to add the Concrete theme path too.. fixed that one!

But It still shows I'm missing 2.. and I'm double checking again, but it seems everything else has the path code there and is in the file it's designated to.. *see attached screenshot
AndyJ replied on at Permalink Reply
the .min.map files shouldn't affect site rendering.

Are you including multiple versions of jquery into your page?
graphixstation replied on at Permalink Reply
graphixstation
Grrr yes.. could that be the conflict?

And to be honest, they could be doing the same thing - just titled different and I wouldnt really know (dont know js that well),.. They came with the 'packaged features' I got.

One is for the navigation (for drop down, mobile, touch screen options), one was for the slider on the home page, and another was just for "easing".. which, I can delete if all of these are conflicting.. I'm just not sure about the slider and nav..
I may not even need these in Concrete - again, they were just built in the original site I had done, so was merely copying everything over to the cms..
AndyJ replied on at Permalink Reply
tbh it's quite dificult to say without seeing the structure of the pages and the content in them. Also presumably you also have multiple other javascripts included that are using the various versions of jquery.

If it were me I'd start by commenting out the various different scripts and jquery calls until things start working. Of course if you have various functionality using these scripts it will stop working.

It is only the content block that is causing the problem right?
graphixstation replied on at Permalink Reply
graphixstation
Ooh sorry - I think I replied too many times ;) - my last response was.. removing one of the js links fixed it!!!! Everything works now!! Thank you sooo much for your time and help!! I was wracking my brain!
graphixstation replied on at Permalink Reply
graphixstation
The only "error" i get now after removing some stuff is still the .map js file?

And I refreshed my pages and tried to go back and add a new content block and it still hangs up and does the same thing.. nothing :(.
Is this because of my other js files blocking it?
graphixstation replied on at Permalink Reply 1 Attachment
graphixstation
This is the only error Chrome shows now.. see attached..
but it still doesnt work. :(

What's odd is everything worked PERFECT back in like, November.. and I took a break over the holidays.. came back to it and it all quit working like it used to?
I did do a couple of updates since tho too.. maybe something changed.???
graphixstation replied on at Permalink Reply
graphixstation
THAT WAS IT!!! I went ahead and just deleted done of the js links - that was in my HEADER.php file - so it was affecting EVERY PAGE.. and deleted that.. and it WORKS NOW!

Thank you thank you!!!
Ooh yes!