Big Spender Posted September 20, 2014 Share Posted September 20, 2014 Pagination What is the pagination amount for content.downloads.php & content.orders.php based off...? Gateway Help Also the code below which is on content.gateway.php is this used anywhere? There doesn't seem to be any related info in the files or admin area for this gateway help setting. 9: {if !empty($gateway.help)} <a href="{$gateway.help}" class="info" title="{$LANG.common.information}"><img src="images/icons/information.png" alt="{$LANG.common.information}"/></a> {/if} Talkbacks Firstly what is the comments section (maybe a comments plugin like disqus I suspect?) and talkbacks? {foreach from=$COMMENTS item=html} {$html} {/foreach} {if isset($TALKBACKS) && $TALKBACKS} <section class="talkbalks"> <h2>{$LANG.catalogue.trackbacks}</h2> {foreach from=$TRACKBACKS item=track} <p> <a href="{$track.url}" target="_blank">{$track.title}</a><br> <blockquote cite="{$track.url}">"{$track.excerpt}"</blockquote> </p> {/foreach} <h3>{$LANG.catalogue.trackback_url}</h3> <p>{$TRACKBACK_URL}</p> </section> {/if} Quote Link to comment Share on other sites More sharing options...
bsmither Posted September 20, 2014 Share Posted September 20, 2014 "What is the pagination amount for content.downloads.php & content.orders.php based off...?" The total records. That is, there is code that sets a per page list limit of 10, 15, or 20 list items (depending on whatever list is being shown anywhere in CubeCart). Pagination is created/displayed when the total records that are returned from a query exceeds the per page list limit. "Is $gateway.help used anywhere?" In cubecart.class.php, in the _displayGateways() function, there is a hook that can be used to modify the list of enabled gateways returned from a query. Also, a gateway's admin settings panel could have a static or dynamic form field containing anything the gateway author wants to put in it. I haven't looked at all the gateways, but I have yet to see such a field in those that I have. What are the comments and talkbacks sections? Social Media outlets and/or links. I would say you see these lines of code in the skin because someone made a (good) suggestion to put them in, even though they may not be used. With the hooks system, it's (relatively) easy to change the data gathered and delivered to the skin, but it's a real pain to get a hook to change the rendered output of template code. Quote Link to comment Share on other sites More sharing options...
Big Spender Posted September 20, 2014 Author Share Posted September 20, 2014 Okay great thanks for the info. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.