Jump to content

burt

Team
  • Content count

    14,859
  • Joined

  • Last visited

  • Days Won

    604

Reputation Activity

  1. Like
    burt got a reaction from Omar_one in Phoenix, constructive feedback + bug hunting   
    Should anyone wish to see the proposed new layout for the checkout pages;
    https://template.me.uk/phoenix/checkout_shipping.php
    You'll obviously need an account and something in your cart to get there!
    Please feel free to give constructive feedback. 
    Do be aware that only the shipping and confirmation pages show the proposed new style, the rest are not yet converted.
  2. Like
    burt got a reaction from Smoky Barnable in Wondering about Hooks   
    https://github.com/gburton/CE-Phoenix/blob/master/includes/application_top.php#L104-L106
    These three lines "fire up" the Hooks System.
    You then need to;
    register your Hook call your Hook There is a pre-placed register;
    https://github.com/gburton/CE-Phoenix/blob/master/includes/application_top.php#L422
    Which means that if you want to do something on (eg) conditions.php you can without performing a "register" (you would obviously still need to "call" your hook).
    For a fairly simple example of registering your own hook, and calling it, see;
    https://github.com/gburton/CE-Phoenix/blob/master/checkout_shipping.php#L15
    and
    https://github.com/gburton/CE-Phoenix/blob/master/checkout_shipping.php#L335
    Which works with;
    https://github.com/gburton/CE-Phoenix/blob/master/includes/hooks/shop/progress/progress_hooks.php
    Have a play.  Hooks are very powerful, more so than Content Modules in my opinion.
  3. Like
    burt got a reaction from peterpil19 in Ancient Coin Traders - Phoenix   
    Looks good!  I'm not a super-fan of carousels but that's just a personal preference.
    There is a stray ?> just above the Footer area (only on the main index.php page) - not sure where that's coming from though.  Maybe the index.php language file?
  4. Like
    burt got a reaction from Mikepo in TinyMCE   
    Great stuff @puddlec
    This addon shows one of the first uses of the Hooks, chapeau!    Hooks are incredibly powerful.
  5. Like
    burt got a reaction from valquiria23 in TinyMCE   
    Removed Off Topic Posts.  Thanks all.
  6. Like
    burt reacted to puddlec in TinyMCE editor for admin   
    This addon adds support for the TinyMCE editor within the admin section.
    what does this addon do?
    it will add the editor to the following textarea's 
    category description, manufacturers description, product description
    works with multi languages stores.
    requirements
    Phoenix
    How to install
    Upload the files yes it is easy as that.
    no files need to be edited it uses the hook system, to add the code needed.
    How to change what appears on the toolbars, and plugins used
    Just go to the tinymce.php hook file
    located at catalog\includes\hooks\admin\siteWide\
    you will see a block of code for plugins (line 61)
    and for toolbar 1 & 2 (line 67 & 68)
    the settings provided are what i use myself.
    Got an TinyMCE API key?
    just change the script source (line 53)
    How to add extra textarea's
    example add TinyMCE to the order comments box
    add orders.php  to (line 44)
    like so
    var $good_pages = ['categories.php', 'manufacturers.php', 'orders.php']; then add the name of the textarea (comments) to the selector (line 52)
    selector: 'textarea[name^="products_description"], textarea[name^="categories_description"], textarea[name^="manufacturers_description"], textarea[name^="comments"]', // what textarea's do we want to load TinyMCE on  
     
  7. Like
    burt got a reaction from peterpil19 in I dont like Github   
    Thanks for the feedback.
    I need to maximise my time - and that's how I do it.  If there were more people willing to pitch in (either by producing good code, or by allowing coders to take time to produce good code)...it'd be better and different.  
  8. Like
    burt got a reaction from Mikepo in TinyMCE   
    Great stuff @puddlec
    This addon shows one of the first uses of the Hooks, chapeau!    Hooks are incredibly powerful.
  9. Like
    burt got a reaction from Mikepo in TinyMCE   
    Great stuff @puddlec
    This addon shows one of the first uses of the Hooks, chapeau!    Hooks are incredibly powerful.
  10. Like
    burt reacted to René H4 in TinyMCE   
    @puddlecAh, never saw that! It works well, tested it a few times. Thanks again!
     
  11. Thanks
    burt reacted to puddlec in TinyMCE   
    now available for download
    https://apps.oscommerce.com/1VCAj&tinymce-editor-for-admin
    support thread
     
  12. Like
    burt got a reaction from peterpil19 in Phoenix, constructive feedback + bug hunting   
    Please be aware that if you've made a post that you see as a bug..it may just disappear (temporarily) once it's been fixed in core.
    If you want to have more chat about something that has disappeared...it's a Github Issue as that means it has gone "technical".
    I do things this way to maximise the time I can give (remember that I do 99% of the heavy lifting) to making Phoenix better, moving forward day by day.
  13. Like
    burt reacted to puddlec in TinyMCE   
    this is what i managed to achieve.  With my first attempt at using the hook system
    i'll possibly tidy it up a bit on Sunday. and upload it as an addon
    basically it just works just like the hooks on the shop side.
    works on all category description, and product descriptions  textareas, regardless of how many languages you use.
    in regards to the themes / plugins / toolbar you can just add / remove them as you see fit (the settings you see in the file are the ones i use myself)
    it does with work the tinymce CDN (if you got an API KEY), loading locally, or via another CDN (using an CDNJS just to show it works),  you can use whatever source you want.
    the same basic idea can also be used for ck editor, or any other javascript library you think you may need within the admin.
     
     
    tinymce hook.zip
  14. Like
    burt reacted to puddlec in TinyMCE   
    Done a little bit of it.
    Getting the code added to the admin.
    Using the admin hook.
    Just can't work out how to target specific textareas.(could only see name, no I'd or class)
    Or would it be better to just include it in all textareas?
  15. Like
    burt got a reaction from peterpil19 in Phoenix, constructive feedback + bug hunting   
    From this point forward, please only talk about;
    http://template.me.uk/phoenix/
    If you find a bug in your own installation, please recreate it on the Demo site (if you can, you might not be able to). 
    Then post up screenshots / explanation of the Demo site, so that I know precisely what to and where to go to find it.
    Thanks.
     
  16. Like
    burt got a reaction from valquiria23 in Phoenix Announcements   
    Phoenix 1.0.2.3
    Thank You to Phoenix Club members for making the hard work much easier.
    https://forums.oscommerce.com/clubs/1-phoenix/
    Demo Site:
    https://template.me.uk/phoenix/index.php
    This Update;
    align items in form
    TY @raiwa add extra siteWide hook call
    TY @raiwa modernise radio modernise tickbox Disallow non-buyer ability to write review
    TY @Heatherbell Update FontAwesome to latest version Add New Password Forgotten Module Fix Manufacturer Info sidebox Allow Shopowner to choose layout of Sub-Category List Fix output of category description
    TY @Moxamint Minor updates to some boxes Update version to 1.0.2.3 SQL to run prior to update
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Allow all Reviews?', 'ALLOW_ALL_REVIEWS', 'false', 'Allow customers to leave reviews on all products (true) or only on products they have purchased (false)', '1', '22', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now());
    How to Update if on 1.0.2.2
    Download this Zip: 1.0.2.3.zip Unzip it Upload it Go to admin > tools > security checks and correct any listed problems How to Update if on earlier version
    Find version you are on Go back through this discussion and perform updates to get to 1.0.2.2 Then follow "how to update if on 1.0.2.2" instructions After Update
    Install new "Forgot Password" content module (login) Uninstall AND then Re-Install "Sub Category List" content module (index_nested) Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into this update - OR -
    You can download and install a brand new 1.0.2.3
    clicking the green "clone or download" button at https://github.com/gburton/CE-Phoenix choose "download zip" unzip, upload, install After New Installation is complete
    Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into 1.0.2.3
  17. Like
    burt got a reaction from valquiria23 in Phoenix Announcements   
    Phoenix 1.0.2.3
    Thank You to Phoenix Club members for making the hard work much easier.
    https://forums.oscommerce.com/clubs/1-phoenix/
    Demo Site:
    https://template.me.uk/phoenix/index.php
    This Update;
    align items in form
    TY @raiwa add extra siteWide hook call
    TY @raiwa modernise radio modernise tickbox Disallow non-buyer ability to write review
    TY @Heatherbell Update FontAwesome to latest version Add New Password Forgotten Module Fix Manufacturer Info sidebox Allow Shopowner to choose layout of Sub-Category List Fix output of category description
    TY @Moxamint Minor updates to some boxes Update version to 1.0.2.3 SQL to run prior to update
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Allow all Reviews?', 'ALLOW_ALL_REVIEWS', 'false', 'Allow customers to leave reviews on all products (true) or only on products they have purchased (false)', '1', '22', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now());
    How to Update if on 1.0.2.2
    Download this Zip: 1.0.2.3.zip Unzip it Upload it Go to admin > tools > security checks and correct any listed problems How to Update if on earlier version
    Find version you are on Go back through this discussion and perform updates to get to 1.0.2.2 Then follow "how to update if on 1.0.2.2" instructions After Update
    Install new "Forgot Password" content module (login) Uninstall AND then Re-Install "Sub Category List" content module (index_nested) Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into this update - OR -
    You can download and install a brand new 1.0.2.3
    clicking the green "clone or download" button at https://github.com/gburton/CE-Phoenix choose "download zip" unzip, upload, install After New Installation is complete
    Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into 1.0.2.3
  18. Like
    burt got a reaction from altoid in Phoenix Trivia   
    A lot of triviality, but if things are bust they need to be fixed.  Anyone can raise an issue at Github, chat about it to find the best resolution... then if necessary they can fix & push, that's the beauty of an open codebase allied to people who care about Phoenix being the best it can be.
  19. Like
    burt got a reaction from valquiria23 in Phoenix Announcements   
    Phoenix 1.0.2.3
    Thank You to Phoenix Club members for making the hard work much easier.
    https://forums.oscommerce.com/clubs/1-phoenix/
    Demo Site:
    https://template.me.uk/phoenix/index.php
    This Update;
    align items in form
    TY @raiwa add extra siteWide hook call
    TY @raiwa modernise radio modernise tickbox Disallow non-buyer ability to write review
    TY @Heatherbell Update FontAwesome to latest version Add New Password Forgotten Module Fix Manufacturer Info sidebox Allow Shopowner to choose layout of Sub-Category List Fix output of category description
    TY @Moxamint Minor updates to some boxes Update version to 1.0.2.3 SQL to run prior to update
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Allow all Reviews?', 'ALLOW_ALL_REVIEWS', 'false', 'Allow customers to leave reviews on all products (true) or only on products they have purchased (false)', '1', '22', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now());
    How to Update if on 1.0.2.2
    Download this Zip: 1.0.2.3.zip Unzip it Upload it Go to admin > tools > security checks and correct any listed problems How to Update if on earlier version
    Find version you are on Go back through this discussion and perform updates to get to 1.0.2.2 Then follow "how to update if on 1.0.2.2" instructions After Update
    Install new "Forgot Password" content module (login) Uninstall AND then Re-Install "Sub Category List" content module (index_nested) Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into this update - OR -
    You can download and install a brand new 1.0.2.3
    clicking the green "clone or download" button at https://github.com/gburton/CE-Phoenix choose "download zip" unzip, upload, install After New Installation is complete
    Visit admin > tools > security checks and perform any needed actions Enjoy the hard work that went into 1.0.2.3
  20. Like
    burt got a reaction from markg-uk in Product Page Layout   
    Quite out of date as this was v1 of the system.  But it shows the general idea.
     
  21. Like
    burt got a reaction from LeeFoster in Product Page Layout   
    Product Page Layout is in finalised testing;
    https://template.me.uk/phoenix/product_info.php?products_id=3
    This all-new system allows millions (that is not an exaggeration) of layout possibilities, all easily set up by shopowner.
     
     
  22. Like
    burt got a reaction from markg-uk in Product Page Layout   
    Quite out of date as this was v1 of the system.  But it shows the general idea.
     
  23. Like
    burt got a reaction from LeeFoster in Product Page Layout   
    Product Page Layout is in finalised testing;
    https://template.me.uk/phoenix/product_info.php?products_id=3
    This all-new system allows millions (that is not an exaggeration) of layout possibilities, all easily set up by shopowner.
     
     
  24. Like
    burt got a reaction from ArtcoInc in How to verify a Postal Code matches a State?   
    Assuming that ZIP code locations don't change much...and that new ones don't get added very often, you could set up a database table to allow you to insert zip codes into it.  Then you perform a quick and easy lookup at the appropriate time (create_account?  in admin after the order is placed?).
    That sounds like a lot of work, but I am sure you know that the first 3 numbers in the zip correspond to States.   EG:  900 to 961 are all CA, 100 to 149 are NY, similar for the rest of the States.. 
    A little bit of work on the part of the shopowner, but obviously then no ongoing cost.  
  25. Like
    burt got a reaction from LeeFoster in Product Page Layout   
    Product Page Layout is in finalised testing;
    https://template.me.uk/phoenix/product_info.php?products_id=3
    This all-new system allows millions (that is not an exaggeration) of layout possibilities, all easily set up by shopowner.
     
     
×