Jump to content

[IPS4] Tutorials


Recommended Posts

8 minutes ago, SDT said:

I have made it available to certain user to create tutorials from the front end. The security auditor has pointed out this flaw

You mean the tutorial content when you create a tutorial?

EDIT: ah ok, DESCRIPTION is a field in the tutorial post screen.

Taking a look on it now.

Edited by Adriano Faria
Link to comment
1 hour ago, Adriano Faria said:

It doesn't refreshed because you deleted it manually in the table, which isn't recommended. Run the query:


update tutorials_articles set a_comments = X where a_id = Y;

where:

  • X is the number of comments you want to keep
  • Y is the tutorial ID 
Manually very difficult to handle. A large amount of material in the application.
Link to comment
  • 1 month later...
1 minute ago, Pedro Ibáñez said:

1 - How to translate this words I don't find them in the location section

c_ordering_author and a_container lang bits.

1 minute ago, Pedro Ibáñez said:

2 - There is posible to change the template of tutorials?

Of course. You're free to do whatever you want in the ACP -> Customization.

Link to comment
1 hour ago, Adriano Faria said:

c_ordering_author and a_container lang bits.

1 hour ago, Pedro Ibáñez said:

Working, thanks!

1 hour ago, Adriano Faria said:

Of course. You're free to do whatever you want in the ACP -> Customization.

And do you have any template I can buy or do you now any template to buy compatible with tutorials?

Link to comment
  • 1 month later...
  • 1 month later...
  • 1 month later...
16 hours ago, tommax said:

Hello,

I have a problem with the editor: indent between lines in the article is more than it shows in the editor. In the remaining sections everything is fine. The problem is only with Tutorials. How to fix it?

First screen - article. Second screen - editor.

Did you test in default theme?

They look the same in to me:

- Topic:

Orj1XFf.jpg

- Article:

avmaz0e.jpg

Text copied from the URL: https://www.lipsum.com/

Anyway, that's the HTML with CSS classes used in Tutorials for this specific part:

	<div class='ipsColumns ipsColumns_collapsePhone ipsBox'>
		<article class='ipsColumn ipsColumn_fluid'>
			<div class='ipsPad'>
				{{if $article->desc}}
					<h2 class='ipsType_sectionHead'>{lang="a_desc"}</h2>
				{{endif}}
				<section class='ipsType_normal ipsSpacer_top'>
					<div itemprop='text' data-controller='core.front.core.lightboxedImages'>
						{{if $article->desc}}
							<em>{$article->desc}</em>
							<hr class='ipsHr'>	
						{{endif}}
						
						{{if $article->thumb}}
							<div class="cTutorial_image">
								<img class="ipsImage ipsThumb_tiny ipsImage_thumbnailed" src="{file="$article->thumb" extension="tutorials_Image"}">
							</div>
						{{endif}}
						
						{$article->content|raw}
					</div>

I'd suggest you to compare CSS classes between default and your theme.

Link to comment
21 minutes ago, Adriano Faria said:

I'd suggest you to compare CSS classes between default and your theme.

I'll test Tutotial in default theme and problem not resolve. :(

On the default theme for some reason, the gaps between the lines are displayed.

horrorterritory.com/tutorials/article/1-intervyu-s-prodyuserami-resident-evil-2-remake-kadzunori-kadoi-i-cuyosi-kanda/

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...