31
sova
Re: use smartys in theme
  • 2014/1/9 8:44

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Hi
Quote:

Bleekk wrote:
xnews smarty works a little bit different

<{xnews_latest ret='image' topic='25'}> returns a image link
<a href="path_to_article"><img src="image.jpg"/></a>


<{xnews_latest ret='title'}> returns a link
<a href="path_to_article">article title</a>

Explain more precisely?

----------------------------

This work is being done?
For example,
<div id="latest-news">
<{
xnews_latest topic='2'}>
<{
xnews_latest ret='image' width='80'px height='80'px}>
<{
xnews_latest ret='title' ch='85'}>
<{
xnews_latest ret='text' ch='220'}>
</
div>


ch => Characters



32
sova
Re: use smartys in theme
  • 2014/1/9 4:28

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


does not work
I'm using this code:
<{xnews_latest ret='image' topic='25'}>
<{xnews_latest ret='title' topic='25'}>
in theme
But what it does show.



33
sova
Re: use smartys in theme
  • 2014/1/8 11:15

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


is It smarty, the latest news shows?
Do can display a category's latest news?

==============================
Excuse me.
I can not speak English well.
I get help from Google Translate.



34
sova
Re: XOOPS, life or death
  • 2014/1/8 7:31

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Thank you, Dear Mamba
Nice landscape.
But in reality, most Support sites were inactive. And that means lower user
For example:
in Persian site supports, Until a few years ago, many users were active and their website launched with XOOPS. But now we have two Or three people active.
XOOPS Arabic site that is totally disabled. And other sites ...

Is this not worrying?


=============================
Excuse me.
I can not speak English well.
I get help from Google Translate.




35
sova
XOOPS, life or death
  • 2014/1/7 10:19

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


first, Please read all of this and Do not take a hasty decision.
My intention is not to destroy XOOPS.Because I like to XOOPS, I'm worried.
I have a few simple questions:
XOOPS has grown in the past few years?
XOOPS is able to attract the powerful people?
XOOPS could go on the Roadmap? (Final Version: March 2013)

My intention is not to insult XOOPS managers.
But it was better if did not allow the separation of the ????? and XOOPS Engine ?
Check right now the all supported sites.
http://www.arabxoops.com/
http://www.xoops.ir/
http://www.xoopsnordic.org
http://www.xoops.pl/
http://xoops.ru
And ...

all the these sites are inactive Or Low activity.

with these terms, is hope for the XOOPS future?

Please talk logic, not emotion


=============================
Excuse me to All.
I can not speak English well.
I get help from Google Translate.



36
sova
Re: use smartys in theme
  • 2014/1/5 12:21

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


I say writing For all modules



37
sova
Re: use smartys in theme
  • 2014/1/5 10:20

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Quote:

Bleekk wrote:
I have created a smarty for you to get the title or image from the latest publisher article.

Please download this one
Unzip it and put it in following folder 'class/smarty/xoops_plugins/'

Now can use this smarty wherever you want in your theme

For image url:
<{publisher_latest}>
or
<{
publisher_latest ret='image'}>


For the article title:
<{publisher_latest ret='title'}>


Let me know if it works


Thank you Dear Bleekk.
Of This Smartys for all modules



38
sova
Re: use smartys in theme
  • 2014/1/4 4:24

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Thank you Dear Bleekk
But I just did exactly the same thing
The problem is here:
Sometimes it's necessary to put a block used in several places, But in different ways.
In such situations it is best to use the Smarty

How to use these in Theme?
<{$item.title}>
<{$item.text}>
<{$newitems.poster}>
<{$article.image}>

can I use this code in Theme?
<{foreach item=newitems modules=publisher}>
Or something similar

===============
Excuse me to All.
I can not speak English well.
I get help from Google Translate.



39
sova
Re: use smartys in theme
  • 2014/1/2 6:55

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


This is what I've mentioned above, the most common use of the solar system
All systems go for the user's convenience
You can compare the position of these systems:
Wordpress vs. XOOPS
Joomla vs. XOOPS
PHP-Nuke vs. XOOPS (PHP-Nuke is a source of XOOPS)
12 years wasn'' t Time low?
XOOPS is still not as pervasive as in other systems.

What is our sin that we love XOOPS? And we do not know programming!

But I know someone does not answer my questions

===============
Excuse me to All.
I can not speak English well.
I get help from Google Translate.



40
sova
Re: use smartys in theme
  • 2014/1/1 19:02

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Who can not help me?




TopTop
« 1 2 3 (4) 5 6 7 ... 14 »



Login

Who's Online

235 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 235


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits