Welcome to Geeklog, Anonymous Wednesday, November 27 2024 @ 08:50 am EST
Geeklog Forums
Plugin Profile Info
Status: offline
Dazzy
Forum User
Full Member
Registered: 07/19/03
Posts: 200
Location:N. Ireland
Hey all
Been fooling around with the idea of expanding the user profiles page, to make it look more like a simple homepage.
Check out Test SIte
Would it be possible to redirect plugins profile information into a relevant tab, the obvious example there is mediagallery info into Photos tab, but I will also be utilising other plugins as well such as the rating plugin.
I have no idea whatsoever even where to start, can anyone help?
I am using a very simple technique, utilising a tabcontent script from dynamicdrive to display the info in the tabs
calling this in the header.thtml
<link rel="stylesheet" type="text/css" href="{layout_url}/tabcontent.css" />
<script type="text/javascript" src="{site_url}/javascript/tabcontent.js"></script>
and then tabs are defined by using something like the following in profile.thtml
<ul id="profiletabs" class="shadetabs">
<li><a href="#" rel="profile1" class="selected">About Me</a></li>
<li><a href="#" rel="profile2">Blog</a></li>
</ul>
<div style="border:1px solid gray; width:95%; height: 95%; margin-bottom: 1em; padding: 10px">
<div id="profile1" class="tabcontent">
Tab content 1 here<br />Tab content 1 here<br /></div>
<div id="profile2" class="tabcontent">
Tab content 2 here<br />Tab content 2 here<br /></div>
</div>
<script type="text/javascript">
var profile=new ddtabcontent("profiletabs")
profile.setpersist(true)
profile.setselectedClassTarget("link") //"link" or "linkparent"
profile.init() //enter a value for tabs to rotate at set interval ie 2000
</script>
Many thanks in advance
regards
Dazzy
Dazzy
Been fooling around with the idea of expanding the user profiles page, to make it look more like a simple homepage.
Check out Test SIte
Would it be possible to redirect plugins profile information into a relevant tab, the obvious example there is mediagallery info into Photos tab, but I will also be utilising other plugins as well such as the rating plugin.
I have no idea whatsoever even where to start, can anyone help?
I am using a very simple technique, utilising a tabcontent script from dynamicdrive to display the info in the tabs
calling this in the header.thtml
Text Formatted Code
<link rel="stylesheet" type="text/css" href="{layout_url}/tabcontent.css" />
<script type="text/javascript" src="{site_url}/javascript/tabcontent.js"></script>
and then tabs are defined by using something like the following in profile.thtml
Text Formatted Code
<ul id="profiletabs" class="shadetabs">
<li><a href="#" rel="profile1" class="selected">About Me</a></li>
<li><a href="#" rel="profile2">Blog</a></li>
</ul>
<div style="border:1px solid gray; width:95%; height: 95%; margin-bottom: 1em; padding: 10px">
<div id="profile1" class="tabcontent">
Tab content 1 here<br />Tab content 1 here<br /></div>
<div id="profile2" class="tabcontent">
Tab content 2 here<br />Tab content 2 here<br /></div>
</div>
<script type="text/javascript">
var profile=new ddtabcontent("profiletabs")
profile.setpersist(true)
profile.setselectedClassTarget("link") //"link" or "linkparent"
profile.init() //enter a value for tabs to rotate at set interval ie 2000
</script>
Many thanks in advance
regards
Dazzy
Dazzy
17
10
Quote
All times are EST. The time is now 08:50 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content