Jump to content

PandA.nl

Members
  • Content count

    312
  • Joined

  • Last visited

Everything posted by PandA.nl

  1. The HTML template for the BTS is targetted at users that have the BTS pre-installed but, for whatever reason, would rather edit an HTML template (in stead of a PHP enabled template). requires at least the BTSv1.5x (=> any BTSv.1.5 version will do) to be installed affected files: none (drop in template) estimated time needed for installation: < 1 minute It's an STS alike addon, it even uses the same tag names as much as possible, so (hopefully) switching and converting templates between the two will be easy. download: http://www.oscommerce.com/community/contributions,3126
  2. PandA.nl

    BTSv1.2 Support

    Thanks for sharing this Alex :-) I think it would be nice if your code change for the buttons would be added to the BTS readme.
  3. PandA.nl

    [CONTRIBUTION] JTS

    JTS (Just The Same template structure) Yesterday I was playing with the BTS, moving the files around a little, and a thought it would be nice to have a BTS version that would be organized a little bit more like the template structure in the current MS3 CVS version (currently only the admin side has a template structure in MS3 CVS, but the JTS is still about a catalog template structure b.t.w.). I decided to release it separately from the BTS and give it another name, allthough 99% of the code is the same as the previous BTS versions. Because this way the BTS may be still developed (by others) in it's own direction. While the JTS (Just The Same template structure) may be developed more towards MS3 compatibility (maybe even leaving full MS2 compatibitity one day?). Of course I have no way of knowing how the MS3 template structure will really be like, I'm just guessing by looking at the current CVS, and so I might be completeley wrong about it! I left out some of the bloat (I added myself ;) ) of the BTSv1.4, so the JTS is a more or less an in between version of the BTSv1.3 and BTSv1.4 (but not really fully compatible with either). Very small adjustements should/can be made to the main/default template file to be able to switch between those versions. Adapted testing templates are included. The template switching feature is still available. Only to be used on a clean osC2.2MS2 installation! No upgrade instructions available! Only use this if you know some PHP, HTML, CSS en osC. This is not a template system (like the STS is), just a structure! Adding MS2 catalog contributions to this stucture will be harder than on a clean osC installation! (admin stayed unchanged, so there won't be any problems with admin changes and contributions) It allows you to make major changes to your layout by edditing only one or two files, while still using normal PHP en osC code. No need to learn any $tags or something. Due to chicken and egg problem, the download url will follow later today. hth
  4. I like what I see :) Could you indeed upload the code?
  5. :lol: Did you notice how old this thread is btw? :-" Maybe better use this: http://forums.oscommerce.com/index.php?showtopic=71930 At least that one is about the latest versions :)
  6. PandA.nl

    HTML template for the BTS

    very odd indeed, I never experienced it myself or even heard about it before. The only .htaccess that is included in the BTS has a "deny from all" line. And that should show you something like: when you try to access the templates dir itself. Removing this .htaccess file might result in security problems btw! That it does not happen with the other templates does not suprise me, there is no logical reason that I can think of that a login screen would appear. I think it has something to do with your server settings or something. @Rhea: nice initiative to make these templates available :) . I haven't tried them yet, but I surely will do so soon.
  7. :blink: column 'o.orders_prefix ? You are talking about another contribution than this thread is about I am afraid :(
  8. PandA.nl

    BTSv1.2 Support

    I am afraid there's no template for that kind of boxes (the middle content boxes). You may assign it a css class and/or id (i.e. wrap a div around the box with class/id) and change colors, font-seizes and and borders and such trough the stylesheet. Or you will need to hack the box class (inludes/classes/boxes.php) if you need to make bigger changes.
  9. PandA.nl

    BTSv1.2 Support

    Thanks for telling, but the idea is that if you find someting out that you asked here, that you post *how* you did it. Else we get the same unanswered questions again and again :(
  10. PandA.nl

    HTML template for the BTS

    Thanks for letting us know steve :) Especially since I haven't had much feedback yet (which is not suprising, since the number of template structure users will be very limited, until ms3 has been released)
  11. PandA.nl

    HTML template for the BTS

    Ok, the new login box code is ready. Makinging it ready for the BTSv1.5 was very easy, but I decided to clean it up a little and add a forgotten password and create account link to the box as well (multi-langual). (it will probably released next monday, after Steve has tested it) Now back to an important issue: Once you've got the BTS ready loginbox, you may indeed add it like that to the php code template (main_page.code.php). Where you put it does not have any influence on how it works, but I would put it somewhere between the other boxes. But if you don't want the loginbox to appear when someone's allready logged in for example, and maybe you want the (included) to appear it's nicer to add it like this: //begin{loginbox} if ( (!strstr($_SERVER['PHP_SELF'],'login.php') and !strstr($_SERVER['PHP_SELF'],'create_account.php')) | tep_session_is_registered('customer_id') ) { if (!tep_session_is_registered('customer_id')) { require(DIR_WS_BOXES . 'login.php'); } else { require(DIR_WS_BOXES . 'account.php'); } } //end{loginbox} (just an example, change it depending on when you want the boxes to appear) Remind that the begin tag is very important "//begin{loginbox}" (it is used by the script). And now that the code is ready, you only need to add the same tag (but without the "//" so add": "{loginbox}") to your HTML template (main_page.html), where ever you the boxe(s) to appear.
  12. PandA.nl

    HTML template for the BTS

    The BTS boxes are a bit different from standard osC boxes, so you need a login box that is made for the BTS. I converted a login box contri to the BTS once, I will take a look, and probably adapt it so it is fully compatible with the BTSv1.5 (which should be easy)
  13. PandA.nl

    HTML template for the BTS

    Hi Steve, the login box ? Assuming your login box code should work, it could be possible that you have a login_box.tpl.php file (in the fallback/boxes dir or HTML/boxes dir) that messes things up. But which login box do you exactly have?
  14. PandA.nl

    Dynamic SiteMap

    tip: read a thread before you post to it :-"
  15. PandA.nl

    HTML template for the BTS

    I am not sure if it will help you to achieve wat you want but, if you want to edit the content files you can just create a "content" folder iside the HTML template dir and copy needed content file(s) from the fallback/content dir to it and edit it as you like (it will automaticly replace the file with the same name inside the fallback/content folder). But please note that these content files are not HTML templates! Also these only control the center middle part, not the main layout (but you probably already knew that?). hth (a bit :) ) Paul
  16. PandA.nl

    BTSv1.2 Support

    Hi Christina, are you still looking for a solution for this? Would being able to style each of those pages individually using CSS do too? (you can change allmost everything through the stylesheet ...... if your template is setup right). @yenju and other not knowing how to add sql data to their database: I think explaining how to add the sql would not be something for this BTS support thread. It is really very simple (it's more difficult to explain than to use), maybe you should search google (or this board) for "phpMyAdmin" or "phpMyAdmin tutorial", other ask your host about it.
  17. PandA.nl

    BTSv1.2 Support

    That's not a known issue. I think your best option is to re?nstall ms2 and then the BTS.
  18. PandA.nl

    HTML template for the BTS

    won't be very easy I'm afraid. The cre bts code differs too much, so their coders should create something alike to make it work. Or someone else who feels like to dig into the cre code of course. It's a bit to messy for me.
  19. PandA.nl

    A center shop contrib that WORKS?

    The content has to fit your total width. 2x150=300 for the columns 300 + 480 = 780px used by columns +your large image Total width is set to 800px (approx) So all padding and margins and the extra column (to the right of the large image) has to fit into( 800-780 =) 20 pixels only! That's impossible, it just does not fit.
  20. PandA.nl

    BTSv1.2 Support

    That's weird, I installed it many times and allways use FireFox (and/or Mozilla suite), but I never noticed any problem. What do you mean by different?
  21. Currently, using frames, every invoice starts with page 1 (and usually it's just page 1 of 1 for every invoice, but multiple page invoices would be numbered correctly too). I assume that using css pagebreaks your invoices are numbered like: 1 of 20, 2 of 20, 3 of 20 up to 20 of 20 (depending on the number of invoices and the number of pages per invoice of course). I'm not saying it's an absolute must to have the right pagenumbering, but for me that was the (one and only) reason to use frames.
  22. That's great, thanks for sharing it! Until recently I didn't really mind to update all orders one by one (i.e. to add a personal note to some orders) but I must say it's getting a bit boring whenever we have some more orders. B.t.w. the reason to use frames was to retain correct page numbering (changing or disabling pagenumbering in the browser settings isn't an option for me). But other than that using css pagebreaks is much nicer than using frames of course.
  23. PandA.nl

    HTML template for the BTS

    Hi tenshu, I took a quick look at the cre code yesterday, but it didn't make me feel optimistic I'm afraid :( . It looks quite messy to be honest (but a closer look could possibly change my opinion). Maybe one of the programmers over there could give it a shot, the "HTML for the BTS" script itself is quite clean. And, not sure if you know it, but we can't support cre at this board, so discussing details is not possible here anyway. I've got a new version in my mind by the way, the current version makes changing the template php code a bit more confusing probably, if I find some spare time I hope to make that part a lot easyer. The idea is to create an extra template, alike the HTML template, which contains all php code (marked by the same tags as are being used in the HTML template).
  24. PandA.nl

    STS for the BTS

    The STS-for-the-BTS is targetted at users that have the BTS pre-installed but, for whatever reason :'( , would rather use the STS to edit or add their template(s). First (and maybe last ;) ) version, so please beware of bugs and backup before installation! Please note that I'm not an STS user myself, I really don't know much about the STS, I only copied and pasted its code to make it easy to install on top of the BTSv1.5f (installing on other BTSv1.5, and even older, verions should be quite easy too). Surely it's possible some or several STS features won't work as they should or even won't work at all (as I don't know how the STS should work I really would not know). B.t.w. only basic php knowledge is required to do the same, and more, using the BTS as is possible with the STS. Feedback welcome, but please don't ask me anything about the STS itself! download link will follow...
  25. PandA.nl

    STS for the BTS

    That's strange, I do not know cre very well, but $content has been in use by the BTS since the first version and stayed in use until today. As far as I know cre is based on the first BTS version, I think some changes have been made but I wouldn't know what the changes are. Btw, recently I uploaded the "HTML template for the BTS" http://www.oscommerce.com/community/contributions,3127. This also adds a pure HTML template to the BTS. I think it's a much better choice, because it runs a lot faster and is specially written for the BTS (v1.5x). This "STS for the BTS" was just an experiment, but the "HTML template for the BTS" is the one I hope to be able (depending on the amount of spare time I'll have) to develop and support. Anyhow for both systems, the best way would be to upgrade to the BTSv1.5 first. Not sure if it's easy in this case, maybe the upgrade instructions included in the BTSv1.5 could help?
×