Forum Activity for @brian

brian
@brian
01/19/19 07:35:46AM
10,148 posts

Make Custom Module Pages Searchable


Jamroom Developers

There's a number of issues here in this code - I get the feeling you're not really understanding what you're doing or why you're doing it, and instead are just throwing some code into the module and hoping it works?

Your second view function is useless - remove it. The first one has issues but the basic idea is:

function view_myCustomModule_default($_post, $_user, $_conf)
{ switch ($_post['option']) { case 'my-custom-module-page-houston': case 'my-custom-module-page-chicago': case 'my-custom-module-page-new-york': $_data = jrCore_db_get_item_by_key('myCustomModule', 'mod_page', $_post['option']); if (!$_data || !is_array($_data)) { $_data = array('mod_page' => $_post['option']); jrCore_db_create_item('myCustomModule', $_data); } return jrCore_parse_template('my-custom-module-page.tpl', $_data, 'myCustomModule'); break; } }

What I added is:

- try to get the EXISTING page entry into $_data using jrCore_db_get_item_by_key
- if it does not exist, create it

Note I used "mod_page" here since I have no idea what your DS prefix is, but you will need to change that to be whatever your module prefix is.

This is really as far as we can take coding this for you in the forum - I'd HIGHLY recommend that you spend some time learning PHP development so you know what the code you are putting in the file actually means, etc. You want to be careful and know exactly what (and why) you are doing it, since doing it wrong could mess your site up or expose a security issue.
brian
@brian
01/19/19 07:20:41AM
10,148 posts

seo search terms module


Suggestions

soaringeagle:
i do ofcourse

but search engines do leakeout like 1/100th the search terms they used to be transparent about so still helpful

I know both Bing and Google don't leak any search terms, so there's really no point.
brian
@brian
01/16/19 01:20:25PM
10,148 posts

Video Poster Background Not Showing


Using Jamroom

SoftDesigns:
Is there no simple built in JR Tag that can embed an external MP4 into the bio field?

Just paste the URL in. The URL scan module will make a card out of it if the remote site has the proper OG tags. Otherwise how is Jamroom supposed what you are linking to?
brian
@brian
01/16/19 01:18:24PM
10,148 posts

Make Custom Module Pages Searchable


Jamroom Developers

OK instead of going this route then, you need to just UPDATE your existing module that is writing the pages to the sitemap and in the same process add them to the datastore. You already have the URLs right there - there is no need to go out and re-read them back from the sitemap.
brian
@brian
01/16/19 01:16:28PM
10,148 posts

seo search terms module


Suggestions

The information needed to provide this is no longer provided by Google or other search providers (i.e. the keyword used to get to to your page). You really should be using Google Analytics on your site if you want access to this type of info - that is way more in depth than anything we can provide for you.
brian
@brian
01/14/19 03:48:48PM
10,148 posts

Mobile Menu Not Working


Installation and Configuration

This is fixed in the latest Audio Pro update - update and it should be fixed.

Thanks!
brian
@brian
01/14/19 03:47:47PM
10,148 posts

Make Custom Module Pages Searchable


Jamroom Developers

I'm struggling to figure out what you are trying to do here. It sounds like you are trying to take the URLs in your sitemap.xml file and put them into a DS so they will show up in search? Is that correct? If so, you do not need to do any of this. The sitemap.xml file is generated off of the existing DS's in your Jamroom, so the data you are trying to ADD to search is already available in search.

So you have a profile URL like this:

huntsville-alabama-electricians

That's already going to be found in your jrProfile DS. There's no sense creating ANOTHER module to insert items into a DS, which in turn provides a search key for an already existing search. Does that make sense?
brian
@brian
01/14/19 03:44:59PM
10,148 posts

Bridge search neq or ne


Proxima

You are correct - it is ne - I will fix the docs.
brian
@brian
01/14/19 09:11:57AM
10,148 posts

Make Custom Module Pages Searchable


Jamroom Developers

PatriaCo:
PERFECT!

So this goes back to my earlier question of the best way to populate the datastore. Is there a way to bulk import or hardcode or take the data that I want to add from the sitemap module? Adding them one at a time via a form would take a very long time.

There's no built in way to do that - you'd have to create code that would parse out your sitemap and insert them into the DS.
brian
@brian
01/14/19 09:01:37AM
10,148 posts

Mobile Menu Not Working


Installation and Configuration

mountaintop:
using Audio pro skin

I don't see this on Elastic2, but I do see it not working on Audio Pro, so something is up - we will check it out.
  43