Adding sliders in specific pages - drupal-7

I am new to drupal, I created a theme using mother ship and added slider to the front page using the code. my issue is i need to add the same slider in another page also. Can some one help me to fix this issue?
Thanks

go to admin/structure/block, configure link next to the block with the slider, then you can set an option to either 1) display on every page except... or 2) display only on these pages. Enter the path (node/233) or path alias, one per line, in the textarea below the option radios.
Alternatively, you can use the Context module (http://drupal.org/project/context)

Related

React, dynamic ANTD tabs and router

I'm new to reactJS, get confused when trying to create dynamic (antd) tab.
Basically, i have two layers in Application, the first one is Sidemenu Bar, located on left of the screen, and the second layer is content pages, which represented with Tabs.
The Sidemenu has some variable numbers of menu buttons (modules). When each button are pressed, then React will render that module (each module represent by individual JSfile) to the content layer, inside a new Tab panel. The module page itself, can be duplicated on the Tab.
To do that I created a sidemenu.js which contain a menu buttons (and its corresponding URL), and appPages.js to hold that Tabs that will render the specific module(s).
How to make it possible ? where I should write the routes (react-router-dom) ?
I search for this topic, and found it solved using the same js file, not the separated file or component.
Please check my sandbox here : https://codesandbox.io/s/dynamictabs-83mop
Thank you. Really appreciated for any help, and so sorry about my english.

change Module position in joomla

I am working on a website using Joomla, how can I change Module position in the picture below
click to see photo
thanks
Since most menus do not allow a search bar to show without it being a drop down item or part of a mega menu, your best bet would be to remove the float:right line of code so it just starts from that left side.

field label can not be hidden in drupal

I use the bartik theme in drupal7 as the default theme.And I completely override the page.tpl.php file.
design a two columns layout : the lefsidebar and the contentArea. Everything is ok except one problem.
the node's field label can not be set in the Manage display panel. And the node's body label was disappeared,and other's labels do exist but can not ,say, be set hidden ,above,inline.
I google the for solutions but bad luck no result.
Need your Help. Thanks.
I do not get the point in modifying the php file to do what you want. I think you just want to set a two-column layout, but you do not need to edit your code to do so. Have you tried the Display Suite module?

May I customize 'edit custom object records' page layout on SalesForce?

For example, to create or edit an object, when I want to add or change some value to one specific field, I need to refer another website to retrieve some info.In this way, may I add one button or link on the edit page?
The help link of SalesForce is here: https://help.salesforce.com/apex/htviewhelpdoc?id=co_edit.htm&language=en_US
Thanks.
Custom buttons and links don't display on new/edit page layouts so even if you'd make one, it will be visible only on detail view.
Not too invasive option would be to create a URL or text fied, set it's default value to your link, make sure it's displayed on the page but readonly. Haven't tried it but should work (you'll have to test it as somebody other than System Administrator because you'll bypass the readonly property of the page layout).
More invasive option would be to override the new and edit page layouts with Visualforce. More work but somewhat clean solution.
Really crazy option would be to embed a piece of Javascript into section header on the standard page layout or even into sidebar. It's an ugly hack but it works, I've used it for example to disable editing of Name field.
To use method #3:
create new section header, add something to the section (blank space is fine, you need something otherwise headers for blank sections aren't rendered), mark the section as visible on edit pages only.
Section name has limit of 80 characters but can contain code like <script>document.getElementById('Name').disabled = true;</script>. You need longer script though to somehow create an URL at runtime and append it somewhere on the page near your "special" field.
Upload a static resource with your script, then use this as the section header: <script src="filename.js" type="text/javascript"></script>
I'm not too proud of this hack and if you can - go with custom Visualforce new & edit page. It's quick & dirty, probably should be used only when you're not allowed to override pages.. but it works.

change the ajax progressbar of dotnetnukes

Is there a way to change the default ajax progressbar that is there in dotnetnukes.
Its not for changing the image but i would like to use an altogether different progressbar. The current one displays the progressbar at the bottom of the section. The requirement to replace it with one covering the entire section or part of it. The section has a search criteria on top and the results below. The progressbar needs to appear above the criteria so that the user will not change it while the search is going on.
That's the animated image you can replace with your own if you have one.
Agree with #DangIT, you can find the gif with name progressbar.gif in images folder in the root of dnn installation. just delete it, and place another image with the same name will do the trick for you

Resources