No I didn't use the module at all, I added an iframe to a custom page.tpl.php and used jquery to manipulate it. This wont be effected when I upgrade anything partially because it is not part of a module. --jerry On Sun, Mar 11, 2012 at 8:04 AM, Richard Damon <Richard@damon-family.org>wrote:
On 3/10/12 8:57 PM, Gerald Klein wrote:
I guess the fix is just code and not a module, I basically just used an Ifram, Jquery and css and it works fine. I just thought I would share the procedure. It is not a module just a little code, the solution is actually quite simple.
--jerry The issue is that you can't just have "a little code", the code has to be somewhere. All code is part of a module or theme (or a library). If you modified an existing module/theme to insert your code, then you changes will disappear the next time that module/theme gets an update. If this is what you did, then the proper step is to submit the fix as a patch to that module, otherwise you, and everyone who uses what you provided will need to reapply the hack after every update.
If you just made some small tweaks to a theme, then turning your tweaks into a sub-theme based on that theme would be the way to go, and generally not that hard.
If you made changes to a module, you need to either present it as a patch for the existing module or write it as a new module. I suspect that you wrote it as a patch to a module (even if not intending it as a patch but just some code).
-- Richard Damon
-- [ Drupal support list | http://lists.drupal.org/ ]
-- Gerald Klein DBA**** www.geraldklein.com <http://geraldklein.com/>**** jk@zognet.com**** 708-599-0352**** Linux registered user #548580 The below contributed statements are well....funny and I apologize if someone is offended.....not. Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King Frustrated Windows users have two options. 1. Resort to throwing computers out of windows. 2. Resort to throwing Windows out of computers Ever realized that if you play Windows CD backwards you'll hear satanic messages? But that's nothing! If you play it forward it will install Windows. "Ubuntu" -- an African word, meaning "Slackware is too hard for me". The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner. Linux is like a wigwam: no gates, no windows and Apache inside. *(Chinese proverb c. 910 B.C.)* ** ** ** "being a Linux user is sort of like living in a house inhabited by a large family of carpenters and architects. Every morning when you wake up, the house is a little different. Maybe there is a new turret, or some walls have moved. Or perhaps someone has temporarily removed the floor under your bed" – Unknown**** ** ** Customer: I'm running Windows... Helpdesk: Yes... Customer: ...and now my computer stopped working ! Helpdesk: Yes, you already said that.**** ** ** The box said "Requires Windows 98 or better."**** So I installed Linux.**** ** ** I ran the Microsoft Malicious Software Removal tool**** but Internet Explorer is still installed on my computer.