开发者

drupal multiple interest of user

hi i want to refresh user page with differen开发者_高级运维t data but with same template (user-profile.tpl.php) by simply clicking tabs. Can any one suggest the best way to do that ?.

for ex:

tab1:sports , tab2: music tab3: literature

by clicking tabs the template is same but the data is going to refreshed.

Note: Look like profile categories but not the same. all details are from user table


I think the simplest way, which isn't exactly what you asked for, would be to using jQuery tabs or something similar to create the tabs effect. In other words get all the data but use CSS and JavaScript to handle which data should be displayed.

I don't think there is an easy way to split up the content of the user profile into tabs with pure html and Drupal.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