touchdez Posted June 17, 2013 Share Posted June 17, 2013 (edited) Can I have more than 1 HTML block in the right column, and if the answer is yes, how do I add it? This is the link to my site: http://touchdezines.com/shop/ Edited June 17, 2013 by touchdez (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 how you added own code block ? i think that you can use free modules like html block, content box etc. Link to comment Share on other sites More sharing options...
touchdez Posted June 17, 2013 Author Share Posted June 17, 2013 I want to add a block that says "Affiliate Links", then add a banner inside it. How would I add a second HTML block? What content box are you talking about, vekia? Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 for example, this: http://contentbox.org/ wat module to insert own code you use now? Link to comment Share on other sites More sharing options...
touchdez Posted June 17, 2013 Author Share Posted June 17, 2013 I am using HTMlbox at the moment, but can't seem to get a second box. I don't want 2 banners in the same block, as I want to name the new block "Affiliate Links". Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 well, with htmlbox you can put the the box as many code as you want, so you can create two boxes. if you want to move one box to different position - it isn't possible. so in this case i suggest to use another module, for example content box 1 Link to comment Share on other sites More sharing options...
touchdez Posted June 17, 2013 Author Share Posted June 17, 2013 I am going to try that,, thanks, vekia! Link to comment Share on other sites More sharing options...
touchdez Posted June 17, 2013 Author Share Posted June 17, 2013 vekia, it works, but I still want to have a button that says "Affiliate Links". How do I do that? Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 sorry for missunderstanding. you probably want something like: but with "Affiliate Links" in the header, right? Link to comment Share on other sites More sharing options...
touchdez Posted June 17, 2013 Author Share Posted June 17, 2013 (edited) Yeah, that's it, just like that, without the links! I want to put this banner in the block: Edited June 17, 2013 by touchdez (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 use this code: <div class="block"> <p class="title_block"> <a href="http://www.touchdezines.com/shop/">Affiliate Links</a> </p> <ul class="block_content bullet"> <li><a href="example" onclick="window.open(this.href);return false;">This is an example of url</a></li> </ul> </div> Link to comment Share on other sites More sharing options...
touchdez Posted June 17, 2013 Author Share Posted June 17, 2013 (edited) At the risk of sounding stupid, would that be in the tpl file of the module? I am using the content box module, as you suggested. Edited June 17, 2013 by touchdez (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 you can use this code in the tpl file, you can use it also in the html box / content box. it's your choice. 1 Link to comment Share on other sites More sharing options...
touchdez Posted June 17, 2013 Author Share Posted June 17, 2013 Great - thanks, vekia! You are such a star - have you seen the block on the site now? Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2013 Share Posted June 17, 2013 yes, i can see it on your website. Clicked on it and works well Link to comment Share on other sites More sharing options...
Recommended Posts