Wednesday, 8 May 2013

Updating Xataface Applications to Use the G2 Theme

NOTE:  As of version 2.1, the g2 theme is installed by default so the steps described in this article are no longer necessary.

The default Xataface theme was built on the old Plone 2.0 stylesheet from 2005.  Safe to say, it looks its age.   Clearly, Xataface needs a face lift.  The only question was how to introduce the modifications.  There were two primary options to choose from:

  1. Modify the core Xataface templates and stylesheets.
  2. Create an optional module that overrides the default templates and stylesheets.
In order to cause minimal disruption to existing Xataface applications, I chose the latter, and the solution is embodied in the g2 module - which includes new Javascripts, Stylesheets, and templates that look a little more modern.

The default Xataface theme.  Notice the tables list on the left and vertical because there are more than 10 tables included in the tables menu.
Same page using the G2 theme.  Notice the tables listed horizontally along the top.  The "More" drop-down menu lists the remaining tables.


Some features of the g2 module include:
  • jQuery.  jQuery is now included by default - so it is available to all scripts and Javascript modules.
  • Advanced Find form.  The advanced find form is now accessible using a dynamic Javascript pull-down effect so that users don't have to navigate away from the existing list or details page in order to perform a find.
    The Advanced find form appears via pull-down.
  • Selected Record Actions.  Result list actions are now all dialed in to operate on the records that are "checked" in list view.
    The list view now shows result list actions across the top and bottom of the list.  These all operate on the selected rows (i.e. the rows whose checkboxes are checked).
  • Result controller.  The result controller is now less cluttered, and only gives users option to change the "limit" and "start" when they click on the result details.
    The result list controller is more streamlined.  The "1-11 of 11" label is all that appears.  Clicking on that displays the pop-up dialog to modify the "skip" and "limit" settings.
  • More actions...  Action lists are now limited to 7 actions in a particular category.  Additional actions, are then included in an 8th "More" drop-down menu.  This makes the interface far more extensible when there are large numbers of tables.
    Now excess tables are listed in the "More..." menu automatically.  This is the case with all action groups.

