Jump to content

mitsos1os

Members
  • Posts

    43
  • Joined

  • Last visited

1 Follower

About mitsos1os

  • Birthday 03/03/1989

Profile Information

  • Location
    Greece
  • Activity
    Developer

Recent Profile Visitors

6,070,204 profile views

mitsos1os's Achievements

Newbie

Newbie (1/14)

39

Reputation

  1. Hi, I have created a module for Prestashop v1.5- v1.6 that makes customers inactive after registration so that the admin must enable them in the backend. Also in its configuration there is an option to redirect the customers to one cms page that you may have created. Probably an informative message with instructions.. Feel free to customize. Enjoy!!! Note: Beware with the use of this module, since if you already have an override of the class Customer and of the AuthController, theywill be deleted. activatecustomer.zip
  2. Urdin, this is what I wanted to accomplish. There is no need to correct that. Because if you save before extra tab is loaded you will miss its content
  3. Simpleblog looks promising! I must admit I haven't seen it again.
  4. Good! Any improvement is welcome! Can't wait to try the final version of 1.6 Basic blogging with blog categories and comments, with blog layout and read more inks, would be a very good start!
  5. Hi guys... I am using Prestashop to develop e-commerce sites. And I must say, I am quite satisfied with its overall experience and out of the box ecommerce features. However, there is one thing that Prestashop is really lacking.... A good blog/cms system... It is now very crucial to include articles in your e-shop to inform and attract as many customers as you can and Prestashop's CMS doesn't really cut it... This is a big disdvantage compared to other solutions, like Joomla + Virtuemart or Drupal Commerce... If Prestashop was to have a complete cms system with account privileges, blogging and commenting for users,,, I think its out of the box experience would be unbeatable for an online cart... Is there any chance we might see something like this in v 1.6 or in an upcoming version? P.S. Just stating my opinion here... Feel free to comment!
  6. Hi guys.... I am in the process of creating a group of wholesale customers in my shop... However I am now facing a problem... I will tell you exactly what I want to accomplish and what my problem is for you to bettern understand. I want to create a customer group called wholesale customers that will get a 40% discount... I can accomplish this by adding a category discount in the customer group... I also want to have a discount for regular customers from time to timein the amount of 10% Here is my problem... If I enable the discount 10% for all customers and leave it to "all group" appliance, then for the wholesale customer, he will also get the group 40% discount and the 10% discount. I do not want this to happen.... If I restrict the extra 10% discount only to the customers group, then the visitors won't be able to see the discount unless they register or log in.... The obvious solution is to create the same price rule for customers and visitors and then treat wholesale customers on their own whatever way I want... What I am asking if there is a way to either apply a rule to multiple groups without recreating it... For example the 10% discount for both customer and visitor .... (maybe a multiple choice checkbox presta team????) It is really not very efficient to duplicate cart rules just to apply them to more than one customer groups... Or maybe a customer group relationship could help, for example one group beeing the parent of an other, so the child inherits its parent's options.. Especially the multiple choice for cart rule appliance I think it is very important... Any other suggestion??
  7. Ευχαριστώ πολύ για την πρότασή σου; Έχει εγκατάσταση Prestashop στη TopHost;
  8. Καλησπέρα παιδιά. Ήθελα να κάνω μία ερώτηση σχετικά με το hosting.... Έχει κανείς από εσάς κάποια εμπειρία με ελληνικό Hosting και επιδόσεις Prestashop; Κατά προτίμηση επαγγελματικό με επισκεψιμότητα και ικανοποιητικό αριθμό προϊόντων 100+ για να μπορεί να μετρηθεί ή απόδοση.... Γενικά έχετε να προτείνετε κάποιο host που είστε ευχαριστημένοι με κάποια εγκατάσταση Prestashop
  9. Hi, I guys. I have developped a module about extra product tabs on each product. You can find more details here: http://www.prestashop.com/forums/topic/292948-free-exrta-product-tabs-module/ I want to ask this: Whenever you open a product edit page, prestashop loads its tab content from the sidebar like basic info, prices, seo etc.... After all tabs are loaded it reveals the save and save and stay buttons. However during tab loading it does not take into account any extra content like my tab 'Extra product Tab'. So the save buttons appear before my tab is loaded. So if you simply make a quick change before the loading is complete and you press save, my tab contents will be still empty and it will post an empty variable regarding my module, so that's why it will delete the already existing content. Because according to my implementation, it will think that you erased the old content and simply submitted blank! If you just give it some time to complete the loading process around 10 seconds, then everything is ok.. So my question is, how can you make prestashop include any extra tabs in the product back office in the loading process and then dislay the save buttons.... Right now as a solution I added some code to my module that hides the save buttons and when my tab is loaded I reveal them again.... Any other suggestions? Thanks
  10. Ok replying again to myself... I found the solution... The problem was that I was using the function tinySetup in my .js file which I loaded using the hook hookActionAdminControllerSetMedia which inserted the file but it was quite early in the order of javascript files and the tinymce javascript files were after so their functions were unknown. Almost broke my computer from my frustration haha...... Anyway you can mark it as solved!
  11. After resting through the night, frustration went a bit away and took a look again with a more relaxed way!!! Anyway, searching through tinymce documentation I found that the setup callback is used to hook events on the editor :http://www.tinymce.com/wiki.php/Configuration3x:setup So that would be the correct way to use it, use setup to add an onKeyUp.add event to the editor to call the TriggerSave() I mentioned earlier. That would be enough. However as soon as I mention in my code the setup: portion of the tinySetup function my javascript file isn't detected in the browser propably of some conflict.. So any ideas here? Why can't I use the setup callback in my own tab's editor initialization?? Thanks
  12. Hi guys. I am creating a module which adds a tab to the product admin panel. I have a textarea where I want the tiny mce editor to appear. I achieved this by running this javascript command when my tab is loaded tinySetup({ editor_selector :"MyTextAreaClass" }); It works fine. However I noticed that in the informations tab it uses some complex javascript to immediately update the hidden text areas with the formatted content of the equivalent tinymce editors. This happens by binding specific events of keys pressed in the editor in order to trigger the update of the textareas... this takes place with the following code found in forms.tpl tabs_manager.onLoad('Informations', function(){ tinySetup({ editor_selector :"autoload_rte", setup : function(ed) { ed.onInit.add(function(ed) { if (typeof ProductMultishop.load_tinymce[ed.id] != 'undefined') { if (typeof ProductMultishop.load_tinymce[ed.id]) ed.hide(); else ed.show(); } }); ed.onKeyUp.add(function(ed, e) { tinyMCE.triggerSave(); textarea = $('#'+ed.id); max = textarea.parent('div').find('span.counter').attr('max'); if (max != 'none') { textarea_value = textarea.val(); count = stripHTML(textarea_value).length; rest = max - count; if (rest < 0) textarea.parent('div').find('span.counter').html('<span style="color:red;">{l s='Maximum'} '+max+' {l s='characters'} : '+rest+'</span>'); else textarea.parent('div').find('span.counter').html(' '); } }); } }); }); I really liked this behaviour and I tried to imitate it in my tab. I took the portion of tinySetup and tried to adjust it to my needs. Here are where the problems begin. First of all, I cannot find what the setup : object in the tinySetup function is,,,, I can see that through it, the calls to other functions are used, but I cannot understand where it comes from. Also if I just use this code then my javascript file containing this code becomes invisible to the browser and not loaded... Still don't know why... Also I cannot understand where the ed variable (editor) comes from. Where it is initialized.... Anyway the bottom line is that I would like to have the immediate update of the textarea with the value of the editor... How can we accomplish this? Thank you for your time
  13. If you did this correctly, it can't be gone and then come back.... Maybe you installed an other module that overrides the default one and it has the same problem
  14. Yes I am sorry, I negleted basic information... the site is www.disconto.gr It does happen in all browsers... Prestashop version is 1.5.4.0 and the same thing is happenning with ps dev mode on, I think it has something to do with the way the template is designed
×
×
  • Create New...