Modifying viewCat_h.asp |
Post Reply | Page <12 |
Author | ||
Nothing
Newbie Joined: 02-November-2005 Location: Canada Status: Offline Points: 0 |
Post Options
Thanks(0)
|
|
I tried the [ code ] trick without any luck. the forum is still messing up the code.
maybe a text file will work better? 2005-12-06_164132_Forward-Back-Buttons.txt thanks nothing |
||
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
|
We didn't develop this application. So we are still learning how to use it ourselves too. It's a shame if you can't post ASP code. Did you try this?
Maybe it helps. Edited by earlyimp - 07-December-2005 at 2:23am |
||
Nothing
Newbie Joined: 02-November-2005 Location: Canada Status: Offline Points: 0 |
Post Options
Thanks(0)
|
|
Thansk for the tip.
Yes, i disabled the WYSIWYG editor in the settings options, tried to edit the code and no luck. I’ve cut and pasted from text documents, ms word, hand typed it and no difference. I also un-checked the “Enable Forum Codes to format post” option. didn't help. I don’t mind uploading the text documents, but if I were to leave this forum (delete my account on this site) would the files I’ve uploaded be deleted? Does searching the forum also search attached files? I’m using win2k server with firefox 1.5 and IE 6.0 and also winXP with firefox 1.1 and IE 6.0 test
<a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent -1 %>">
____________________________ <a href="viewCat_h.asp?ProdSort=<%=ProdSort%>&idCatae gory=<%=mIdCategory%>&page=<%=iPageCurrent+1%&g t;">____________________________ Edited by Nothing - 07-December-2005 at 5:01am |
||
BlazingPepper
Newbie Joined: 22-October-2005 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
|
Would it be possible for EarlyImpact to post a new viewCat_h.asp code with the page links at the top? This is something I really could use too and I'm not having any luck with the tweaking the ASP code either. Sounds like a lot of others would like this feature as well. It would be beneficial to everyone. Thanks in advance for your consideration about this.
|
||
ProductCart
Admin Group ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
|
There is an article in the knowledge base that might be helpful: http://www.earlyimpact.com/faqs/afmviewfaq.asp?faqid=321 Remember to check the knowledge base for answers to questions. We regularly update it with new FAQ's. We'll edit the interface of this forum soon to place a link to the knowledge base for here too. |
||
BlazingPepper
Newbie Joined: 22-October-2005 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
|
Thanks EarlyImp -- that worked for me.
|
||
blackdesk
Newbie Joined: 23-November-2005 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
|
|
works great once you fix all the extra spaces & junk :o]
anyone know where exactly i would paste this into the viewcat & viewcat_Brands to achieve the same result? thanx! |
||
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
|
For any of the list pages where you want to add paging at the top, the best bet is to look for code like the following which leaves some blank space after the breadcrumbs on the top of the page: [ Add a new table row right after this section and then put your page navigation in that new row. Remember that you need to change the name of the ASP page from the sample code to use the page you are working on, i.e. viewcat.asp, viewCat_Brands.asp, etc. If you are pretty comfortable with ASP, we actually recommend creating a generic PageNavigation subroutine with all the parameters you need and put it in an include file. (We pass the URL and the total record count.) Then include that file in any page where you want to have page navigation and just call the subroutine at the top and bottom of each category or product list. |
||
netprofits
Certified ProductCart Developers Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
|
|
Another idea...if you are really adventuresome...you can create one ASP page to replace the Featured Products, Best Sellers, New Arrivals and Specials pages. The pages are almost identical except for the SQL code used to generate the list of products. Then just pass a querystring to the new ASP page to show which products you want to display and use the query string to determine which SQL code to use. The advantage of this is that you can define the page navigation and custom view of products on one ASP page vs. 4 pages. That makes managing changes much simpler. If you want to see a sample of this, check out www.poshera.com and look at the hyperlink for any of the 4 pages on the left navbar that I mention above. They all use the same page to display products and just pass in the pagetype. The top and bottom navigation use a subroutine so the code isn't duplicated which makes any changes easier to manage. |
||
Post Reply | Page <12 |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |