Edit Bar Missing for pages using Left_Sidebar page type

Permalink
I just upgraded to concrete5 Version 5.5.1, and no I am unable to edit certain pages. (I was able to edit all prior to the upgrade.) I am using the rigid light theme.

I also originally had my site at domain.com/concrete1 and then moved it to domain.com (not sure if this is needed information)

I was thinking that there was a block that I placed on these pages that was causing the issue but I can't think of any one block that I have on all the pages that I can't edit.

After a little more digging I realized that I used the same page type for all these pages. so I went to pages types and went to Left side bar (handle left_sidebar) and clicked Defaults to edit the defaults for that page.

After it was opened the edit Bar was there but the Edit button was missing.

Small Plug..... (It sure would be nice if there was an edit button for editing a page some where other than the page. It would be nice if you could navigate to FULL SITEMAP ==> Page name and do a left click, then EDIT PAGE")

I am trying to locate the location of the left_sidebar.php file that is having the issue. Is this stored with the theme I am using. keep in mind that I moved my site (again not sure if this matters)

root/themes (is empty)
root/concrete/themes (has a few themes but not the rigid theme
root/concrete1/themes (is empty)
root/concrete1/packages/rigidlight/themes/rigidlight (is not empty)

I typically only use work around by using scrapbook blocks when loading blocks, just in case the edit button goes away, that way I can go to the scrapbook block and edit the block that may be giving me issues or delete the block altogether. From here on out I will use stacks opposed to scrapbook blocks (seeing this is supposed to be the better way to handle blocks that are used over and over again though out a site).

Seems to be several left_sidebar.php files on my site, so I am not sure which is the one I need to fix.

I created a temporary page_type and I am currently searching for its location, and hope it would lead me to the location of the correct left_sidebar file.

Thanks for any help

Albin

 
milhealth replied on at Permalink Reply
milhealth
Hi Albin,

I'm having similar problems. I've been looking too for help. Here's a thread you probably have already seen, but in case you haven't:
http://www.concrete5.org/index.php?cID=277137&editmode=...
(Edit Bar Missing On Site) RE: code/php for previously customized themes.

Also, it was suggested to check if any of my add-ons were creating the conflict. (this isn't the case either), so I'm stuck. I'm probably going to have to 're-do' those pages, luckily it is only a few, and the new pages I add are ok.

Good luck!
Karen
Albin replied on at Permalink Reply
Karen,

Thanks for the link. I figured out that the left_sidebar.php file was missing from my Themes folder, which was the page type for each page that was giving me issues. I deleted all the pages that had left_sidebar.php as the page type (for me this was all the pages that had the missing edit bar button. Then I went to pages types and then went to the settings button for left sidebar, and then deleted (clicked delete on the settings page) that page type. (You will not be able to delete the page type if any of your current pages use that page type (so that is why I deleted all the pages with that page type)).

After deleting the left_sidebar page type, I then ftp'd into the packages/ and navigated to the rigid theme, and copied out right_sidebar.php, then renamed the copy to left_sidebar.php and then ftp'd it back to the rigid theme folder (I am not sure why it was missing, but again the problem happened after upgrading to concrete5.5.1) It could be that I never had it there, and the upgrade reset something that caused this. (I just know copying to this location fixed it)

I do not recall if left_sidebar automatically appeared back under page types at this point or if I had to use the "add a page type" I think I had to add it. (if it is not showing after doing the above then added)

I then went into the defaults and set up all the blocks, and stacks that I wanted to have on that page type. Also went to settings and clicked that proper icon for how I wanted the page to look.

Now when I added a new page and used the left_sidebar page type, I have no problems with the edit bar button. (or at least currently there are no problems.)

the above worked, but I am not saying this is the best way to fix this type problem. I do know that it worked, and seems to still be working, and I hope it is helpful to your and others.

If it is an add on or if you are embedding a facebook face pile or twitter link (or something similar), I would suggest that you first create a stack, and place the embed in the stack, then put it on the page/s. If you do your blocks this way, then when you have this problem again, you can go in and delete the offending stack / block. I had the edit button disappear on me before, and I deleted the offending stack, and the problem went away. (this time it was not a js issue but a page type issue)

Albin
milhealth replied on at Permalink Reply
milhealth
Hi Albin,
Thank you very much for the great info (everybody on the C5 community is really great!).
I figured you probably had seen the links but, I always think 'in case'. I know I have rec'd so much help/advice via forums, I like to see if I can help (although so many people, like yourself are far more 'skilled' than I am!

Your idea about the blocks makes a lot of sense. I had quite a few thinks saved in the old scrapbook, that are now on the clipboard...I should clean those off and create the new blocks as you've suggested.

Thanks again, I'll let you know if that was a 'go'. Good luck w/your site as well!
Karen
Albin replied on at Permalink Reply
Yes I receive a lot of help here at C5. There are a lot of smart C5'rs out there that are willing to help. I am still kind of new at it but learning from so many out there. Let me know how it goes.

Albin