cancel
Showing results for 
Search instead for 
Did you mean: 

can u solve these problem

rebel26
Champ in-the-making
Champ in-the-making
Hello
I really need ur help the server doesn't work when i added these lines to  web-client-config-custom.xml


<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="customSmiley Tongueressrelease" />
</content-types>
</config>

<!– Lists the custom aspect in business rules Action wizard –>

<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="custom:CustomerDetails"/> 
</aspects>

<subtypes>
<type name="customSmiley Tongueressrelease"/>
</subtypes>

</config>

<!– Displays the properties in view details page –>
<config evaluator="aspect-name" condition="custom:CustomerDetails">
<property-sheet>
<separator name="sepCust1" display-label="Customer Details" component-generator="HeaderSeparatorGenerator" />
<show-property name="custom:CustomerName"  display-label-id="fucker name"/>
<show-property name="customSmiley TonguerojectLocation"/>
<show-property name="custom:NewCustomer"/>
<show-property name="custom:CustomerContactName"/>
<show-property name="custom:CustomerContactPhone"/>
<show-property name="custom:CustomerCompanyID"/>

</property-sheet>
</config>



and i added these lines to the customModel.xml file

<types>
<!– Definition of new Content Type: Press Release –>

<type name="customSmiley Tongueressrelease">
<title>Press Release</title>
<parent>cm:content</parent>

<properties>

<property name=»customSmiley TongueRName»>
<title>PR Person Name</title>
<type>d:text</type>
</property>

<property name=»customSmiley TongueREmail»>
<title>PR Person Email</title>
<type>d:text</type>
</property>

<property name=»customSmiley TongueRPhone»>
<title>PR Person Phone</title>
<type>d:text</type>
</property>

<property name=»customSmiley TongueRDate»>
<title>PR Released Date</title>
<type>d:date</type>
</property>

</properties>
</type>

</types>



please tell me where is the problem in these code ???????
2 REPLIES 2

dirk1
Champ in-the-making
Champ in-the-making
What about Alfresco.log?

jneeve
Champ in-the-making
Champ in-the-making
Take your xml and try to validate it.. easy enough to cut and paste it into a file and even open it with internet explorer if thats all you have..

Theres errors in both sections…

The first one has multiple <config> entries which isnt allowed the way it sits… if that was cut and paste out of a a larger xml entry then it might be valid.

The 2nd one has invalid characters..maybe its a result of cutting and pasting here?


<property name=»custom:PRName»>