Jump to content

Rigadin

Members
  • Content count

    138
  • Joined

  • Last visited

Everything posted by Rigadin

  1. Rigadin

    [contribution] STS PLUS v4

    The product listing is generated here: catalog\includes\modules\product_listing.php and unfortunately it cannot be changed by template, you'll have to modify the php code. - Rigadin
  2. Rigadin

    [contribution] STS PLUS v4

    You need $headcontent# in the header of your template, it will add the javascript code needed for the popup. You can find an example in one of the template delivered with the contribution. - Rigadin
  3. In the products/jpsy.php, replace the function repost_values() by this one: function repost_values () { // Repost all values that are not arrays if ($this->is_image_handler) { foreach ($this->pInfo as $key=>$val) { if (!is_array($val)) echo tep_draw_hidden_field($this->code .'['.$key.']', stripslashes($val))."\n"; } // end for each pInfo } } // end method And tell us if it works. What is your php version? Mine does not give any error with this module. - Rigadin
  4. You are using ACA2 but there is still a module for ACA1 in your modules/categories folder. ACA1 modules do not have the "check()" function and that gives this error. Remove all files and add them one by one to see which one is wrong. - Rigadin
  5. Rigadin

    [contribution] STS PLUS v4

    To Helmi: Look what is the html code of the link to #top. Probably your authoring software refers the link to sts_template.html#top or something like that, so the template opens. The link must be created dynamically (new tag) to refer to the actual page index.php#top. To drs101: You need to add a new contribution for that. For example contribution 1415 allows linking products to each others. If you use templates for product info page, you'll have to create a new tag for this new infobox, otherwise just install the X-ref contrib into product_info.php and it will work. - Rigadin
  6. MODULE_ACACAT_INSTALLED is the variable that holds the names of the category modules installed. I suppose that you have no category module installed and this variable has never been set, even not empty. I propose to try this: - Go to modules, ACA for categories and look do you have any module available here. If yes, install and remove one by clicking the corresponding button. Now the variable should be set. - If you don't have any category module, take one for example from the Header Tag Controller contribution and press the install button. Press remove after that if you don't want to keep it, but you said you are using Header Tags, so I think you should use ACA modules for this contribution (products + categories). Ultimate SEO URLs does not interfere with ACA. - Rigadin
  7. Rigadin

    [contribution] STS PLUS v4

    Switch off STS+ and check if problem is same. Update to STS+ last version, a problem with base href has been solved. - Rigadin
  8. Rigadin

    [contribution] STS PLUS v4

    Popup problem in product_info template: STS PLUS v4.0.7 has now a tag to place on your product_info template to display image and link to popup. Same code as in stock osC. Maybe it helps. - Rigadin
  9. Rigadin

    ACA 2,0

    The sql file in v1.1 was for the configuration parameters of HtmlArea Wysiwyg editor. You don't need to remove them from db if you are still using HtmlArea. Compatibility of modules: modules written for ACA1 cannot be used with ACA2. If you update from ACA1 to ACA2, you have to delete your old modules ACA1 and install instead the corresponding ACA2 module. - Rigadin
  10. I'll probably have a look one day, but if you need it fast, 2 choices: try to make a module (I can give the directions), or install this contribution over ACA, like you would do without ACA. ACA2 is more friendly than ACA1 and should be easier to find where to make the changes. - Rigadin
  11. Rigadin

    [contribution] STS PLUS v4

    Unfortunately the "Maincontent" of index.php is not coming from a template but from index.php. If you want to change it, you have to dig into the php code, change some styles in the stylesheet.css, look for a contribution that does what you want or create a new STS PLUS module for index.php. For now you can make a content template only for product_info.php. - Rigadin
  12. This has been corrected in STS PLUS v4.0.7 - Rigadin
  13. Rigadin

    [contribution] STS PLUS v4

    I think you are editing the wrong template. The text 'This is the template index.php' is a text written directly on the template itself, so it should be very visible. There are several templates in the 'test' folder, and they are used depending on the page you are viewing. You can add your logos straight on the template, or create a new variable in sts_user_code.php: $sts->template['catalogo2']= 'Your html link to image here'; and then use $catalogo2 on your template. - Rigadin
  14. Rigadin

    [contribution] Simple Template System (sts)

    I mean that the product listing layout is built inside a php file, STS only reads the result. You can remove some columns and change their order from the admin, but if you want something really different then you have to make php code of find a contribution that do what you want. :D do they really think that all shops made with STS are running on unmodified osC without extra contributions?? You can install nearly all contributions, but you have to understand how to create the extra variables you may need. There is an example in sts_user_code.php. For the CSS I don't know, I'm not expert. - Rigadin
  15. Rigadin

    [contribution] STS PLUS v4

    A just posted version 4.0.7 on the contribution page. Main things are: - Should solve problem of wrong base href when using secure server. - Added new variable for product image popup JS on product info templates. - Added more info in debug mode. To Alane: The correct way to add is like your first example: $sts->template['imagepath'] = 'images/default_template'; Take the new version and add sts_debug=debug in the URL, it will display which files are included, check that sts_user_code.php is included. If not, add it to the module config in admin. - Rigadin
  16. Rigadin

    [contribution] Simple Template System (sts)

    sts_template.html is the default template, it will be used for pages that do not have a specific template. You don't need other template to make STS work, but all your pages will have same look. If you want to make index.php a bit different than other pages, you can create index.php.html and it will be used for all categories. You can also start to make different templates for each category. Same with product_info.php where you can have one template for all products, as well as a different template for each product. But: The middle of the page where the important informations show up, commonly called 'content', is coming from the php script. If you want to change the layout of the product list in on index.php page, you'll have to change php code. The only exception to that is for the product_info.php page, there is a way to build the content with placeholders too. I think you should start to work with the default template only, to get used to STS, then start to make more templates. That's only my opinion. - Rigadin
  17. Rigadin

    STS Plus not showing in Modules

    Have you made the modifications needed in admin/modules.php? - Rigadin
  18. Rigadin

    STS PLUS - Help, please

    Hi, Check that: - In the admin, you must see 3 STS PLUS modules. - Disable the default module, you should see your site like before, without STS PLUS template. If this is not working, you have a problem with your install. You can add &sts_debug=debug to the page url and you'll see much more informations about STS PLUS, like which template is in use and the content of the different STS PLUS variables. Check that template exists and contains some placeholders. - Rigadin
  19. Rigadin

    Declare new(custom placeholders)

    Hi, In sts_user_code.php, add this line: $sts->template['VARIABLE_NAME'] = '' . ANY_STRING_FOR_MULTILANGUAGE . ''; In the same file you will also find an example about adding an infobox. This example was wrong before v4.0.6 - Rigadin
  20. Your 'n' are coming from the includes/header_tags.php file. Look at this: echo ' <title>' . $tags_array['title'] . '</title>' . "\n"; echo ' <META NAME="Description" Content="' . $tags_array['desc'] . '">' . "\n"; echo ' <META NAME="Keywords" CONTENT="' . $tags_array['keywords'] . '">' . "\n"; echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '">'."\n"; //NOTE: If you want your email add to your source code, remove the two slashes on the //following line of code. This serves no useful purpose and is not suggested tobe used //echo ' <META NAME="Reply-to" CONTENT="' . HEAD_REPLY_TAG_ALL . '">' . "\n"; echo '<!-- EOF: Generated Meta Tags -->' . "\n"; They are the "\n" but I don't know why they are showing up. Check in your file if there is something wrong, and the fastest is to just remove them. I think. - Rigadin
  21. Some clarifications about Header tags and STS... - STS PLUS is a different contribution than STS. The purpose is the same but the code is quite different. You can find STS PLUS here: http://www.oscommerce.com/community/contributions,3893 - To have Header Tags working with STS PLUS, you need to install a module. You can get the module from the same page as the Header Tags contribution. - If you use STS or STS PLUS, you do not need to modify all files in catalog to include the Header Tag file. If you do, you'll get the following error: Cannot redeclare tep_get_header_tag_products_title() - You can solve the problem by changing back all files in catalog, or use include_once instead of include in the Header Tag module for STS PLUS. - Rigadin
  22. Rigadin

    [contribution] STS PLUS v4

    For the big white space, as far as I remember, the new products box is part of the $content, which comes straight from the php script of the page, STS PLUS does not influence on that. Switch off STS PLUS and look the result. For the popup that does not show up: sorry but I never had any problem with popup when using STS or STS PLUS. Is there any JS error showing up? Any contribution installed that modifies the way images are handled? Is it on a product_info template? For the last name tag: I don't see any other solution than a new query. - Rigadin
  23. There is a new version 2.3 available on this contribution page. Install instructions have been corrected, as well as a bug in class product.php concerning duplication of products. [207] Header Tags Controller module has been released some while ago. For those interested. - Rigadin
  24. Rigadin

    [contribution] STS PLUS v4

    If you have installed STS PLUS correctly, you should have a file named sts.php in the folder catalog/includes/classes/ It looks like you don't have it. For the admin warning, it seems that you have copied a paypal payment module but not its corresponding language file. Do you have this file: catalog/admin/includes/languages/english/modules/payment/paypal_ipn.php ? You need it. I presume that this error does not come from STS PLUS installation. - Rigadin
  25. You are right, the instructions are wrong. Your solution is ok. The instructions should read "ADD before it". Thanks, Rigadin
×