xoops forums

Forum Index


Board index » All Posts




Mamba

Moderator
Posted on: 2/17 19:25
Mamba
Mamba (Show more)
Moderator
Posts: 10517
Since: 2004/4/23
#1

Re: Example of Using Vue.js in Blocks

Thank you!
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs


Bleekk

Theme Designer
Posted on: 2/17 10:03
Bleekk
Bleekk (Show more)
Theme Designer
Posts: 928
Since: 2002/12/14
#2

Re: Example of Using Vue.js in Blocks

Be aware that the css in this code can break your design.
I have changed 2 lines to prevent this:

added a class to the ul tag
<ul class="gh-li"
    <
li v-for="record in commits">


changed css to
.gh-li li 
  
line-height1.5em
  
margin-bottom20px
}


Mamba

Moderator
Posted on: 2/15 9:29
Mamba
Mamba (Show more)
Moderator
Posts: 10517
Since: 2004/4/23
#3

Re: Smarty error: unable to read resource: "db:ct_index.tpl"

Not a problem. We are here to help!
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs


Moonrakre

Just popping in
Posted on: 2/14 14:56
Moonrakre
Moonrakre (Show more)
Just popping in
Posts: 30
Since: 2005/12/6
#4

Re: Smarty error: unable to read resource: "db:ct_index.tpl"

OK Sorted - I failed to notice that there is an update available and that has cleared the error.

Please accept my apologies for wasting your time.

Best wishes

Adrian


Moonrakre

Just popping in
Posted on: 2/14 13:28
Moonrakre
Moonrakre (Show more)
Just popping in
Posts: 30
Since: 2005/12/6
#5

Re: Smarty error: unable to read resource: "db:ct_index.tpl"

I have now found ct_index.tpl in modules/content/templates. So where is the system trying to find it and how can I get it to look in the content/templates folder?

Best wishes

Adrian


Moonrakre

Just popping in
Posted on: 2/14 12:30
Moonrakre
Moonrakre (Show more)
Just popping in
Posts: 30
Since: 2005/12/6
#6

Smarty error: unable to read resource: "db:ct_index.tpl"

I am upgrading a site from a very old Xoops to 2.5.9. So far good, but I am now trying to get the Content module to work, but I am getting this message in the debug window:
Warning: Smarty error: unable to read resource: "db:ct_index.tpl" in file class/smarty/Smarty.class.php line 1100

The content page is white screen i.e. it is not displaying the content.

That line 110 is just an error message creator, so I can't see what caused it.

I have downloaded the content module from Github following a link given to me by Mambo (thank you). I can get to modify pages using TinyMCE but when I go to view them I get this error.

I can't find references to ct_index.tpl neither can I find a file of that name. I can find references to ct_index.html in the content module files index.php and xoops_version.php. So I can't see why it is trying to load this .tpl file.

I don't know what to do to overcome this issue, so any suggestions would be most welcome, please.

Best wishes

Adrian


Mamba

Moderator
Posted on: 2/14 2:08
Mamba
Mamba (Show more)
Moderator
Posts: 10517
Since: 2004/4/23
#7

Re: xSimplegrid

Ok, got it!

Thank you!
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs


sabahan

Quite a regular
Posted on: 2/14 1:38
sabahan
sabahan (Show more)
Quite a regular
Posts: 317
Since: 2006/3/4 5
#8

XOOPS Poll : How to redirect to poll page after voting in block ?

Hi

Im using the xoopspoll module

https://github.com/XoopsModules25x/xoopspoll

Let say i have activated the single poll block in main page...

i need user to be redirected to pollresults.php?poll_id=xxx after voting

Help please..

Thank you


ghia

Community Support Member
Posted on: 2/13 8:59
ghia
ghia (Show more)
Community Support Member
Posts: 4954
Since: 2008/7/3 1
#9

Re: xSimplegrid

Already did, see the thread.


Mamba

Moderator
Posted on: 2/13 7:25
Mamba
Mamba (Show more)
Moderator
Posts: 10517
Since: 2004/4/23
#10

Re: xSimplegrid

Ghia, can you share your solution, so we can learn from it?

Thanks!
Support XOOPS => DONATE
Use 2.5.9 | Docs | Modules | Bugs



TopTop
(1) 2 3 4 ... 29160 »