TinyPortal
Development => Feedback => Bugs/Errors => Topic started by: Akyhne on May 13, 2009, 01:00:43 PM
This is ok. There's a space in '" ' to separate target="_blank":
<a href="'. $scripturl. '?cat='.$cn['IDtype'].'" ' .( $cn['newlink']=='1' ? 'target="_blank"' : ''). '>'.$cn['name'].'</a>';
This is not ok. A space is missing in '"' to separate target="_blank":
<a href="'. $scripturl. '?page='.$cn['IDtype'].'"' .($cn['newlink']=='1' ? 'target="_blank"' : '') . '>'.$cn['name'].'</a>';
There are 5 or 6 of these errors in TPBlocks.template.php
cat and page arent the same
What you show as correct are for "cat" and what you show as wrong are for "page"
cat and page don't need to be the same G6. This person is showing an error in the code. They have given an example of code that is right, and then an example of the code that is wrong. Thanks for pointing that out akyhne, I'll try to jump in and make those changes so they get released in the next beta.
- Missing spaces in the Menu manager block code. Fixed for v1.0 beta4
Apparently Bloc's $foo is far faster than I could have imagined.... I haven't even opened my editor yet... lol
Ah... so...
Then...
If Bloc is the $foo Master... do this mean that IchBinâ„¢ is the Grasshopper? ???
lol, saw it earlier and as it was easy corrected: quickly added. :)
Quote from: Ken. on May 13, 2009, 05:38:33 PM
Ah... so...
Then...
If Bloc is the $foo Master... do this mean that IchBinâ„¢ is the Grasshopper? ???
That would indeed be the case. lol
Quote from: IchBinâ„¢ on May 13, 2009, 06:58:12 PM
Quote from: Ken. on May 13, 2009, 05:38:33 PM
Ah... so...
Then...
If Bloc is the $foo Master... do this mean that IchBinâ„¢ is the Grasshopper? ???
That would indeed be the case. lol
LOL... How you doing grasshopper... :2funny:
but :
$foo != $mightyFoo
Ah, sorry, i thought the code were diffrent for diffrent calls. Live and learn :P