Closed (fixed)
Project:
OpenChurch
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2012 at 22:57 UTC
Updated:
17 Apr 2012 at 23:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
drupalninja99 commentedSo far I see this in 5 places:
1. Events for rewriting dates, I agree with your assessment. I did this for expediency but I should go back and do it the right way.
2. Homepage rotator - yes I can convert this to global: custom text
3. Blog - I can just hardcode this as a normal link in html
4. Podcasts - this is the date reformatting issue
5. Gallery - this is the link thing again, I can change to a normal html link
OK this sounds pretty doable. I wish I had some help (*ahem*) but I think I can get this resolved.
Comment #2
Code Monkey commentedWhat can I do to help?
Comment #3
drupalninja99 commentedI need to look at this again bc I definitely need php sometimes in the header, but I should kill the fields that use it for date reformatting for sure or places where global: custom text would work.
Comment #4
Code Monkey commentedYou could use the text format of PHP Code within a Global: Text Area if you still need to have PHP within the view. Just a thought.
Comment #5
drupalninja99 commentedAdding to the roadmap bc this is an important 'maintenance' issue that needs to be cleaned up. I will replace all the views php fields with more appropriate fields.
Comment #6
drupalninja99 commentedChanging priority
Comment #7
Code Monkey commentedHow would you name the new date format? I would like to see if I can modify the views to get this fixed.
Comment #8
drupalninja99 commentedSuggestions?
Comment #9
Code Monkey commentedMachine name: openchurch_event_date
readable name: Openchurch Event Date
Format to match the current views_php format.
How does that sound?
Comment #10
drupalninja99 commentedI think podcast has the same issue, so maybe just openchurch_short_date.
Comment #11
Code Monkey commentedWill do. Do I just need to export the views for you? What would make this easiest for you?
Comment #12
drupalninja99 commentedYa re-export the whole feature, I can manually reconcile the view/.info file. the openchurch_short_date deal would probably be a strongarm variable inside of openchurch_defaults I am thinking.
Comment #13
Code Monkey commentedHere is a zip file containing the exported features.
You will want to check the default feature to make sure the superfish error is fixed. I manually modified the included strongarm file to fix the error.
Comment #14
drupalninja99 commentedExcellent, ya I am going to go through these and merge changes
Comment #15
drupalninja99 commentedYa these look pretty good, I have the oc short date in my defaults info and strongarm but for some reason on my local tests it isn't initializing when I run the install. Troubleshooting for the moment.
Comment #16
drupalninja99 commentedOK I got this working in head now.
Basically the strongarm stuff wasn't working for the date, there are additional pieces to it. So I opted to put that code in the openchurch_defaults.install file as opposed to trying strongarm.
I also added an _update_N() hook as I would like to have a consistent upgrade path so that people can upgrade cleanly from one version to the next.
I had to make a small fix to the podcasts view which had a couple small bugs in it but now that is looking correct. I haven't removed the views php module or anything, it has basically just been 'deprecated' since we are no longer using it.
Comment #17
drupalninja99 commentedThis is fixed in alpha3