-
AuthorPosts
-
April 1, 2011 at 11:18 am #162234
Dear JoomlArt Team hi,
I would like my JA Tab module, of my JA Portfolio Joomla 1.5 or 1.6 installation be able to set parameter values (e.g ‘articles id’s’, or ‘module name’, or ‘module position’) dynamically, depending on the linked menu items that are called from.
Basically, in my intention is to manage a dynamic assignment of (different) values for each menu link instance applied onto just one ‘smart’ Tab module parameters. I need to build a site of too many contents and long running product lists. So, if somehow, script development can be achieved in such way, it then would seriously save me a lot of time and amount of work, spent on creation of too many tab modules (depending on the number of content menu items) with each specific ‘static’ parameters values applied to relatively multiple tab modules. Therefore, am seeking for a script creation that would dynamically be able to set values to a single ‘smart’ Tab module parameters depending on the menu links when they are called. Values may be taken (get value) from the menu link or the url for each different menu link instance.
Any ideas or other feasible alternative approaches of such script creation are welcome. Any hint would be totally appreciated. Please advise.
Many thanks in advance.
Regards,
George
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 4, 2011 at 4:12 am #384700Hi bollog,
1. Somehow move the JA Tab module from the ‘content-mass-top’ to the ‘content’ main position. I guess for that I need to create a new position in the content main area but how can this be achieved?
That meant you want to assign the JA tab to the “content-top” or “content-bottom” block,you can go to Template manager >> Layout Tabs ,here going to edit your default layout you would wee this block tag
<block name=”content-mass-top” style=”raw”>content-mass-top</block>
You can change it to
<block name=”content-top” style=”raw”>content-mass-top</block>2. Dynamically manage assignment of (different) values for each menu link instance applied onto just one ‘smart’ Tab module parameters.
I am afraid that this is impossible because the Tab is a module,not a component so you can not set it’s parameters via a menu link
1 user says Thank You to Sherlock for this useful post
April 4, 2011 at 10:43 am #384772Hi dathq and thanks for your help.
1) Well i did as advised and managed to move tab module into content-top. That is exactly what i meant. As you may see in the attached print screen though, border lines of the tab box is not displayed and height alignment is not perfectly matched with ‘left’ and ‘right’ positioned modules. How this can be fixed?
2) Totally understood. Thanks for letting me know!
Regards
Sherlock FriendSherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 5, 2011 at 2:28 am #384854Hi bollog,
Try to add this css
.ja-content-top {
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #DEDEDE;
margin: 5px 5px 10px;
}
into the file of templates/your_template/template.cssHope that would help !
1 user says Thank You to Sherlock for this useful post
April 5, 2011 at 11:00 pm #385031Hi dathq,
It now perfectly lays between left and right modules. Thanks for your support.
And other two questions please.
1) Is it possible to put ‘ja tabs’ module into an article? I tried with the jaloadposition plugin but then tabber does not function correctly (see attached print screens for front end result and backend configuration). What am doing wrong here? What the html should be like?
2) I have noticed that when article (‘id’) is set to a tab it then automatically applies article’s title to the tab’s title. How can i assign other tab title than the article’s that refers to? I would like that because i use articles as parts of a content so i need different titles for the content parts that are assigned to.
Regards
-
Sherlock Friend
Sherlock
- Join date:
- September 2014
- Posts:
- 11453
- Downloads:
- 0
- Uploads:
- 88
- Thanks:
- 221
- Thanked:
- 2478 times in 2162 posts
April 6, 2011 at 2:00 am #385039hi bollog,
1) Is it possible to put ‘ja tabs’ module into an article? I tried with the jaloadposition plugin but then tabber does not function correctly (see attached print screens for front end result and backend configuration). What am doing wrong here? What the html should be like?
You should add the jatabs tag into your article instead of load it via the jaloadposition plugin,please check ja tab’s guide here http://www.joomlart.com/forums/topic/ja-tabs-userguide-2/ for more details
2) I have noticed that when article (‘id’) is set to a tab it then automatically applies article’s title to the tab’s title. How can i assign other tab title than the article’s that refers to? I would like that because i use articles as parts of a content so i need different titles for the content parts that are assigned to
This is not supported by default,You will need to hack into the code and I think it will require a little bit of heavy customazion
-
AuthorPosts
Viewing 7 posts - 1 through 7 (of 7 total)This topic contains 7 replies, has 2 voices, and was last updated by bollog 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum