Links to Backward or Forward a PHP Query result - next

I have a ticket support system based on mysql/php, and when i open a ticket i have the result:
viewticket.php?invoice=28756
What code/script can i use to add two links (or buttons) to move forward ou backward? (to go to the last or next ticket)
Thanks,
Sandro

Related

SharePoint 2010: Site Content and Structure copy/move is disabled

I want to copy (or move) a list (or a library) from one website to another:
From: https ://sp.mydomain.de/Website1
To: https ://sp.mydomain.de/Website2
When calling Site Content and Structure (https: //sp.mydomain.de/_layouts/sitemanager.aspx) and navigatin to Website1 I can select the list which I want to move.
In the menu action I only can select "delete" - not "copy" or "move" (grayed out).
I am doing this as the site admin (and tried site collection manager etc.)
http://imageshack.com/a/img823/258/oqlj.png
Why are these menu elements not available?
Best regards,
Stefan
This forumpost on Social Technet is about the same problem you are facing and in the answers are several options you can try out. One answer that got my attention stated following:
The move action is available only for individual items you can't perform move action for document library or for folder instead of move you can perform that using extension from gary lapointe http://stsadm.blogspot.com/2007/08/stsadm-commands_09.html gl-exportlist command.
This is the last answer on the page. I hope this is of any help!

Moving Lists in SharePoint

Does anyone know how I can move a list from one sub site to another, but retaining all content, including version history?
Saving as a template doesn't work, I'm not able to use sitemanager.aspx, as my company has a policy to have Publishing Infrastructure de-activated.
Any ideas?
Hi Please do this which is the most effective way to get your requirements done.
geekswithblogs.net/AnneBougie/archive/2009/01/23/copy-a-sharepoint-list.aspx
geekswithblogs.net/AnneBougie/archive/2009/03/15/part-2-copy-a-sharepoint-list-programmatically.aspx
Just create a web part that can sit on the site with two controls where a user can type in a list name and press a button and inside the web part code you can copy and paste the list with exactly same contents to a required location.
Hope this helps you..

Filter sharepoint content

I need to filter the content in all the pages according to user selections. there should be one control to select different parameters like country, branch and location. page content should change according to user selected values throughout site even user navigate to other pages or subsites. When user closes his/her browser and comes back he/she has to see the content according to most recent selections.
Thanks in advance.
There are no out of the box components that will help you do exactly what you want. The closest you can get to is using the Audience Targeting feature. Kept to simple scenarios, this feature can provide a lot of mileage.
I recommend writing a custom webpart/feature for sharepoint. Depending on your policy at work the last part may not be possible to implement.
When user closes his/her browser and comes back he/she has to see the content according to most recent selections.

How can I get rid of the "Close" button in SharePoint?

I need to give access to users to some Reports History (Reporting Services snapshots lists, under http://SEVERNAME//Reports/_layouts/ReportServer/ReportHistory.aspx?list={REPORTID} but they shouldn't access and navigate the Report Library to do so.
A Links List did the trick to direct the users to the reports and their reports history, the problem comes when they hit the Close button in the Reports History page: it redirects to an upper level (the Report Library users weren't supposed to see...)
Is there any way I can get rid of "Close" (or change its function)?
Thanks in advance!
One approach you could take is to just go into 12\TEMPLATE\LAYOUTS\ReportServer and try and edit ReportHistory.aspx to get rid of the close link.
Try and find a unique identifier of the close button or table cell that contains it and add a "visibility:hidden;" to it to hide from the user.
Don't go editing the out of the box files from Microsoft or your sharepoint will be in an unsupported state and woe will be yours!

How to use Trac like JIRA

I have been using JIRA for the past 15 months, and now I find myself on a project that is using Trac. How do I look up a ticket just by the ticket number in Trac? I am use to just typing the ticket value in the upper right hand side of JIRA and it finding that one ticket. I tried the same thing in Trac and was not so lucky.
Can't you just put it on the URL?
Alternatively, search for the ticket - put a # in front of the ticket number and you're good to go. Other options are available too:
For quick access to various project
resources, the quick-search field at
the top of every page can be used to
enter a wiki link, which will take you
directly to the resource identified by
that link.
For example:
* [42] -- Opens change set 42
* #42 -- Opens ticket number 42
* {1} -- Opens report 1
* /trunk -- Opens the browser for the trunk directory
eg. http://trac.edgewall.org/ticket/8199

Resources