Block template loading wrong .CSS file
Permalink
I'm building a C5 site that includes ChadStrat's ProEvents block. I installed the block, created a template in the block folder, and applied a template to the block.
The weird thing is, the block's original .CSS file is still loading, overriding the styles I've changed.
I've cleared the cache (both for the site and for my browser), even viewed the site in another browser, and the original .CSS file is still loading.
Even after I delete the block from this particular page, the original .CSS is still loading.
Anyone have an idea of where the source for loading this rogue .CSS could be?
Sherm Stevens
http://www.invision-studios.com
The weird thing is, the block's original .CSS file is still loading, overriding the styles I've changed.
I've cleared the cache (both for the site and for my browser), even viewed the site in another browser, and the original .CSS file is still loading.
Even after I delete the block from this particular page, the original .CSS is still loading.
Anyone have an idea of where the source for loading this rogue .CSS could be?
Sherm Stevens
http://www.invision-studios.com
How is it working out for you? I see your site is currently offline. I had major problems with his SimpleBlog which were never resolved, so I'm looking for any and all feedback about ProEvents at the moment.
Zoinks,
My site is 'under construction' because, as they say, "the cobbler's children go without shoes"...
The issue I was having on this post was with another website (http://www.wtwp.com), and I'm not sure it was necessarily related to ProEvents. There was some weird cacheing going on in my server, and flushing the cache and temporarily physically removing the ProEvents folder fixed it.
Regarding SimpleBlog, have you posted a request to the support section (http://www.concrete5.org/marketplace/addons/proevents/support/)?
Chad is usually very responsive regarding tech support issues (and a talented developer/all around great guy to boot).
Sherm Stevens
http://www.invision-studios.com
My site is 'under construction' because, as they say, "the cobbler's children go without shoes"...
The issue I was having on this post was with another website (http://www.wtwp.com), and I'm not sure it was necessarily related to ProEvents. There was some weird cacheing going on in my server, and flushing the cache and temporarily physically removing the ProEvents folder fixed it.
Regarding SimpleBlog, have you posted a request to the support section (http://www.concrete5.org/marketplace/addons/proevents/support/)?
Chad is usually very responsive regarding tech support issues (and a talented developer/all around great guy to boot).
Sherm Stevens
http://www.invision-studios.com
Thanks for the feedback. Yes, I posted several support requests. He said I must be doing something weird and that he couldn't help me.
Let me ask a follow-up if you don't mind... do you know if the ProEvents uses blocks or areas that use relative percentages exclusively to determine their layout on the page? This is primarily the problem I ran into with SimpleBlog. The little calendar blocks were positioned relatively using X and Y percentage coordinates relative to the screen. My layout apparently interfered with this and there was no possible fix. I believe a simple "flush left/right" positioning is the most sensible way of building blocks since relative percentage layouts is just asking for trouble.
Let me ask a follow-up if you don't mind... do you know if the ProEvents uses blocks or areas that use relative percentages exclusively to determine their layout on the page? This is primarily the problem I ran into with SimpleBlog. The little calendar blocks were positioned relatively using X and Y percentage coordinates relative to the screen. My layout apparently interfered with this and there was no possible fix. I believe a simple "flush left/right" positioning is the most sensible way of building blocks since relative percentage layouts is just asking for trouble.
Zoinks,
Many designers use percentages to create scalable layouts. It's actually very flexible (vs. hard-coding specific widths for a page element).
Sounds like your issue is with Cascading Style Sheets (CSS), not necessarily with ProEvents.
Just so you know, I rarely use the default styling for C5 blocks. Usually the first thing I do is create a template to apply to a block so its styling meshes with my site's design.
One issue that I've encountered with C5 is the over-riding of my custom styles with styles from the site theme. I frequently have to use '!important' in my custom style definitions to get them to apply properly. Or, I can sometimes edit the styling in the theme's CSS file.
A VERY useful tool for troubleshooting CSS issues is a plug-in for Firefox called "Firebug." It allows you to right-click and element on a page and view the HTML and associated style definitions. Don't know how I would survive without it.
Sherm Stevens
http://www.invision-studios.com
Many designers use percentages to create scalable layouts. It's actually very flexible (vs. hard-coding specific widths for a page element).
Sounds like your issue is with Cascading Style Sheets (CSS), not necessarily with ProEvents.
Just so you know, I rarely use the default styling for C5 blocks. Usually the first thing I do is create a template to apply to a block so its styling meshes with my site's design.
One issue that I've encountered with C5 is the over-riding of my custom styles with styles from the site theme. I frequently have to use '!important' in my custom style definitions to get them to apply properly. Or, I can sometimes edit the styling in the theme's CSS file.
A VERY useful tool for troubleshooting CSS issues is a plug-in for Firefox called "Firebug." It allows you to right-click and element on a page and view the HTML and associated style definitions. Don't know how I would survive without it.
Sherm Stevens
http://www.invision-studios.com
Forgot to mention -- if you would like me to take a look at a specific site & page, I'll be happy to try to help. If you don't want to publish the address here, PM me.
His javascript was automatically computing a % based on the browser, so it was a javascript issue more than anything else.
It's an old issue on an old site which isn't using the calendar blocks, so there's nothing to even check out. I'm very familiar w/ CSS and Firebug, btw, but appreciate the help.
It's an old issue on an old site which isn't using the calendar blocks, so there's nothing to even check out. I'm very familiar w/ CSS and Firebug, btw, but appreciate the help.
Again, if you can refer me to a specific section of his code that you're having trouble with, I'll be happy to help. I think it was originally a jQuery issue on my OP that was causing the weird cacheing.
I've purchased many of his add-ons for use on my site, and I've also had him create a custom add-on for me, so I've got a bit of experience working with his stuff.
I've purchased many of his add-ons for use on my site, and I've also had him create a custom add-on for me, so I've got a bit of experience working with his stuff.
Ghost in the machine??