I have been pounding on the g2 - TikiPro embed. Great work guys! Fixes
this weekend from bharat & mindless seem to have cleaned up my install
issues. Though repeated install cycles on the same box seem to get version
confusion, so I have gotten in the habit of flushing my entire g2data/
directory.
Here's a look at the current rev. Feel free to test this out and send me
any thoughts...
http://clyde.tikipro.org/gallery2/
As I am working through the embed, I have had several thoughts I would
list:
* I would *really* like to have the data broken down further in $g2data
coming back from HandleRequest. For example in g2data['htmlBody'], I would
love to have <div id="gsSystemLinks"> and <ul class="gbBreadCrumb"> as
separate g2data hashes like g2data['htmlSystemLinks']
g2data['htmlBreadCrumb'] or perhaps:
g2data['html']['systemLinks']
g2data['html']['breadCrumb']
g2data['html']['body']
g2data['html']['sidebar']
My current hack is display: none; for things I don't want shown, however
it would be nice to have them shown in a place of my choosing.
* I love the $g2data['layoutData']['itemLinks'] hash. However, if I am not
viewing a gallery page, but I still need to get my menu options, is there
a very lightweight call to snag the itemLinks for a given user_id ?
* several "Options" pages seem to still send me the sidebar even with
GalleryCapabilities::set('showSidebar', FALSE); -
add item, edit permissions - seems all the action items. Maybe I am
missing something?
* I am having CSS conflicts. Tt would be *great* if the core BODY tag CSS
could be changed so it didn't compete with another BODY tag from my
embedHostApp. Two options I can think of:
1. Pull core tag definitions (body, p, etc.) where pulled out of the
style css, and placed into something like "themes/matrix/styles/base.css"
or similar, so there wouldn't be CSS competition.
2. wrap the entire body in <div id="gallery"> (seems we the footer is
outside) then define all tags with things like: #gallery h1, #gallery h2,
#gallery h3 { etc.. }. #gallery define would be just like body define at
that point. this would be the more optimal solution so you didn't redefine
h1's outside of gallery.
I would ultimately love to use stock gallery themes, yet still maintain
control of my choosing outside the g2 data (like header, top nav bar,
etc.)
[ \ /
[ >X< Christian Fowler | spider AT viovio.com
[ / \ http://www.viovio.com | http://www.tikipro.org
|