Jump to content

naykel

Members
  • Posts

    26
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

naykel's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. I understand that the module needs to be coded for the hook but what I need to know is if it is possible to code any module for any hook (within reason). I have read so many posts regarding this issue and due to my lack of knowledge I am struggling with it. I am currently learning about php and smarty so I understand that it is not something that can easily be explained to a newbie, so what I really need to know is if it is possible so I am not wasting time trying to learn something that can not be done. If I could successfully move something I know I will be able to figure it out but until I have a win I will keep struggling with it. Thanks again
  2. Hi All, I am still new to the whole prestashop learning curves. I have got my head around the template system, css ,js but I am still struggling with the hook system. I have read a whole heap of information regarding how to set them up and how to transplant them in the back office but I can't find any straight forward information as to how to move an existing module to an existing hook when it is not set up for that hook. With were I am in the whole prestashop experience I don't really have the need to create more hooks as there is already plenty available I just need to figure out how to use them. For example I want to place the specials block in the home page center column and I also want it to appear in the categories page center column. In saying this the main question i have is can modules be moved to any hook after the php has been set up correctly (use the above example) and what do I need to do to move modules to a hook that it is not set up for? Thanks in advance
  3. Hi All, Is there a way to put the customer log in on the home page, not just a link to the authentication page but where they can enter their details and actually log in Nathan
  4. so does that mean for each button I want to modify i have to type the details in line? This is not the only time I want to use this button, the problem is my lack of understanding as to how I call this button or how to set up the naming in the style sheet. an example of this is in the product_list.tpl where the add to cart button is can be modified by changing #product_list li .ajax_add_to_cart_button and a few classes but the same button in the product.tpl is modified by changing .content_prices #add_to_cart .exclusive and a few other classes I want these buttons to be the same and I can make them the same but I don't want to double up the code. All buttons seem to come back to the default in the global css file in some way shape or form so I am trying to figure out if this is even possible to have multiple buttons without typing out a heap of code. for example in the global css there is input.button_mini, input.button_small, input.button, input.button_large, input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled, input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large, ect ect ect {stuff} I hope this makes sense as I am confusing my self. Thanks again Nathan
  5. ok I have tried and failed so I need some more help. I have created buttons from scratch on a sample site and I can get them to work fine but I am struggling to make any changes to buttons is prestashop without changing everything. one of the buttons I want to change is the checkout button. This is the code that is currently there is..... <a href="{$link->getPageLink("$order_process", true)}" id="button_order_cart" class="exclusive{if $order_process == 'order-opc'}_large{/if}" title="{l s='Check out' mod='blockcart'}"><span></span>{l s='Check out' mod='blockcart'}</a> if I have created a button called button_red an then I set up say .button_red{stuff} .button_red:hover{stuff} .button_red:active{stuff} ect what do I need to do with the code above to make it work or what do I need to do with the button names to make it work. Thanks in advance. Nathan
  6. Well after investigation it did turn out to be the image size, but I am still missing the number per page drop down. I have checked the category.tpl and nbr-product-page.tpl and they are both the same on the local and uploaded site On the live site when I use the inspect tool it only has <div class="paginationcontainer"> <!-- nbr product/page --> <!-- /nbr product/page --> But on the local site it has <div class="paginationcontainer"> <!-- nbr product/page --> <form action="http://localhost/prestand/index.php?id_category=10&controller=category" method="get" class="nbrItemPage"> <p> <label for="nb_item">Show:</label> <input type="hidden" name="id_category" value="10"> <input type="hidden" name="controller" value="category"> <select name="n" id="nb_item" onchange="this.form.submit();"> <option value="1" selected="selected">1</option> <option value="10">10</option> <option value="20">20</option> </select> <span>products by page</span> </p> </form> <!-- /nbr product/page --> What am I missing?
  7. Hi All, I am after some help or a real big problem. I have been working on a theme on a local testing server and uploading it as I go to make sure it is what is is meant to be and I all of a sudden it is all over the place. I have not made any modifications to core files, only a few css overides. (all I done was put a modules folder in the css and placed a copy there) I created the theme in presta 1.5.2 but when I uploaded my site was only 1.5.1 I have since done the upgrade and nothing happened. When I set the theme back to the default it works fine. I am looking for where I would even try to problem solve as it works fine on my local drive. Any help would be much appreciated. Regards Nathan
  8. Hi there, I have set up a product grid and I want to put a separator between each row except for the last row. At the moment I have just selected a border on the bottom which is not too bad but I don't want it to appear in the very bottom row. Is there a way to exclude the bottom row like you can with the last row item or can I somehow put a div between each row and use an image. I have attached a couple of screen shots to give you a visual. Best Regards Nathan
  9. Hi All, I was hoping for some help on how to make different buttons for my site, not in the design but with the coding so I can place them or call them where I like. Just say for example I want a blue button for the compare button, a red button for the add to cart, and a green button for the log in button. I know how to create the buttons with the basic elements like button.hover and .button but I am having trouble calling them the always seem to go back to the default in global css. I have figured out to modify the compare button I need to modify .sortPagiBar #bt_compare in the global.css file but is there a way I can uses this button in other areas of my site. The mark up in the product-compare .tpl is id="bt_compare" class="button". This must sound confusing as I confused myself typing it out, basically I want to create a couple of different buttons and call them where I want them. id="bt_compare" class="button_1" id="login_form" class="button_1" id="create_account" class="button_2" is this even possible. Thanks for your help. Regards Nathan
  10. Hey Fredrick, you are a champion that works great.
  11. Hi, Where do i put the information for the jQuery hack. I had a play around but was not successful. vekia, the problem with this is it scales/stretches the image to the width of the div or column. It will work if the images are the same size but in my case the column is 680px but the image is only 600px and I am trying to put a colored back ground. Thanks
  12. Hi There, The information you provided works great on a page by page basis but I am setting up several pages with a two or three column layout and several pages with a single column layout. With this you have to alter each line for each page body#index #center_column {width:951px} body#index #right_column #left_column {display:none} body#category #center_column {width:951px} body#category #right_column {display:none} body#product #center_column {width:951px} body#product #left_column {display:none} is it possible to have one lot of css and call if for each page rather than manually having to modify each pages css #only_center #center_column body#index #center_column {width:951px} body#index #right_column #left_column {display:none} Regards Nathan
×
×
  • Create New...