Drupal - block deleted - how to retrieve - drupal

We're running version 6.14 of Drupal (old, I know). On of our users recently deleted a block by accident in a series of rotating images. (Administer > site building > block). So now the block shows up as a blank, or "n/a".
She did manage to add another block in its place, but apparently that doesn't help - the n/a still displays. What is the solution to this problem?

The problem was that the new block the user created had a block number of "8", whereas the original block that was deleted had a number of "2". The fix was to go into custom themes for the homepage, edit page.tpl.php, and change the "module_invoke" to refer to the correct block.

Related

Block Theme Template parts - Why saving a part updates the other ones?

I was wondering what could be wrong with this...I am building some parts of "new" Full Site Editing and notice that when I am going to save one of its parts, on the sidebar it shows other parts to save/update.
In the example in the screenshot, I am just editing the navbar template part, but see the other things present to be altered, even if they are not available in this part to be edited. There is another model "Header", there is a page "Home" and seven reusable templates to be saved!
The issue with updating the whole site this way is that I don't know what is being changed.
Do you know any configuration which should be done not to this occur? Or is there any documentation that explains this new paradigm? Or is it a bug to be fixed anytime?
In fact, I did press the button one with all the checkboxes marked and some of the other template parts went away emptied (I gone nuts).
See in the second attachment that I could go back and retore previous state (thank goodness!)

wordpress - ALL pages

The columns for both posts and pages (in standard view) have shifted one to the right, so are not under the correct headers. See image.
So for example, the title is no longer under the title column and the author is no longer under the author column etc...
i believe it may have something to so with "manage_posts_columns", but dont know how to fix this nor what caused it.
How can the user correct this ?
Ok. So having removed all the plugins and re-install one-by-one it appears as though the Atomic Blocks - Gutenberg Blocks Collection plugin causes this error.
I have not looked into why, but disabling resolves.

Installing a new, custom theme has "broke" current Wordpress installation

I've just finished creating a new custom theme based on the underscores framework, and It's ended up breaking my current wordpress installation after applying it.
Although everything is running fine on the front end, the back end is running really weird.
The following issues have presented themselves:
Trying to add a new post (either regular, or one of the new custom post types I've defined) just results in a blank page. Although the post has been created, the admin section gets stuck on the wp-admin/post.php page.
My media library no longer shows up in the media browser. Although all 6,000+ images are still there, none show up.
When logged in, it takes ages for the page to load in the Wordpress admin bar, as it appears it can no longer display the site stats (it just shows the broken image icon after it's finally finished loading in, when the new theme is selected).
I've tried to refresh the permalinks, but this hasn't worked.
Any ideas? I was hoping to re-launch my website today, but it looks like I might have to put it on hold...
Get ahold of the devs for your framework. Your experience is not an uncommon one. It has happened to my sites several times. Unless you want to tweak the php yourself, they will have to help you.
Managed to sort this out. Turns out a function I had written to add a custom field to menu items broke the entire back end. Thanks for the help everyone!

Changes to Drupal blocks no longer taking effect

I have a D6 site that I've just stumbled upon the fact that my block positions are no longer being updated. I have a given block (a Views block) that works on older pages but not newer ones. I've tried creating new blocks and they do not show up either. Old blocks are where they should be an data through Views is still being populated correctly. My site is in a state of freeze as I cannot apply some blocks to new pages. For example, the products page does not get certain blocks on creation of new products but the old products work fine. Is there someplace I can view what is going on? I've tried clearing the site cache, turning it on / off to no avail. I did notice an odd appendage to the offending block link (I should note fresh blocks do not work either)
(Doesn't work correctly)
http://www.mysite.com/admin/build/block/configure/views/c0e4f6940320aed972444b51a879c490
(Newly created block, also not working)
http://www.mysite.com/admin/build/block/configure/block/12
please try to clear the cache first before taking any further steps

Drupal - saving created pages and page edits leads to an incorrect, blank page

Sorry if this is a bit vague...
I have a Drupal install (6.14), and when I now either create or edit a page I'm led to a blank screen once I hit 'save'. It seems to return you to a blank version of .../node/add/page (when creating a page), rather than taking you to the actual created node.
Also, I notice that when editing a page, the url contains extra elements, e.g. /node/151/edit?destination=admin%2Fcontent%2Fnode
, whereas I'm pretty sure before it used to be just: /node/151/edit
My other Drupal sites seem to be running fine, and I've attempted to disable recently added modules, run cron, cleared cache etc. to no effect. Incidentally, when I run cron manually it also returns a blank page.
Please, any ideas?
James
http://drupal.org/node/158043

Resources