Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: PHP pro coders help needed, product layout

    Out of time to edit the above, so:
    Please post long files with [code] [/code] or [php] [/php] tags, so they don't take up so much space on the page and are easier to read.

    Right, I forgot - you're using a TM template, and they delight in removing informative distinguishing tags. The given code worked for me in any location in a fresh install. The stylesheet is not going to help until we know what tags are being used. Can you post a link to your site?

  2. #12
    Join Date
    May 2006
    Posts
    67
    Plugin Contributions
    0

    Default Re: PHP pro coders help needed, product layout

    sorry for the long code pasting wasnt sure we could use something like or tags, although i was gonna ask how they managed to do it.

    I did manage to get it sorted although i did via editing the hard coded stuff in tpl_featured_products.php, i have put it back to normal as id prefer to edit the style sheet and not the hard code.

    the site is: www.ipvk.co.uk

    About before i didnt get the details thing sorted the way i wanted, my main concern was getting the products to display the normal zen way i.e. in columns of 2 or 3. For that i was just going to replace the above file as mentioned. It gives me the functionality am looking.

    TM templates are worse as in you lose the best part of zen cart the functionality, if they integrated that well, that would be the best package with great support from this forum.

    Anyways thats is the site hope you could suggest what i need to edit in stylesheet rather than the hard coded stuff.

    Also noticed i cant edit the main writing on top of featured products other den going via the hard code. AARRRRGGGHHHHH!!!!!! they are such pain TM :@ big monsters

    EDIT: also had to change the login bit. Where it says login now it used to say MY account, once someone logs in there is option to logout. Had to change the coding so it says LOGIN after which it changes to MY ACCOUNT | Logout thats TM AGAIN
    Last edited by waghelak; 14 Sep 2007 at 09:31 PM. Reason: more info

  3. #13
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: PHP pro coders help needed, product layout

    I hate to say it, but I think you are better off in this case editing the code. The tags they used are purely functional, specifying left end, table row, right end, padding, etc. - all things used in many other places. The only tag that *may* be specific to this location is class="m3_h_text". So I don't think there is a way to hide this whole header with CSS without also hiding other things.

    Allowing for the fact that they have built in functionality for rounded corners even though they aren't used here, they take five divs and a span to do what could just as well be accomplished with two divs (three if rounded corners are wanted). The only reason two divs would be required is for the subtle 2px padding between the border and background image.
    HTML Code:
    <div class="dt m_l" >
    	<div class="dr">
    		<div class="dc m_r " ><div class="m_pad">
    			<div class="m3_dr m3_pad"><span class="m3_h_text">featured products</span></div>
    		</div></div>
    	</div>
    </div>

  4. #14
    Join Date
    May 2006
    Posts
    67
    Plugin Contributions
    0

    Default Re: PHP pro coders help needed, product layout

    thanks, i have changed bit of coding and seems to do the trick however its a pain.

    Thanks for the advice.

  5. #15
    Join Date
    Sep 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: PHP pro coders help needed, product layout

    Greetings GJH42...are you still out there? I'm trying to modify my TM template as well...basically I want the Add to Cart button to appear next to the Details button. My question is perhaps quite simple...I can't figure out where the heck tm_listing function is. searching through files manually and automatically is yielding nothing.

    What file did you find the tm_listing function by template monster in?



    Thanks,
    Rob

  6. #16
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: PHP pro coders help needed, product layout

    Waghelak posted the function code at the top of this thread; I don't know what file it came from.

    The "function tm_listing" should be findable by using the Developers Toolkit in your admin > Tools. Paste it in the bottom left box and select all files and search.

  7. #17
    Join Date
    Sep 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: PHP pro coders help needed, product layout

    Thanks! That worked beautifully. It was in tpl_tmfuncs.php

    -Rob

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Urgent help needed setting up PayPal Payments Pro (USA)
    By andilyn in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 18 Feb 2014, 06:35 PM
  2. Replies: 5
    Last Post: 17 Feb 2010, 05:13 PM
  3. category / product layout help needed
    By boogily in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 2 Nov 2009, 04:14 AM
  4. Product Reviews Layout... Help Needed!
    By gee38l in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 9 Dec 2008, 12:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg