Pagination to viewing on one page - php

I have a module that displays registered and verified users for my CMS. The module is paginated displaying 10 on each page however I have a button that says "View All Members". What I'd like to know is how it would be possible for me the module to display ALL records on the page when the button is clicked and not sure how that would be possible. I am using PHP as well as jQuery.

You're being pretty vague but how about making your button redirect to url like http://mycms.com/users/all where all is the same page as users without the pagination in place.

Related

HTML Display more when scrolling down

So I have no idea how to ask this. I have a Website with Posts like Twitter. Currently 8 Posts fit on one page, is it easy to implement that when the users scrolls down, 8 additional Posts are revealed? Or is it way easier to make it with pages? Beginner here :)
Its more user friendly to load more content when user reaches the end of the page or by clicking a "View more" Button. using JavaScript.
Check here on how to use JQuery to make this possible:
https://infinite-scroll.com/

Wordpress redirect remove

Hello I am an new on WordPress. I have a problem. My page is redirected automatically. There are many page and I cant found where is the redirect code.
when I came to my company page and select drop-down box for data filter then its showed data under the drop-down but then automatically redirect the page to video page. How to remove this redirection?
I am found this code remove_filter('template_redirect','redirect_canonical'); bus as a new developer I cant understood this.
Thakns!
There could be either a plugin called redirection or there is a line in the .haccess file that could be doing it or it could be in the page text. 1 of the 3

How to find a page in drupal to edit?

I have a page in Drupal which is coming when clicking on a my account link,
I want to change some content of this page, but I couldn't find page in the script. The URL of the page is
http://localhost/example_drupal/node/8135/edit?destination=sa/view-forms%3Ffield_sd_club_name_value%3Dnes%26field_form_status_value%3DAll
Please anyone help me, how to get the same page in Drupal to edit it?
So, url to your page is /node/8135 and url to it's edit page is /node/8135/edit . You got both ulrs there.
For easy search nodes use Administration Views module. Module add search field in pages list.

How do I load a custom stylesheet based on the selection on a splash page?

When my visitors arrive at my site, they'll be greeted by a splash page with a sort of "theme selection." When they select the theme, they'll be redirected to the actual site, which would load the appropriate external stylesheet based on their selection. To do so, I'd like to avoid using radio buttons; instead, just a clickable link.
on clicked link send a flag concatenated with URL and on the landing page select the stylesheet according to the flag recieved. and if needed later, save it in session or coockies for latter calls as well.

Will this get Search Engines to index my content?

I have a classifieds website...
The classifieds are displayed in a dynamic php page.
For instance, if one searches for "bmw m3" in the form (which is in index.html) and submits, then a php page will appear showing results.
The php page called results.php, connects to mysql databases and fetches the information, and puts them in a table, and then outputs the table using a simple echo command.
<body>
echo $table;
</body>
The classifieds shown in the table above, are all just "headlines", so when clicking one classified to view all details, then another php page opens called ad.php.
Here I fetch the ad_id and then fetch all details from MySql, and show to the users.
Now, if somebody doesn't like filling out forms (for example google crawlers, or also users), I have all categories on my site at the bottom of index.html. Users may click these and then the results.php page appears, showing all results in that category.
Offcourse I also have a sitemap which consists of all classifieds, and is dynamic.
My problem is, so far, none of my classifieds have been indexed.
My question is, is a sitemap.xml with all classifieds in it, as well as a link to the results.php page for each category enough for Search Engines to index the classifieds?
What else do I need to do?
FYI: I use mod rewrite to rewrite urls, so in this case I have a rule which makes the original link to details of a classified:
www.domain.com/ad.php?ad_id=bmw_m3_249244
INTO:
www.domain.com/ads/bmw_m3_249244
And it is the rewritten URL I have in my sitemap.
Thanks
Have you submitted your sitemap.xml to the search engines? or specified it in the robots.txt?
Link below explains.
http://en.wikipedia.org/wiki/Sitemaps
From what you have described , Google shouldnt have any problem indexing your pages. There are maybe other things involved. For instance if the links to the category pages and classified pages are done with Javascript, google will not index that. How long have your pages been online? Does the main page show up in google search?

Categories