| CARVIEW |
I would REALLY love a true multi language solution. All current multi language solutions require a lot of work on the admin/template side of things.
If we take a look at Magento, which has a great multi language implementation, it allows you to create an entry (a product for example) for the ‘global scope’ and if your done, you can change the fields on a per language basis.
Take a look at magento’s implementation: https://demo-admin.magentocommerce.com/ login with admin/123123 and go to catalog -> manage products -> click a product -> Choose store view
How this would be implemented in EE:
Variable scope of fields:
Global - Site - Language
Global: The variabe is set for ALL the sites and languages (handy for global website settings, etc.)
Site: The variable is set for a specific website, this is how entries are implemented with the msm at the moment.
Language: This is of course the most drastic change, After we’ve created an entry we can update an entry for a specific language.
- For all the custom fields, we are able to set if a customfield is global, site or language specific.
- We have a language switcher on each ee-admin-page that allow us to change the scope where the variables are saved.
- The template’s almost don’t have to be changed at all, making it easy to add a language.
Additional we would need a {exp:translate=“Some english words”} plugin, but that one is already available, so no real need for it.
To create such a expansion yourself would be a big task, since it involves changing the admin panel on a lot of pages and making some core changes to the functionality of EE, but it would be a killer feature, greatly improving the value of the product and solving some annoying reoccurring problems when developing sites.
]]>I’ve set the site to offline and changed the offline template.
However, when I log out and go the URL I still get the default offline template displayed.
Any ideas why?
]]>I recently upgraded to ee 2.1 build 20100712 from ee 2.02. Since the upgrade the search functionality is no longer working properly for me.
I receive the following error messages for the majority of my search terms:
___________________________________
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: dynamic
Filename: search/mod.search.php
Line Number: 1187
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /codeigniter/system/core/Exceptions.php:166)
Filename: core/Common.php
Line Number: 428
Fatal error: ob_start() [ref.outcontrol]: Cannot use output buffering in output buffering display handlers in /codeigniter/system/core/Exceptions.php on line 162
_________________________________
When I saw the cannot modify header error, I thought maybe it was something in my template causing the issue. However, I stripped out everything from my template except for the search results code from the user’s guide and still received the error.
The weird thing is….there are certain search terms that work….but I can’t determine why some terms work and other do not. For example, searching for the term “prime” works fine but “prim” throws off the error.
I turned off Dynamic Caching to see if that would help, but I still receive the error.
Thanks!
]]>I hit a new roadblock.
As you can see, I have the subnav drawing from a category list > link in the navigation bar.
<li><a href="{path=about_us/}" class="parent"><span>About Us</span></a>
<div><ul>
{exp:weblog:categories weblog="about_us" class="catlist"}
<li><a href="{path=about_us/{category_url_title}}"><span>{category_name}</span></a></li>
{/exp:weblog:categories}
</ul></div></li>
Now… I’m stuck trying to do the following:
On subpages such as Board of Directors and Staff, I want to use a different template.
HOW?!?!? I’ve tried conditionals in subnav (failed), and then I’m attempting to do so in the About_Us template:
{if {segment_2} == "staff"}
<div class="entry">
{exp:weblog:entries weblog="staff" orderby="date" sort="desc" limit="3" disable="member_data|trackbacks"}
<div class="title_entry">
<div class="entry_content">
<h5 class="title">{title}</h5></div></div>
<div class="entry_content">
{aboutus_short}
<br /></div>
{/exp:weblog:entries}
{if:else}
<div class="entry">
{exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="3" disable="member_data|trackbacks"}
<div class="title_entry">
<div class="entry_content">
<h5 class="title">{title}</h5></div></div>
<div class="entry_content">
{aboutus_short}
<br /></div>
{/exp:weblog:entries}
{/if}
And I still get a white screen of nada.
How can I create an array or a method to check if segment_2 == “something” and then use a designated template based off of that?
Or is there any alternative method to doing this?
I’m absolutely stuck and I’m scouring the forums, plugins, extensions, everything to make this part of my process function appropriately.
]]>missing } after property list (index.php?S=xxx&D=cp&C=javascript&M=combo_load&ui=datepicker,resizable,draggable,droppable&plugin=markitup,toolbox.expose,overlay, scrollable,scrollable.navigator,ee_filebrowser&file=json2,cp/publish,cp/publish_admin&v=1279678713)
$.datepicker is undefined (index.php?S=xxx&D=cp&C=content_publish&M=entry_form&channel_id=1 line 994)
$(”#entry_date”).datepicker({ dateF…aultDate: new Date(1279749028000) });
which means that none of the tabs or formatting buttons or the add file or show toolbar links work.
I don’t think it’s a problem with files not being uploaded properly because I already that issue when I was trying to install and have reuploaded once already.
]]>My client has yet to switch his domain over to a new hosting location. But - the new host allows me to reach the site through a semi-sub-user URL.
Example:
“Temp” hosting address: username.hostingcompany.com
“Real” hosting address: companydomain.com
How hard will it be for me to configure the site to respond to companydomain.com instead of username.hostingcompany.com. Hopefully there is a single setting. The site will reside in the same location within the server’s file system.
To add to that, I am also using MSM.
Am I pooched until the actual domains are transfered? I have such a tight deadline!
Thank You!
]]>As said in instructions, I placed contents in corresponding folders on server.
Than
Log into your ExpressionEngine Control Panel and visit this page:
Add-ons > Modules > Discussion Forum
Accessing that page will automatically tell ExpressionEngine to perform any internal updates that are needed for the new version.
But i get this error
A Database Error Occurred
Error Number: 1062
Duplicate entry '58-19' for key 1
ALTER TABLE `exp_forum_subscriptions` ADD PRIMARY KEY `topic_id_member_id` (`topic_id`, `member_id`)
I’m trying to update my site to 2.1 from 1.6.7. When I go to the installer, I get the following error:
Unable to connect to your database using the configuration settings found in the following file: expressionengine/config/database.php file. Please correct the settings so that the update can proceed.
I uploaded the old config.php file to the expressionengine/config directory as the manual says. database.php is blank.
My site is with EngineHosting so I’m pretty sure the server meets the minimum requirements for EE2.1.
I’m probably (hopefully) missing something obvious.
]]>