How To Install

  1. Create a "modules" directory in your application if one doesn't already exist.
    $ cd /path/to/myapp
    $ mkdir modules
  2. Check out the latest g2 module from the subversion repository, into the "modules" directory.
    $ svn co http://weblite.ca/svn/dataface/modules/g2/trunk g2
  3. Add the following to the [_modules] section of your application's conf.ini file.:
    modules_g2=modules/g2/g2.php
  4. Clean out the templates_c directory to remove old cached templates.
    $ rm -rf templates_c/*

Video Tutorial


33 comments:

  1. The video won't play, says its a duplicate...

    ReplyDelete
    Replies
    1. Thanks. It should be fixed now.

      Delete
    2. Hello everyone..Welcome to my free masterclass strategy where i teach experience and inexperience traders the secret behind a successful trade.And how to be profitable in trading I will also teach you how to make a profit of $12,000 USD weekly and how to get back all your lost funds feel free to email me on(brucedavid004@gmail.com) or whataspp number is +22999290178  

































      Hello everyone..Welcome to my free masterclass strategy where i teach experience and inexperience traders the secret behind a successful trade.And how to be profitable in trading I will also teach you how to make a profit of $12,000 USD weekly and how to get back all your lost funds feel free to email me on(brucedavid004@gmail.com) or whataspp number is +22999290178  





      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. Hi. It is asking for a username and password when i try to check out the code.

    ReplyDelete
    Replies
    1. I meant my other comment to be in reply to this... please see that comment
      Steve Hannah18 November 2013 14:36

      Delete
    2. Thanks! Got it from github no problem. (For svn I was using GUI Windows client)

      Delete
  5. Try getting it from github instead.
    https://github.com/shannah/xataface-module-g2
    I am slowly moving all Xataface stuff over to github. The github repo is therefore more recent than the subversion repo.

    However, there is no password protection on the SVN repo. I have seen reports from other people stating that they have run into the password issue but I can't seem to reproduce it myself. Are you using the command-line SVN client or a GUI app? Make sure you're getting it anonymously and not providing a username.

    ReplyDelete
  6. Looking for the Best Dating Website? Join and find your perfect match.

    ReplyDelete
  7. If you need your ex-girlfriend or ex-boyfriend to come crawling back to you on their knees (even if they're dating somebody else now) you got to watch this video
    right away...

    (VIDEO) Win your ex back with TEXT messages?

    ReplyDelete
  8. QUANTUM BINARY SIGNALS

    Professional trading signals delivered to your cell phone daily.

    Start following our signals right now and make up to 270% per day.

    ReplyDelete
  9. Interesting topic for a blog. I have been searching the Internet for fun and came upon your website. Fabulous post. Thanks a ton for sharing your knowledge! It is great to see that some people still put in an effort into managing their websites. I'll be sure to check back again real soon. Theme

    ReplyDelete
  10. Hello i am here to spread this good news to the entire world on how i got my ex love back.I was going crazy when my love left me for another girl last month,But when i meet a friend that introduce me to DR IROSI the great messenger to the oracle that he serve,I narrated my problem to DR IROSI about how my ex love left me and also how i needed to get a job in a very big company.He only said to me that i have come to the right place were i will be getting my heart desire without any side effect.He told me what i need to do,After it was been done,In the next 2 days,My love called me on the phone and was saying sorry for living me before now and also in the next one week after my love called me to be pleading for forgiveness,I was called for interview in my desired company were i needed to work as the managing director..I am so happy and overwhelmed that i have to tell this to the entire world to contact DR IROSI at the following email address DRIROSISOLUTIONCENTER@GMAIL.COM and get all your problem solve..No problem is too big for him to solve..Contact him direct on DRIROSISOLUTIONCENTER@GMAIL.COM or call his mobile number or add him up on whatsapp via (+2348118829771). and get your problems solve like me.    

    ReplyDelete
  11. LOVE SPELLS THAT WORKS I am sharing this testimony to partners suffering in their relationships because there is an enduring solution.
    My husband left me and our 2 kids for another woman for 3 years. I tried to be strong just for my kids but I could not control the pains that torment my heart. I was hurt and confused. I needed a help, so i did a research on the internet and came across a site where I saw that Dr. Aluya a spell caster, can help get lovers back. I contacted him and he did a special prayer and spells for me. To my surprises, after some days, my husband came back home. That was how we reunited again and there was a lot of love, joy and peace in the family.
    You can as well contact Dr.  Aluya  , a powerful spell-caster for solutions on his contact aluya.48hoursspelltemple@gmail.com or directly on Whats App: +2348055431163 

    ReplyDelete
  12. I want to use this great opportunity to thank Dr Aluya for helping me to get my boyfriend back after 3 months of breakup. My boyfriend breakup with me because he see another girl at his working place and told me he is no longer interested in me and live me in pain and heart break. I seek for help on the internet and i saw so many good talk about this great spell caster Dr Aluya and I contacted him also and explain my problems to him and he cast a love spell for me which i use to get back my boyfriend within the period of 48 hours and i am so grateful to him for the good work he did for me,that is why i also want to let everyone who is in need of help out there to also seek help from him so he can help.His email is aluya.48hoursspelltemple@gmail.com or whatsapp: +2348110493039

    ReplyDelete
  13. My name is Louis Edmond, I am from USA. I want to share a testimony about Dr Aluya, a great spell caster who is very straight forward with his words of casting spells. When my Wife left me for another Man i was so confused,but one a day a friend of mine gave me the email address of this great spell caster called dr Aluya, I contacted this man and explained to him all that i was going through,he then told me to be calm and not worry anymore because my case is a very easy one. At first I never believed all that he was saying until when my husband returned home two days later begging me to forgive him for all that he had done to me and to please accept him back into my life,I was so amazed,I never believed it was going to happen that fast.
    This man is truly great indeed. Contact him today for a perfect solution to your love problem, aluya.48hoursspelltemple@gmail.com.  or whatsApp him  +2348110493039

    ReplyDelete
  14. Hi everyone, my name is Rabueil Islam
     and am from London, I met this spell caster called Dr Aluya of aluya.48hoursspelltemple@gmail.com online and so many other, but i decided to go with this particular spell caster and this is about 2 weeks ago. I needed the spell caster to reunite me and my lover because she started behaving strange and a day came she text me and told me she cannot continue with the relationship anymore, that she just want to be alone. But a close friend of hers shows the guy to me that she was now dating. So i contacted this spell caster because i was totally heart broken and i smoked and get drunk till i could not even notice if am standing or lying.This spell caster told me not to worry, he gave me hope that am to have her again just like old times, and i provided all the requirements, and in just 5 days, my ex lover called me crying over the phone asking for me to forgive her for her stupid act, and she swore with her mother grave to love me and never hurt me again.This was what the spell caster earlier told me and it came after he has done the spell and that same night, my lover came to my house and spend the night with me.I have never seen spell as powerful as this but now, am convinced that Dr Aluya is the best ever, You can contact him through him email address:aluya.48hoursspelltemple@gmail.com or WhatsApp: +2348110493039

    ReplyDelete
  15. My lover dumped for  another woman with two kids i was confused until i came
    in contact with Dr Aluya who helped me with a powerful love spell that
    brought him back within 2 days. contact Dr Aluya for help on :
    Email :aluya.48hoursspelltemple@gmail.com or WhatsApp him  +2348110493039

    ReplyDelete
  16. Get Your Wife Back, Perfect Urgent Love Spell. Am Oliva Giphy
     from FL Usa All Thanks To Dr Aluya Who Brought Back The Love Of My Life. my girlfriend cheated on me and asked for a breakup. I don't believe at first i try to get back with her but all she told me was she’s with someone else. that she is no longer interested in marrying me at that point i was heart broken coz i love my girlfriend so much that i could not let go off her all of a sudden she left me, i really love her and never can imagine my life without her. not until i came across a powerful real spell caster Dr Aluya who promise me 48hours urgent love spell to get back with my girlfriend, good twenty-four {48} hours. hmm-mm, it was a good night time at 11:pm within the days that Dr Aluya told me that my girlfriend will be back, at first i heard the bell rings getting close to my door i heard someone saying honey!!!, it sound familiar i opened the door and i saw my girlfriend standing and weeping in front of me. i was not surprised because its all i have been praying for her to come back home. Guess what 2 weeks after she noticed her system and her body temperature was changed and i took her to clinic for check up and the doctor told me that there is life in her which means she was pregnant i really wants to use this opportunity to thanks Dr Aluya so much and the love page that directed me to Dr Aluya if you have any problem getting your ex back, or predicament that is worse or exactly like this you have been into, contact Dr Aluya on aluya.48hoursspelltemple@gmail.com Whatsapp/cal  +2348110493039  
    https://draluya48hoursspelltemple.webs.com/

    ReplyDelete
  17. My lover dumped another woman with two kids i was confused until i came
    in contact with Dr Aluya who helped me with a powerful love spell that
    brought him back within 2 days. contact Dr Aluya for help on :
    Email :aluya.48hoursspelltemple@gmail.com or aluya.48hoursspelltemple@yahoo.com WhatsApp him +2348110493039


    website https://draluya48hoursspelltemple.webs.com/

    ReplyDelete
  18. How I Got My Ex Husband Back..Am so excited to share my testimony of a real spell caster who brought my husband back to me. My husband and I have been married for about 6 years now. We were happily married with two kids, a boy and a girl. 3 months ago, I started to notice some strange behavior from him and a few weeks later I found out that my husband is seeing someone else. He started coming home late from work, he hardly care about me or the kids anymore, Sometimes he goes out and doesn't even come back home for about 2-3 days. I did all I could to rectify this problem but all to no avail. I became very worried and needed help. As I was browsing through the internet one day, I came across a website that suggested that Dr Aluya can help solve marital problems, restore broken relationships and so on. So, I felt I should give him a try. I contacted him and and told him my problems and he told me what to do and i did it and he did a spell for me. 48 hours later, my husband came to me and apologized for the wrongs he did and promise never to do it again. Ever since then, everything has returned back to normal. I and my family are living together happily again.. All thanks to Dr Aluya Powerful Love Spell that really works. If you have any problem contact him and i guarantee you that he will help you. He will not disappoint you. Email him at: {aluya.48hoursspelltemple@gmail.com}. or  {aluya.48hoursspelltemple@yahoo.com} whatsapp him on: +2348110493039  
      https://draluya48hoursspelltemple.webs.com/  

    ReplyDelete
  19. This is a testimony that i will tell to every one to hear. i have been married four 2 years and on the fifth year of my marriage, another man had a spell to take my lover away from me and my wife left me and the kids and we have suffered for 2 years until i meant a post where this man Dr, Aluya have helped someone and i decided to give him a try to help me bring my love wife home and believe me i just send my picture to her and that of me and after 15hours as he have told me, i saw a car drove into the house and behold it was my wife and she have come to me and the kids and that is why i am happy to make every one of you in similar to met with this man and have your lover back to your self His email:aluya.48hoursspelltemple@gmail.com   OR   aluya.48hoursspelltemple@yahoo.com      https://draluya48hoursspelltemple.webs.com/
    WhatsApp him at (+2348110493039)thank so much.

    ReplyDelete
  20. Hello every one my I want to use this medium to appreciate Dr obodubu monday a great spell caster for helping me retrieving back my relationship with my ex lover when he ended and turned back on me for quite a long time now (6 months ago) He performed a spell for me and within 48 hours after the spell had been cast I receive a text from my ex saying that he is sorry for the pains and tears that he had caused me and that he will not do such thing to me again in his life. I was surprised but later accepted him back again. Anyone that is in the same line of problem or different one that want to contact a spell caster should happily contact Dr obodubu monday now on this email address:babadoctorobodubuspiritualhome@gmail.com or you can contact him through his whatsapp line +2349058774809

    ReplyDelete
  21. Dr. Obodubu Monday is recognised all over the world of marine kingdom, As one of the top fortunate and most powerful native doctor of charms casts from the beginning of his ancestors ship until now Dr. Obodubu Monday lives strong among all other native doctors, there have never been any form of impossibility beyond the control of Dr. Obodubu Monday it doesn't matter the distance of the person with the problems or situation, all you have to do is believe in the native doctor Dr. Obodubu Monday cast that works, he always warns never to get his charms cast if you do not believe or unable to follow his instruction. it is the assignment of the native doctor Dr. Obodubu Monday to offer services to those in need of spiritual assistance not minding the gravity of your situations or distance as long as water, sea, ocean, lake, river, sand, etc. are near you, then your problems of life would be controlled under your foot. if you need any spiritual help on any of these call Doctor Obodubu on :+2349058774809
    Get Your Love Back
    Fruit Of The Womb
    Fibroid
    Business Boom
    Financial Breakthrough
    Get Rich Without Ritual
    Do As I Say
    Bad Dream
    Promise And Fail
    Epilepsy
    Land/Court Case
    Mental Disorder
    Political Appointment
    Visa Approval
    Cancer
    Examination Success
    Spend And Get Back
    Good Luck
    Natural Neath
    Hypertension
    Stroke
    Sickle cell
    Impotency
    Win Court case
    Promotion At Work
    Commanding Tone
    Protection Ring
    Marriage Success
    Love Ring
    Favour Ring
    Recover Lost Glory
    Spiritual Power For Men Of God
    Travel Success Ring
    Job Success
    Lotto/Pool Win/betnaija win
    And Many
    More make haste to call or Or WhatApp Baba Doctor Obodubu Monday on +2349058774809 for spiritual problem today and you will surely get solution to all your predicament

    ReplyDelete
  22. Thank you so much DOCTOR ISIKOLO for making my ex boyfriend come back to me. I am writing this wonderful testimony in respect of this man. He made all my wishes come true. My boyfriend and i dated for more than 3 years and although we had had so many quarrels but we never thought of a break up. One day, he called me over the phone telling me how he is tired of the relationship and cannot see anywhere that we are heading to. Months have passed and my boyfriend did not contact me anymore and i did not hear from him anymore and his cell phone was disconnected. I knew i need to seek for help because of the so much love i have for him. I contacted this great spell caster because i have never contacted anyone before and i tell you that after a 2 days of contact, my ex boyfriend called me and asked to see me and the next morning, he wore a ring on my finger. I am very happy because i am soon going to be a married woman with the help of this great spell caster called DOCTOR ISIKOLO. I promised to manifest your works to everyone and please contact this man to help you at isikolosolutionhome@gmail.com or his WhatsApp him on: +2348133261196.

    ReplyDelete
  23. I was searching for help on the internet to get my ex husband back after he divorced me 5 months ago, i came across so many testimonies from different people and they are all talking about this wonderful man called Doctor ODIBOH DADA on how he help them to save their marriage and relationships and i also contact him on his email (odibohsolutionhome@gmail.com) and explain my problem to him and he did a nice job by helping me to get my divorced husband back within 3 days and later on i got pregnant for him, for we have been married for 6 years no pregnancy .. I never believe that such things like this can be possible but now i am a living testimony to it because Doctor ODIBOH DADA actually brought my lover back and also help me got pregnant, If you are having any relationship problems or any problem concerning life itself why not contact Doctor ODIBOH DADA for help via his email: odibohsolutionhome@gmail.com or whatsapp +2347048883838. Then i promise you that after all said and done you will have reasons to celebrate just like me.

    ReplyDelete
  24. I really want to thank Dr Emu for saving my marriage. My wife really treated me badly and left home for almost 3 month this got me sick and confused. Then I told my friend about how my wife has changed towards me then she told me to contact Dr Emu that he will help me bring back my wife and change her back to a good woman. I never believed in all this but I gave it a try. Dr Emu casted a spell of return of love on her, and my wife came back home for forgiveness and today we are happy again. If you are going through any relationship stress or you want back your Ex or Divorce husband you can contact his whatsapp +2347012841542 or email emutemple@gmail.com 

    ReplyDelete
  25. Hi, this is real testimony of a spell doctor who helped me bring back my fiance, who left i and the kids for 9 month. I had lost all hope about my fiance coming back home again. if you’re going through a tough time in your marriage or relationship, or want back your Ex. contact him on: aluya.48hoursspelltemple@gmail.com   or whatsapp  +2348110493039   you can contact him on his web     https://draluya48hoursspelltemple.webs.com/   

    ReplyDelete

  26. BE CAREFUL, MANY OF THE DOCTORS HERE ARE SCAM,MOST TESTIMONIES OF SPELL CASTER HERE MUST BE IGNORE.BECAUSE THEY ARE SCAM I MEAN REAL SCAM WHICH I WAS A VICTIM.I GOT RIPPED OF THREE THOUSANDS DOLLARS BY 4 CASTERS BECAUSE I WAS SO ANXIOUS TO GET MY WIFE BACK AFTER SHE LEFT ME FOR ALMOST 3YEARS WITH OUR 4 YEARS OLD SON JERRY,, I HAVE PAID OVER $3000 ON SPELL CASTING AND NOTHING HAVE WORK FOR ME UNTIL ONE FAITHFUL DAY I GOT IN CONTACT WITH MADAM SOLUTION WHO DID WHAT I CALLED MAGIC BECAUSE I CONTACTED HER ON FRIDAY AND AFTER GIVEN HER MY DETAILS AND $445 FOR THE SPELL CASTING MY WIFE CALLED ME AND NOW WE ARE BACK TOGETHER AGAIN IF YOU NEED SIMILAR HELP THEN CONTACT HER NOW VIA EMAIL AT (mrsokojiehealinghomeforall@gmail.com)

    ReplyDelete
  27. This testimony is worth sharing to the world. I am here to tell the world of the good works of  Dr BALBOSA. My name is Olivia Bolton am from the UK.. My man left me and my kids for another older woman. It was not so easy for me.. I love my husband so much and I did not lose hope and I kept praying and God finally answered my prayers...i searched online for a spell caster to help me unite me and my lover back forever and i saw so many testimonies of  how DR BALBOSA has helped so many people online and i decided to give him a trial … I contacted him and explained to him. He told me not to worry that he will bring back my man within 24 hours. He consulted his powers and assured me not to worry . He did his work and cast the spell and to my greatest surprise, my husband came back the same day begging and crying  just as  Dr BALBOSA said. He begged me for forgiveness and he promised never to leave me for any reason. We are happy and we live together as one. Contact Dr BALBOSA now on: balbosasolutionhome@gmail.com and you can also contact him on WHATSAPP/CALLS +2347048047728... don't lose hope have a lovely day 

    ReplyDelete
  28. This testimony is worth sharing to the world. I am here to tell the world of the good works of  Dr BALBOSA. My name is Olivia Bolton am from the UK.. My man left me and my kids for another older woman. It was not so easy for me.. I love my husband so much and I did not lose hope and I kept praying and God finally answered my prayers...i searched online for a spell caster to help me unite me and my lover back forever and i saw so many testimonies of  how DR BALBOSA has helped so many people online and i decided to give him a trial … I contacted him and explained to him. He told me not to worry that he will bring back my man within 24 hours. He consulted his powers and assured me not to worry . He did his work and cast the spell and to my greatest surprise, my husband came back the same day begging and crying  just as  Dr BALBOSA said. He begged me for forgiveness and he promised never to leave me for any reason. We are happy and we live together as one. Contact Dr BALBOSA now on: balbosasolutionhome@gmail.com and you can also contact him on WHATSAPP/CALLS +2347048047728... don't lose hope have a lovely day 

    ReplyDelete
  29. My husband and I have been married for over 10 years. We met when I was 18 and he was 21. We’ve been through a lot emotionally together. There were several HUGE fights and painful situations in our marriage, but we always seemed to come out stronger on the other side. Out of the blue my husband just sprung the divorce talk on me, I was totally depressed until I found Dr.Todd website online and I ordered for a Love spell. You won’t believe my husband called me at the exact time this spell caster finished his spell work in 48hrs. I was totally amazed! He is wonderful and his spells work so fast. His Email: manifestspellcast@ gmail. com manifestspellcast.wordpress.com

    ReplyDelete