Is it possible to create a window page with checkboxes in NSIS? - checkbox

I'd like to give the user the option of installing a custom selection of 4 apps.
Is it therefore possible to add a page to an NSIS installer that contains 4 checkboxes? This could then be used to create if statements based on the selection and install the selected apps.
Thanks in advance.

The easy solution is to just use the components page:
InstallDir $ProgramFiles\MyAppCollection
Page Components
Page InstFiles
Section "App 1"
SetOutPath $InstDir\App1
File app1.exe
SectionEnd
Section "App 2"
SetOutPath $InstDir\app2
File app2.exe
SectionEnd
Use the nsDialogs plug-in if you want to create a custom page. In the pages leave function you could use NSD_GetState to get the checkbox state and the Macros from Sections.nsh to toggle a hidden section.

Related

Drupal 7 pathauto not working

I am using pathauto module. I have saved the pattern "Pattern for all Basic page paths" as content/[node:title], however, I see that the basic page links from the header navigation open as http://localhost/drupal71/node/2 or http://localhost/drupal71/node/4 etc. I am using WAMP and the 'url rewriting' is checked. Should I edit the ".htaccess" file for this?
I forgot to add "URL Path Settings" of the basic pages. Please check the attached scree shot.

Can we use drupal AHAH in webform module of drupal 7

I intend to add dynamically fields like text boxes, radio buttons, checkboxes ,select boxes on a click of button like "ADD More".
I heard we can use AHAH to add fields dynamically, since I used a webform module to build my form, can I still be able to use AHAH to add the feature of "dynamically addition of fields" ?
I found an alternative solution, Simply used php files in building web pages and got the required functionality.
Simple web pages will have an option to add php scripts directly. And relying on AHAH is No- No for the required functionality.

remove joomla facebook and twitter link plugin

i am using joomla and I want to remove the four link tabs that reffers to googleplus twitter and facebook and news feeds . they are on top of the home page . how can I do that .
Those are added by your template. Check your template's configuration (from your backend), it most likely will have an option for you to disable it. If not, check your template's files (located in /templates/
I have checked my plugins but I could not find anything useful . I am using the pronostar template . it has no useful option to remove this . I have found my template files but I do not know wich file I should change.
1) It could be a module. Then you should go to Extensions > Module Manager under Administrative Panel and turn off the module with Social icons. It could be named arbitrarily, but you could find it by position.
For Joomla 3, positions are drawn here.
2) It could be configured in the template. Then, go to Extensions > Templates > Styles > Protostar and open it by clicking the template name.
I have the following settings with my (other) template:
]

How to change the "Terms of Use" and "Privacy Statement" in DotNetNuke

How we can change text and wording of "Terms of Use" and "Privacy Statement" pages in Dot Net Nuke from admin?
Those texts are part of the resources files.
Go to menu "Admin > Languages" and click for edit its content for the site or the host.
Keep on the edition of the "GlobalResources" file.
Search for "MESSAGE_PORTAL_PRIVACY.Text" and "MESSAGE_PORTAL_TERMS.Text" and modify them.
If you modify the system version, a future upgrade of your DNN installation could overwrite your customization.
Host mode will impact all websites on the instance.
Site mode will impact only the current website.
I know this is old, but it might still help someone:
Tested with DNN 08.00.04 there are different methods to get a custom terms page without editing the language files (which feels a bit cumbersome)
To have your own /terms page you just create named "terms" in the navigation root.
DNN will show up your newly created page if you browse yoursite.com/terms
You can also redirect to another page from there (create a "link" page instead of "content" page, this in case you want to call your page AGB and have this in the url (yoursite.com/agb)
If you have https://dnnurlmanagement.codeplex.com/ installed you can simplifiy the steps above with just adding a "custom page URL" 301 redirect rule with "/terms" to any page you want to show up as /terms.
Go to site admin section here Admin -> Language -> edit host -> find your required field "Terms of use" and "Privacy". you can change here or edit it.

Display content from sub pages

I would like to make sub pages under and existing page. Lets say the page is "Success Stories" and under this page the user can enter in other pages and format them any way they want. What I need is a way to make a repeater of all these subpages with stuff like the page title, a little bit of the content, and a button that links to the actual page.
Is this possible out of the box? I am willing to buy a module if it is reasonable;however a Google search returned no results.
Thank you.
The best option I know is Child Links from Ventrian.
You can show all children with title and description & links. (NOTE: description is Page description NOT content from the page.)
what version of dotnetnuke are you using?
Two options:
ONE
There is a copy page function where you can choose what modules and setting to copy to the new page.
Under the pages menu - click copy page
then you can select what page to copy from, and then it will list all modules on that page. You can choose to copy the module with or without content or even reference the module on the source page.
TWO
Other than that you can create a page template that a user can select that is pre-designed by you. Create the base page the way you want it and then click export page under the page / edit page menu depending on your version. A template will be created in your portal template folder that can be used when creating new pages.
If you are looking to automate this process, then you will have to look into a custom module or design a sql script you can run yourself (but this is a lot more maintenance as it can change with every version.)

Resources