Use Categories/Tags from one 2sxc app across the site for all apps using the DNN Taxonomy terms list? - dotnetnuke

Looking to use the DNN Taxonomy either by using 2sxc's Folksonomy on its own or if there was a way to join the two tag tables and sync tags across site. For example the 2sxc Blog app has Categories and Tags, the 2sxc News app has Categories but no tags (out of the box), is it possible to use the same Categories list for both apps where the list is actually the tag terms set in the Vocabulary terms db table?
Is this use case something that can be achieved using the visual query designer?
I'm looking to use the 2sxc Blog, 2sxc News apps and create a similar Document management app where all apps use same Categories list (list set by us and will not change) and Tags which admins can add remove similar to Blog app which would be a hierarchical tree list in the Vocabulary terms table.
UPDATE:
Trying to achieve something similar to what WatchersNET has in their TagCloud module (https://github.com/w8tcha/WatchersNET.TagCloud) where you can select a DNN Vocabulary or use a custom tag which is a great feature to incorporate DNN's built in Vocabulary, see below

Yes, this can be done, and isn't implemented ATM.
I'm not sure if the DNN Taxonomy would be the ideal place to start - but if you're already using it it could easily work.
Yes, visual query would be a simple place to start - with a Dnn-Sql Data source.
Another alternative is to create a custom WebApi. ATM there is no dropdown-from-webapi yet, but if you need it, I'm sure we could add this in no time :).

Related

How can I link custom community visualization to other pages in a report?

I built a community visualization with various fields. One field that I'm adding is a URL, composed as the documentation suggests, that links to a filter in another page.
While the URL is fine and working, I cannot use it in a normal link or a form because the iframe in which the community visualization is embedded is sandboxed to allow only scripts.
Is there another way to change the top frame navigation, or switch to another page from within the visualization? Maybe through a javascript call?
Thanks
Community Visualizations do not allow links to external resources, so there's no way to make the visualization act as a link to a filter on another page.

Referencing Another App

What is the best way to reference another app in the visual query designer?
I am using the blog app and I created a second app to list the tags that are used in the main blog app. This way when the app goes to a detail page of a post, I can still have the tags listed on the website without the view changing automatically. I set up my blog tags app with a visual query that list all of the tags used in the main app. Everything was working fine in development.
The problem that I have run into is that when I move the app to a production site the AppId was different than the one I was currently using and development. Now, the tags app is showing an error and I am not able to get into the settings to change the app ID of the visual query to the proper one in order to get the information needed. Is there a better way that I should be handling this?
This sounds like the right way to do it - your main issues is getting into the admin-ui when the template you have shows an error.
I suggest that you quickly rename your current template (so it's not used till you fix the bug) and create an empty template with the original name. This way you can go to the normal settings.
Another option is to switch into dnn-edit-mode, and use the black-dnn buttons to get to app-admin.

How to fetch only featured title articles using custom code inside current template index.php file in joomla 3.5?

Can anyone let me know how can I get all featured articles in current template index.php file?
Articles aren't sorted based off of templates, but rather the category they are associated with. If you are intent on it, a MySQL call written in PHP can search for and load all articles that meet your requirements and can then be displayed with a loop through the objects/arrays. Note: There are native Joomla modules and menu items that can achieve the same results without resorting to custom code.

Database search field database

I'm looking for a way to create a search box in wordpress, where visitors can search a number from the database. Is this possible? I have several package numbers in my database. I want to give my visitors the ability to search for their package number and request the information that comes with the number.
What you want to do can be done.
I suggest a different approach than using wp-exec. (I just looked at wp-exec website, and that plugin was created for WordPress 1.5, which means it hasn't been updated in about 5 years).
The content you want to display exists entirely outside of WordPress. I suggest you use a custom page template - see
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
In this case you would not use WordPress posts or pages or custom post types. On the custom page template you would write (or have written if you don't have the knowhow to do it yourself) PHP code to extract the info from the database and display it on a page.
For pages like that you would be using WordPress only as a container within which to display the results - they custom page would appear in the site Nav, The page of results would use the site's theme to display so it looks like the rest of the site.
But the code to display from the database would not use the WordPress loop. It would be PHP / MySQL data retrieval and display code.
I really doubt you will find a plugin that lets you display results from an external database, formatted the way you want them to appear. The reason is every external database is different, has different tables and table structures. And no two sites will want the external data visually displayed in the same way. So there is little generalization to encapsulate in a plugin as everyone wants it different.
I've created pages on some sites along the lines of what you want to do thus I know it can be done. But it requires writing custom code.

Product Gallery in Drupal 7 (like Amazon's)

I want to create a product preview gallery page for a certain node type. I do not want to use any eCommerce plugin nor do I want to use Drupal's Kick Starter. I simply want to replicate the image thumbnail hover/gallery in Amazon's inner product pages. Is there a way you can do this in a simpler approach? A simple plugin will do, but it would be best if it can be done even simpler just by using Drupal 7's defaults.
I hope I'm not violating any policies that will get me flagged or be voted down for asking this. Thank you very much!
You can create a gallery with drupal views and views slideshow.
check this page out
https://drupal.org/node/1497058
Also it would helpful if you could provide a link to the page you are referring to in amazon to get a better idea.
Hope it helps.

Resources