Attn: Theme and Module developers, major change in CSS class and id selectors
|
thumb
![]()
Joined: 2004-05-26
Posts: 206 |
Posted: Sun, 2009-10-04 16:24
|
|
Sorry to spring this on everyone so late in the development cycle. The core team decided that the CSS class and id name format needed to be updated. I just pushed an update that changed our naming format from gSelectorName to g-selector-name We're working on a shared CSS style sheet with commonly used styles and further documentation outlining naming convention details is on it's way. Stay tuned. In the meantime, here are a few key changes: #gContent > #g-content .gDialog > .g-dialog .gBlock > .g-block .gError > .g-error etc. |
|
| Login or register to post comments |


Posts: 206
Oh, I should mention that I've gone through and updated contributed module CSS. If you're a contributor, please pull and check things out to be sure everything is as it should be.
UPDATE: Just pushed updates for all contributed modules. Please review the diff and test your module's functionality. I have not thoroughly reviewed these changes.
Posts: 128
Would any of this account for a change in the header causing the 'Logged in as' and 'Logout' to have slid all the way to the left (above logo.png) and in fact appearing twice??
Martyn T. Griffin
Posts: 206
Not likely. Which browser and platform? Are you using the Wind theme?
Support the Gallery project with a donation
--
2tbsp.com
Posts: 128
Attached is a clip from Chrome showing the new placement in Wind.
It is the same behavior in IE8 and FF 3.0.14
BTW I just reloaded the latest experimental f5dd8d4 to make sure I was up to date.
Martyn T. Griffin
Posts: 17356
I don't see that behavior. in Chromium/IE and FF
Please start a new thread with a url.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 5
Hello,
So far, themes from Beta version to Beta version (and now pre-RC1) were not compatible. When will be the time to start developing a theme that will work with final 3 version (for personal use, nothing special)? Are there any changes for the theme engine expected till the final 3 release?
Best regards,
Izvir
Posts: 206
@izvir There should be very little changed in the core CSS between now and the final 3.0 release. I think it's safe to dig in.
Support the Gallery project with a donation
--
2tbsp.com
Posts: 50
Maybe worth noting, if not known already.
I just downloaded latest version of G3 beta 3 (the experimental one I think); found I could only get Wind theme working. Night Wind just giving blank album pages, even though there's note re Views being changed (for new css?).
Hope there will soon be a functioning theme with dark background!
Posts: 17356
Night wind in not available via the core code download. It is available via the -contrib git repository.
You have to follow the upgrading directions verifying that there is no leftover files from your previous install:
FAQ: How do I upgrade?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 50
Yes, I obtained Night Wind from -contrib git repository.
This is a first install of Gallery 3; tho upgraded from Gallery 2.
Tho in case any "magic" should happen, just tried running upgrader; Night Wind still coming up blank on album type pages (inc albums for keywords)
Posts: 17356
The wind theme is the only theme that I know that has been upgraded to the latest git version.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11023
I just saw SergeD post that his theme has been updated:
http://gallery.menalto.com/node/91519
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 50
@floridadave: Ah; tho I've downloaded and used a few versions of G3 (for other sites), don't know what a git is - software wise; not obvious when I've been to download pages.
[git hub hopefully great for developers; for software users, not so hot perhaps]
@nivekiam: Thanks for note re Serge's Grey Dragon; about to try this. (Done so; album pages fine, but no login link just now)
Posts: 17356
You are using beta software that you should expect to be a little harder for the not beta tester to endure.
Do you have a better solution for tracking software changes?
Thanks for testing. Can you perhaps help out in some documentation to help others that might run in to a similar situation?
To educate yourself about git: http://codex.gallery2.org/Gallery:Using_Git
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 50
Yes, I expect some hassles with beta software (indeed, expect them with software, and especially figure likely with open source rather than commercial)
Note that G2 now seems a bit dated; been quite a while since we've been hearing of the benefits of G3, and of it coming soon (can't remember the schedule published earlier).
So may be Beta, yet using it doesn't seem like jumping the gun.
I haven't used git via Unix codes etc.
Instead, getting themes/modules via links to downloads, such as - for Night Wind:
http://github.com/gallery/gallery3-contrib/tree/master/themes/night_wind/
(which is link given on Night Wind info page)
- here, could be better for users if some note re what versions a theme/module works with; and ideal (!!!) if can be automated.
There might be scope for a few more notes on such pages: more re what modules do, and versions they work with etc. (I earlier downloaded google maps, but then found it didn't really do anything handy as yet)
I've posted here; added note to Grey Dragon thread; not sure where else re documentation help just now.
Posts: 17356
Please feel free to update the documentation that you feel is missing. The docs are for users by users. There is only so much time in a day for volunteer work and testing. Checking every user contributed module to verify what version it works with is a significant task.
I feel that it is up to the community to verify that the module they developed works for for various versions and if that does not work out, the rest of the community can assit is this task, by fixing or adding to the documentation as they feel needs improvement..
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 50
Hi Dave:
I'm fine w updating documentation where I can; but I meant on git hub, esp download pages - can I make changes to these? Signing up not so straightforward as this site I think (I don't need or want an SSH key).
Page for Night Wind - authored by Gallery Team - doesn't have way of adding to/changing info that I can see:
http://codex.gallery2.org/Gallery3:Themes:night_wind
- and "discussion" link takes me to page with message "The action you have requested is limited to users in the group Users."
So, not always a cinch to add/edit info.
A checklist on download page, or some other page with list of modules/themes, could be handy.
Like a table, and a column for something like "tested and works with Gallery versions after ..."
After seeing suggestion re creating Beta 4, would seem a good idea for me when something dramatic like the css change, breaking themes. Perhaps naively, I'd have thought that themes etc working with early Beta 3 (say) should work with all other versions of Beta 3.
Martin
Posts: 17356
You don't need a key but you need to register on the codex. You can use the same username and password as you do for the forums. Why? to prevent spam and to allow people to contribute without having to go through a lot more hassle.
Once you login to the codex you can create a page that has "tested and works with Gallery versions after ..." or you can edit individual pages for each module/theme.
There is only so much time in the day for this volunteer project, so if you can help out it will allow others to develop/support/code more.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team