Ticket#750
Error Log:
Page does not display users alphabetically.Should sort ascendingly or descendingly.
Possible causes:
- no sort method defined
- Python data structure used is not sortable e.g Data Dictionary
- call to a sort method omitted
Resolution Method:
- Pending
- Using analogy approach: ticket838 had a similar akward Data Dictionary that could not be sorted.Trying to sort by Dictionary Key() resulted in an unsorted list.The only thing that could be done was remove duplicates as the ticket required!:-( This might give a clue to a possible deduction!!!
Add comment May 21, 2008
PloneNavigator
Welcome to plone!
This is a very hectic environment to be for a starting OpenSource Developer
I am currently working on a partially stractured architecture:
- There is an Intranet Instance
- There is an Internet instance
- There are products that can be on either of these instances
Each product instance and its subproducts has a HUGE number of files
- TAL Templates
- Python files
- SQL Databases
- ZODB’s
- JavaScript
The list is endless.
Basically this is some form of a Hybrid technology architecture much better than Tomacat which has a very hectic code base and proves to be very slow.
To survive here you must \:
- Be willing to explore
- Enjoy debugging
- Be very,very patient,persistance
- Have a GOOD documentation base.
At the moment there is a product called WardProfiles which has no documentation and the developer who was working on it has left for UK.
I am just wondering how a client query on this product will be handled.The client is said to be very unmanagable!!!!!
Add comment May 20, 2008
MyTickets
Ticket#845
Error Log:
Navigation does not display on link [view contacts]
Possible causes:
- Code section omitted or not functional
- contactsapp_view.pt file
- main_template.pt
Resolution methods:
- For each file respectively
Case1: localhost version file works
- copy it to dervserv
Case2: localhost version does not work
- copy dervserv version to local host
- debug untill error log is solved
Case3: Both versions do not work
- find the codesection supposed to display navigation bar,
- debug it on localhost
- transfer working version to derveserv
Solution:
You cannot be more supprised than I was.
It turns out that there is a local template called application_template which is used by the contactsapp_view.pt template.This template had been modiefied inconsistently concerening the navigationbar which had been a dropdown menu.
Troublieshooting:
- Call the main_template instead of the application_template.pt ( this solved the problem)
But why did the application_template.pt don’t work?
- Copy the code section from main_template.pt that produces the navigation bar to the application_template.pt
<div id=”ethekwini_navigationbar”>
<img src=”#” alt=”>”
tal:attributes=”src string:${portal_url}/dropdown_arrow.gif” /> <a href=”#” tal:attributes=”href string:${portal_url}”>Home</a>
<img src=”#” alt=”>”
tal:attributes=”src string:${portal_url}/dropdown_arrow.gif” /> <a href=”" tal:attributes=”href string:$portal_url/coun”>Management Tools</a>
<img src=”#” alt=”>”
tal:attributes=”src string:${portal_url}/dropdown_arrow.gif” /> <a href=”#” tal:attributes=”href string:$portal_url/db”>Databases</a>
<img src=”#” alt=”>”
tal:attributes=”src string:${portal_url}/dropdown_arrow.gif” /> <a href=”#” tal:attributes=”href string:$portal_url/policies”>Policy</a>
<img src=”#” alt=”>”
tal:attributes=”src string:${portal_url}/dropdown_arrow.gif” /> <a href=”#” tal:attributes=”href string:$portal_url/skills_development”>Training</a>
<img src=”#” alt=”>”
tal:attributes=”src string:${portal_url}/dropdown_arrow.gif” /> <a href=”#” tal:attributes=”href string:$portal_url/staff”>Staff</a>
<img src=”#” alt=”>”
tal:attributes=”src string:${portal_url}/dropdown_arrow.gif” /> <a href=”#” tal:attributes=”href string:$portal_url/units”>Clusters</a>
</div>
This code corrected the application_template.pt which is the correct template to use in this case.(Just another design issue).
But anyway the problem was due to layering.Plone uses skins. Skins have-A many Layers.
Skins are used to separate presentation components.While layers are a collection of presentable objects contained in Elements.Implying that layers have-A Elements.
The core of this is that elements CAN BE CUSTOMIZED. the application_template.pt defines that customization while main_template.pt defines also another general customization. So the application_template.pt is supposed to be the Functional Overrring template where correction had to be done.
Oops!
I think that was too much to absorbe!
Add comment May 20, 2008
My Error Logs
Setting up your environment
From a clean machine
- Get the Gusty 7.10 Ubuntu Linux disk
- Install Ubuntu
- Setup package manager
- Install Java 5 SDK
- Install Eclipse3.0
- Install MySql 5.0.37
- Install Python 2.4.3
- Install Plone/Zope
Walaah. Your PC is ready. What in the world are we going to do with all this?
Add comment May 20, 2008
OpenSource Navigation & Error Logs
OpenSource does not have to be a dilemma.
Enjoy the insides of the IT Blackbox!
- Ubuntu
- eclipse
- Python
- MySql
- Plone
All comments welcome.We are just starting.
1 comment May 20, 2008