Does anyone know what function I can use inside a PHP block to pull the Title (or Name) of the group associated with a particular group view page?
Example - I have a group called "Pilots"
I want to be able to pull this title and use it in a PHP Box.
Thanks,
Paul
|
No one?
Can someone point me in the proper direction to dig up this info myself?
Thanks,
Paul
|
|
Did you ever find a solution to this? I'm looking to do something similar on my site. |
Please explain me before what do want to do there? PS: If possible do not write me personally, please try to ask on the forum first |
Hi SashE,
I would like to have a block that simply shows the title of the group you are viewing. This would be on the actual page where you're viewing a group. Currently, this information is stored in the info block and looks like it is queried using the Fields variable. Can you tell us what we would need to put in a PHP block to get just the title of the group we're viewing?
|
No takers? I'm willing to PayPal someone $10 if they can figure this out. |
No takers? I'm willing to PayPal someone $10 if they can figure this out.
Post this in job section
PS: If possible do not write me personally, please try to ask on the forum first |
No takers? I'm willing to PayPal someone $10 if they can figure this out.
Post this in job section
I would, but there's too many scams that occur in the Market. Everything that I've ever posted in the Market was bid on by people who have no established record of communicating in the forums and require payment up front. I would prefer having someone post this basic code in this thread and I'll contact them with a payment.
|
|
Doesn't look like the function is there that I need. Thanks for posting, though.
|
Hi SashE,
I would like to have a block that simply shows the title of the group you are viewing. This would be on the actual page where you're viewing a group. Currently, this information is stored in the info block and looks like it is queried using the Fields variable. Can you tell us what we would need to put in a PHP block to get just the title of the group we're viewing?
Getting the title may be different depending on what page your putting the block on.
For the page you specified the code is........
echo $this->aDataEntry['title'];
https://www.deanbassett.com |
The following code will display the title :
echo $this->aDataEntry['title'];
You can keep the $10 bucks :)
Paypal email is jeromemingo@gmail.com - http://www.boonex.com/market/posts/modzzz |
Thanks guys! Private message me your info. Since there was a 1 minute difference, would you guys like to split the $10 for a total of $5 each?
By the way, anyone can use this code.
|