Flashblocks Flash CMS
Welcome, Guest
Please Login or Register.    Lost Password?
Re:list module (paypal) usage (1 viewing) (1) Guests
Go to bottom Post Reply Favoured: 0
TOPIC: Re:list module (paypal) usage
#5299
list module (paypal) usage 4 Months, 2 Weeks ago
Is it possible I could make the list module link to different web site:

Item 1: ---> link to external blog
Item 2: ----> link to news
Item 3: -----> link to paypal

I dont know how to set it coz it seems the list module item is the general config of the list module

THX
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5327
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:list module (paypal) usage 4 Months, 2 Weeks ago
That is essentially what the menu module does, both internal links and external.

If you wish to allow the list module to link to external urls you could customize the list's xml file and the "list module Item" move clip.

1. Open the list xml file and add a new link attribute to each item that you wish to turn into a link:
Code: :

 ...item date="11/19/07" link="http://google.com"



2. Edit the "list module Item" move clip and change the line around 127 that looks like this:
Code: :

 if (description.length>and flashblocks.Flashblocks.gate.ListFull.displayHtml) {



to the following:

Code: :

 if (item.link.length>1) {         bg.onPress = function  () {             getURL(item.link,"_blank")         }         bg.onRollOver = function () {this.alphaTo(50,1)}         bg.onRollOut  = function () {this.alphaTo(90,1)}         bg.onRollOut()     }          else if (description.length>and flashblocks.Flashblocks.gate.ListFull.displayHtml) {

 
Report to moderator   Logged Logged  
 
Last Edit: 2008/08/20 20:12 By admin.
  The administrator has disabled public write access.
#5397
artefact ()
User Offline Click here to see the profile of this user

 
Re:list module (paypal) usage 4 Months, 2 Weeks ago
dear admin,

thanks for this. works very well for me. one question: is it possible to link to something external AND show some content in the "scrollerfull" movieclip?

keep up your perfect work, greetings,
artefact
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#5405
admin ()
User Online Now Click here to see the profile of this user
Flashblocks Birthdate: 2005-02-14
 
Re:list module (paypal) usage 4 Months, 2 Weeks ago
Yes, you would just need to remove the else statement from the last line, else if (description.length>1 and ....
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
get the latest posts directly to your desktop

Thank you