Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
params option in link edit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
alefix  
View profile  
 More options Feb 10, 8:11 am
From: alefix <ale...@gmail.com>
Date: Fri, 10 Feb 2012 05:11:05 -0800 (PST)
Local: Fri, Feb 10 2012 8:11 am
Subject: params option in link edit
Could you please advise what does the field "params" do in link
options? (Misc tab) According to the code it isn't used anywhere.
I am trying to figure out if there is a way to attach an image to a
link in the menu without changing the core files.
thank you

Marcin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rachman Chavik  
View profile  
 More options Feb 11, 6:44 am
From: Rachman Chavik <rcha...@gmail.com>
Date: Sat, 11 Feb 2012 03:44:57 -0800 (PST)
Local: Sat, Feb 11 2012 6:44 am
Subject: Re: params option in link edit

It accepts a key value parameters, handled by ParamsBehavior.

Eg:
foo=bar
spam=eggs

That will get you extra values when Link is fetched:

[Link] = array(
   'name' => 'some link',
   ...
   )
[Params] = array(
   ['foo'] => 'bar'
   ['spam'] => 'eggs',
   )
);

I can't recall how it will look exact, try debug($link) and see your
yourself.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »