You need to sign in to do that
Don't have an account?
Must all Visualforce pages render correctly in a Site?
Hi,
I have a test site with different Visualforce pages and some standard (FileNotFound, SiteRegister) and simple pages (just labels).
The standard and simple pages work fine, but my Visualforce pages do not render correctly.
These render like this:
���<�c�e�n�t�e�r�>� � � � � �<�t�a�b�l�e� �b�o�r�d�e�r�=�"�0�"� �w�i�d�t�h�=�9�0�%�>� � � � � � � � � �<�t�r�>�<�t�d� �v�a�l�i�g�n�=�t�o�p�>� � � � � � � � �<�t�a�b�l�e�>� � � � � � � � �<�t�r�>�<�t�d� �c�l�a�s�s�=�"�Q�u�o�t�e�H�e�a�d�e�r�L�a�b�e�l�"� �n�o�w�r�a�p�>�<�b�>����� �:�<�/�b�>�<�/�t�d�>�<�t�d�
The documentation says:
Creating a Force.com Site
To create a basic Force.com Site, you need to follow the following four steps:
- Register a domain name
- Create a Force.com Site using the domain name
- Assign Visualforce pages to the Site
There must be some restrictions/limitations for the Visualforce pages, which I don't know.
Where can I find this information?
Thanks,
Jan
When you associate your site with a portal then we pick the look and feel from portal setup
If so then you might want to change the site user languageYour portal has a custom footer html file. I think that’s causing the issue. Either the file is corrupt or in a different language
Site details> public access settings> view users> edit> change language>save
All Answers
Here is a simple testpage, that doesn't render correctly:
This is just a simple page, the other pages are partly generated with Javascript.
I am building a spreadsheet-like console application, where I try to do a lot of things in a special way.
I first thaught that this was maybe the reason for the errors, but when even this simple page gives the same errors, than the reason must be something more general.
All pages (also the js-generated) work perfect in the Visualforce development environment, but they dont work in a Site.
For the moment I develop in the Force.com online environment and I use Firefox as the browser.
When you associate your site with a portal then we pick the look and feel from portal setup
If so then you might want to change the site user languageYour portal has a custom footer html file. I think that’s causing the issue. Either the file is corrupt or in a different language
Site details> public access settings> view users> edit> change language>save
Thanks Bulent, for the quick response.
I will read the Sites documentation now first ...