Hi,

I find that renaming any of the layout files to default.php and deleting the original results in a white mysite collection page.
Can you assist, please? I have done and re-done this.

I have tried a complete un-install and re-install of mysite.
I have deleted all collections of personal pages.

I can't find any similar issue in any posts

Thank you so much for a superb module. Your docs also are fantastic.

Comments

agentrickard’s picture

Sounds like a PHP caching issue. Not sure how to reproduce.

looklively’s picture

Thanks for your reply, agentrikard.

I have emptied the cache a few times.
Still the same tho.
The URL is correct but the page doesn't load at all.

Everything else seems fine, all other mysite pages working as they should.

If I rename one file eg columns.php to default.php, remove the original default.php,(also renaming .png images), and leave all the rest in place, 'Content Layout' node appears as it should with the remaining options available.
However, in the list of layouts the new default layout shows only a checked checkbox.
It does not display a name, an image or a description.
Is this a clue?
Clicking 'View' fails to load the page in the same way as explained before.

I appreciate that it is difficult for you to say ... but any suggestions are very welcome.

Thanks,
Rich.

agentrickard’s picture

Ah.

You cannot simply rename the layout _after_ you start using the module. You would have to rename all the functions inside the layout file as well.

In effect, the module is looking for theme_mysite_default_layout but not finding it.

This is either a documentation or implementation bug, but not likely to get fixed at this point.

agentrickard’s picture

Status: Active » Closed (won't fix)
looklively’s picture

That's got it.
I renamed the relevant functions as you suggested and she was good to go.

Thanks very much for the pointer.

If you like, I'll make an amendment to the README.txt for the layout plugins to reflect this and send it to you?

Cheers,
Rich.