[RESOLVED] - Calling all Coders - Help needed ... !!
|
Posted
#86668
(In Topic #17710)
|
|
|---|---|
|
Community saint |
I first used the $MATCH_KEY_MATCH trick around 2006, many versions ago, and tried to insert the edit in GLOBAL.tpl. It worked. Too well. It zapped the right_panel for ALL the pages. Bummer!
was changed to:
to try to display the member profile page (with the pretty new tabs I built - aw! c'mon!), and it sure as hell worked, but I don't think my syntax is specific enough. Anybody got the smarts to dig me out of this hole?
Last edit: by Fletch
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
Community saint |
Did you say "MATCH_KEY_MATCH,welcome:members:type=view" Worked. As right now? I remember that Chris one day helped me out on one of my delving into tempcode mentioning that "welcome" being the beginning of that zone does not have to be stated." I would deduct from this that if it is stated than that is why it works "so well" removing panel_right on all pages of the Welcome zone. Try this instead: "MATCH_KEY_MATCH,:members:type=view". I maybe completely off here, but it is probably worth a try. Jean |
|
Posted
|
|
|
Community saint |
Thanks, Jean. Tried dropping 'welcome' (the zone). Didn't work, but gave me a bit more insight into TEMPCODE. I think I was also missing (bits in red), and I am almost convinced that there should be an ID in there, but I am at a loss as to how to give a core page an ID …
Still no closer to resolution, but it certainly keeps me out of the bars and off the streets!
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Community saint |
You need a portable or tablet so you can work on this while at the bar. It's amazing the way alcohol liberates the mind when working on impossible problems. Bob |
|
Posted
|
|
|
Community saint |
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Community saint |
digiflash | Photography,Webdesign and digital art community (dutch) |
|
Posted
|
|
|
ocStaff (admin) |
In recent versions we've made Tempcode very slightly easier, in that the symbols don't need so much chaining to do 'OR' stuff – it's built into 'EQ' to automatically 'OR' against any of the parameters passed to it. With that in mind I'll try and record a quick Jing video of my thought process here. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
2012-06-07_2230 - ocProducts's library 2012-06-07_2236 - ocProducts's library Code
{$SET,helper_panel_width,{$?,{$HIDE_HELP_PANEL},26px,275px}}
I haven't tested this. This just what I ended up with after going through my thought process. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
I've watched the videos and find the process much clearer now. I guess that if Fletch wants no panel_right on some of those pages, he could simply give it a width of 0px if he were to keep the code as is. I've got to go for dinner now, but I want to try this formula later on and see to it between Fletch and I that it is posted on the Community docs. Thank you Chris for your time. |
|
Posted
|
|
|
Community saint |
I actually followed ALL the reasoning, and I am so pumped up that I am going to attempt this 'fix' on the site I am trying to work on. If I am successful, I will accede to your request and add it to the community docs with links to the two Jing vids as explanatory information. For the moment …
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Well-settled |
I have just watched both of them tutorials, and have got to say WOW!!, Chris you made something (what I would term as a non coder) what looked so complex and turned it into something what looked like a doddle to accomplish ha, amazing. Now all you need to do is drop all us not so skilled users a tick config box on each page we want this set, haha Just Joking! |
|
Posted
|
|
|
Community saint |
Hey, I liked that comment! You site has been sorted, and I am here to report to Chris that the 'fix' was worth its weight in GOLD. I needed to make a couple of minor adjustments to reflect the page(s) I needed for this one, and it all works like MAGIC! P.S. Reminder to self - get it into the 'Community Docs'
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
Community saint |
Thanks for the great videos. Still a bit above my head but the new way is much more approachable by mere mortals. It is clear to me that you are one of the most conscientious and open-minded developers I have known, always willing to consider trade-offs and willing to explain. Kudos!! Bob |
|
Posted
|
|
|
Community saint |
Yeah, that 0 parameter was something I overlooked the first time, but I got there in the end! No thanks to me for bringing it up. I remembered that 'back in the day', can't remember the version, there were several pages I wanted displayed in a similar fashion, and Chris and Philip (I think it was Philip) spent hours on my site working this little bit of magic. So I thought it might be as well to resurrect it for those that were late to the party. And thanks to Chris, this time it has been fully explained and should come in pretty handy for several users - even if they don't acknowledge it.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Community saint |
I had a quick look at it and was getting utterly confused In any case it was late, my brain was shutting down. So I left it. I was so relieved when in the Jing Chris said "Complex lump of code that even I don't understand". It meant I wasn't totally loosing my code reading abilities.
Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
|
|
Posted
|
|
|
Community saint |
I'm glad that Chris is looking at the trade-off between efficiency and approachability. I think that the example in the videos, if adopted as standard, will make it much easier for people to get more creative with designs which is a big win for ocPortal. Bob |
1 guests and 0 members have just viewed this: None
Control functions:






Last edit: by 


