How to create a link in a apex-pl/sql-region? - oracle

for a Application in Apex i want to create some links with the htp-class with the properties:
The link must refers to a internal page of the app.
If the Link is clicked, i want to set the value of a "hidden-item" in the refered page
Some ideas?
greetings

Please, read the following documentation chapter: Understanding URL Syntax. It will answer on both of your questions.
some links with the htp-class
I don't know what is htp-class. May be, you mean HTP package or HTML class attribute.
Just want to note that you can use built-in capabilities of such APEX components like Reports and Lists to generate links to the pages of your app including item values setting. Here are the links to the docs: Lists, Column Link in IR, Column Link in Classic Report.
Good luck,
Alex

Related

How to load a specific number of records per page and add an more button

On my page I would like to output all records of a specific folder
but the number should initially be limited to a certain quantity (to reduce the loading times). With a "Load more" button further records should be loaded.
Does anyone have a hint on how I can achieve this?
I have already found several approaches on the web in connection with AJAX, but since I'm not familiar with this yet, more questions than answers have emerged ...
For info: I use an own Template Extension / Distribution under Typo3 9.5.8
Thank you in advance for any help!!
The state of the art solution is the AJAX solution, where you load only the required records from the server and modify the page on the fly.
Another option would be an URL parameter which is evaluated by your extension.
With the parameter the full list is shown,
without only the first N and a button with the link to the same URL including the parameter for the full list.
Make sure the paramter is handled correctly and generates another cached version of the page. (keywords: cHash)
As you now have two pages with partially identical content: don't forget to tell the searchengines that the short variant should not be indexed.
You could use the Paginate Widget like documented here: https://docs.typo3.org/other/typo3/view-helper-reference/9.5/en-us/typo3/fluid/latest/Widget/Paginate.html
By overriding the paginate template file and only rendering the pagination.nextPage link, you could load the nextpage via AJAX.

Shopware get mainnumber from article

I need to get some attributes from the main article of an article variant. An example:
The user got article SW1234.4 selected. The shop should show the attribute "test" from the main article SW1234 and not from the variant SW1234.4.
I´m thinking about some smarty var with {$sArticle.mainnumber.attr4}
How is this possible?
you should try "{debug}" at first. (Enable popups!)
Now you can see which variables you have access to, maybe the information you are looking for is already stored in a smarty variable.
The Other way would be a custom Plugin which does a select on your articles table and gets the desired information which you than can assign to your view.
e.g.
$this->View()->assign($varname, $value);
I know my reply is a little late, but I am new to this website as a contributer.
Which Shopware Version?
Are u using the responsive theme?
Please provide a little more information. :)

How can I reference elements between different parts of the documentation?

Say I have a normal documentation part and additionally a glossar, both build in the same sphinx project.
Is there a way to link a word with let's say a headline on another page without using a normal static link?
If there is no other way than a static link, is there a possibility to introduce IDs?
You can create a link to any spot in your project using cross references. For example:
.. _my-reference-label:
Section to cross-reference
--------------------------
This is the text of the section.
It refers to the section itself, see :ref:`my-reference-label`.

Retrieve the content of a section via MediaWiki API

I have a MediaWiki page set up in my company's intranet.
I would like to get the content of a section in a specific page using MediaWiki API (through AJAX).
I would like to refer to the section by its title like 'General' and refer to the page by its title as well, like 'Licenses'.
Is it possible somehow?
The only thing I could achieve is referring to the page by its title and refer to the section by a number like this:
http://mywiki.local/wiki/api.php?format=xml&action=parse&prop=text&page=Licenses&section=1
But let's say I create a new section before 'General' I would have to update all my AJAX URLs that queries this page. So this isn't good enough.
I couldn't find any working solution for this. Any ideas?
You can do this by first retrieving prop=sections to get the list of sections and their numbers:
http://en.wikipedia.org/w/api.php?format=xml&action=parse&prop=sections&page=License
Then make your original request, with the section number you figured out based on the previous request.
Keep in mind that two different sections can have the same name.

What is the way to show small part of an article and make it open with read more link in codeigniter?

I am a newbie coder. I have learned a lot in the few weeks. Now I am making my blog site.
What I want is , show the limited part of 6 or 8 articles in the content div and make a read more link to show the article.
Can you tell me a way to do it?
Load the string helper and use the word_limiter, character_limiter (google for docs)
Or, contain a paragraph called "Summary" (varchar(255)) different to your main "Content" field (TEXT).
Initially load string helper and do as follows
word_limiter("data",limit);
You can check it here

Resources