Categories > TinyButStrong general >

As you can see the title of the software isn't linking to full description..help please

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Shawn
Date: 2004-12-03
Time: 22:39

As you can see the title of the software isn't linking to full description..help please

I'm including my test pages so you can what I'm trying to do, as you can see the titles aren't linking to the right page with the full desciption.  I'm new to TBS and PHP so take it easy.  Thanks.

more info


What's the solution ?  Thanks.

By: Skrol29
Date: 2004-12-03
Time: 23:32

Re: As you can see the title of the software isn't linking to full description..help please

Hello Shawn,

It seems to be an architecture problem much more than a TBS problem.

I suppose that the Detail page must show only one Software per page.
So you have to display the item from its ID and not from its page number. If you want to enable users to go to next Sofware Detail from the current page, then page number = sofware number. Software number depends on the order you've definined (sorted by ID, by date creataon, by name, ...)

When you want to go from the Detail page to the List page, then the best is also to not give the page number as parameter for the List page, but the Software ID. Then the script of the List page will calculate the page corresponding to this ID, and will display this page.

This way of coding makes the moves through pages more sturdy.
That's the method I've used for the TBS Forum : the URL takes the Message ID, and then the script calculates the page to display. The source code of the forum is available at the download page if you're interested.


By: Shawn
Date: 2004-12-04
Time: 01:32

Re: As you can see the title of the software isn't linking to full description..help please

Thanks. I'll check it out and see if I can figure it out.  Remember I'm a newbie, but I'll give it a shot.
By: Shawn
Date: 2004-12-04
Time: 02:02

Re: As you can see the title of the software isn't linking to full description..help please

Having a tough time getting this to work for me. : (
By: Shawn
Date: 2004-12-04
Time: 02:49

Re: As you can see the title of the software isn't linking to full description..help please

Can't figure it out.  Can you help me out a little bit. Thanks.
By: Anonymous
Date: 2004-12-04
Time: 18:12

Re: As you can see the title of the software isn't linking to full description..help please

Skrol, I have a temp fix for now.  What I did was create a new variable 'softwarecode' where PageNum=[softwarecode]  Seems to be working for me now, that is until I learn the TBS system and PHP a little better.

The only thing I have to figure out now is how to automatically increment the software code when the form is submitted. I'm guess that some kind of php code can be inserted into the form.  Not sure myself though. any ideas?