Yep, it's a bug, sorry. It prints the image identifier in the database instead
the image number inside the article. I'll fix this for 2.6.2.
Mugur
--- wrote:
> Author: jimmybondo
> Link: http://code.campware.org/phorum/read.php?8,4475,4475#msg-4475
>
--------------------------------------------------------------------------------
>
> I know Mugur said he fixed this before, but there seems to be a problem. For
> some reason, when I do this:
>
>
> s = new slide();
> s.src = "/cgi-bin/get_img?";
> SLIDES.add_slide(s);
>
>
> s.src becomes
> "http://foghorncamp.usfca.edu/cgi-bin/get_img?NrImage=79&NrArticle=61"
> Not only does the "&" throw it off, but the image is wrong. The image
> number points the the number of the actual image, not the number of the image
> within the article which is required. If formatted correctly
> ("http://foghorncamp.usfca.edu/cgi-bin/get_img?NrImage=1&NrArticle=61"), it
> yields the correct image. Is there a place I should file a bug report, or is
> this a problem on my end?
> Thanks!
> Jim
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Please copy the attached file (actions.cpp) to the directory:
implementation/parser/parser inside the Campsite sources directory and type
make install.
Regards,
Mugur
--- wrote:
> Author: jimmybondo
> Link: http://code.campware.org/phorum/read.php?8,4479,4485#msg-4485
>
--------------------------------------------------------------------------------
>
> Any chance you can tell me how/where to fix it? I really need that element,
> my first issue comes out on the 7th.
> Thanks,
> Jim
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
I can't see any attatchment, any chance you can email it to me? My email is jim@jimswebservices.com. Also, will I need root or any other commands to install this?
Thanks a lot,
Jim
Alright, I installed it, and it almost work perfectly. For some reason, it still outputs & as the variable delimeter, instead of just &. I have fixed this so far by using the replace() javascript function on the string, and it works fine. I just wanted to give you a heads up for the next version that there is that bug.
Thanks for all the help!
Jim
--- wrote:
> Author: jimmybondo
> Link: http://code.campware.org/phorum/read.php?8,4479,4532#msg-4532
>
--------------------------------------------------------------------------------
>
> Alright, I installed it, and it almost work perfectly. For some reason, it
> still outputs & as the variable delimeter, instead of just &. I have
> fixed this so far by using the replace() javascript function on the string,
> and it works fine. I just wanted to give you a heads up for the next version
> that there is that bug.
> Thanks for all the help!
> Jim
>
> --
> Sent from Campware Forums
> http://code.campware.org/phorum
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com