How to create a basic Block with Links?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How to create a basic Block with Links?
Cerastes
CZ Newbie
Cerastes has been a member for over 19 year's 19 Year Member
uk.gif
Gender: Male
Status: Offline
Joined: Feb 13, 2005
0.00 posts per day
Posts: 3
Points: 90
   
I have created a basic module that displays a page in the main center view.
Now I have several of these and rather than have lots of modules listed it would be easy to have a block with the links listed (Possibly with clickable .GIF’s)

What would the code be to achieve this, have tried but failed.

Thanks in advance for any help icon_smile.gif



Back to top Reply with quote
#2   re: How to create a basic Block with Links?
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Go into your admin control panel and click "blocks", scroll down to where it says " Add A New Block" and name it what ever you like in the title box. Then insert this code into the "Content" box:

<center><br><a href="http://www.YOURLINK.com/" target="_self"><img border=0 src="http://www.YOURSITE.com/PATHTOIMAGE/IMAGENAME.gif" alt="WHATEVER"></a></center><br>


By placing the <br> at the end you can just keep adding links under the first one, the <br> puts a nice little space in between the links in the block. After you insert the code just choose what Position you want your block at, ie; Left, Center Up, Center Down, Right. Then set your permissions to who can view the block and click "Create Block".

You can also use the Nuke Tools under the navagation menu then under the heading " Web Tools" here on Codezwiz if you like by adding all your links. For something like this I prefer the manual way, that way it's real easy to add links to or remove links from the block by just clicking on "Edit" under the block functions in the Blocks Administration for that particular block title.

P.S. Make sure to use small images for the links! icon_wink.gif


Back to top Reply with quote
#3   re: How to create a basic Block with Links?
Cerastes
CZ Newbie
Cerastes has been a member for over 19 year's 19 Year Member
uk.gif
Gender: Male
Status: Offline
Joined: Feb 13, 2005
0.00 posts per day
Posts: 3
Points: 90
   
So far so good, thanks for that icon_smile.gif

Is there away to display them in the center?
I have a module that does but don’t want to list a module for each each link.
Can I get the module to work from the block as a link?

Thanks again so far icon_smile.gif



Back to top Reply with quote
#4   re: How to create a basic Block with Links?
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
To have it open in your center page I believe you can do that with Iframes, however I am not an Iframe kinda guy icon_neutral.gif maybe someone with Iframe experience will chime in here. I know this could be done with CZIframe modules, but this would be linking a bunch of different modules, and you have stated you don't want to link a bunch of modules.

To link the existing module(s) just put the link(s) to the module in the link itself. ie: [ Register or login to view links on this board. ]



Back to top Reply with quote
#5   re: How to create a basic Block with Links?
Cerastes
CZ Newbie
Cerastes has been a member for over 19 year's 19 Year Member
uk.gif
Gender: Male
Status: Offline
Joined: Feb 13, 2005
0.00 posts per day
Posts: 3
Points: 90
   
All sorted icon_biggrin.gif

Thanks for the help, no doubt will be back with more questions in the future icon_wink.gif



Back to top Reply with quote
#6   re: How to create a basic Block with Links?
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Your welcome, glad you got it working.



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum