-
Posts
295 -
Joined
-
Last visited
-
Days Won
5
Posts posted by Luis
-
-
Its still working, some nice folks purchased a copy
- 1
-
thank you adrian for providing support.
I can only apologise, I hardly find time to update or work on my published modules. However, they are on Git, so you easily could fork them or do a commit.
regards
EDIT: The module now needs permission 'analytics-view'
- 1
-
Thank you Fenton.
@Marc: I´m really sorry for my late response, looks to me like I have to rework the output in the foreach loop to let it look like the Piwik way.
Maybe you could take a look into the Git Repo, I hardly could find time.
-
Hi Horst,
thank you for testing and for the links to stack and mysql.
Weird thingy.
Well, got to look how to solve this.
-
Hi,
got a little problem with a float field.
Precision is set to 2.
If i input numbers > 10 000 the field rounds to 0 decimals.
e.g. i set the field to 10000.95 it saves 10001
Rounding numbers smaller than 10000 works perfect, so 9999.91 is saved as 9999.91
any ideas?
-
Hey Marc,
could you please provide a screenshot comparing this behavior on both, piwik dash and PWpiwik.
Thank you in advance
-
Mhhhhh this calendar is only able to visualize a textlink. I don't know if the JaveScript is flexible enough to suit your needs on this.
I will take a look the next days, ok?
-
Hey Pitbull,
my files won´t help you on this issue.
The calendar picture I´ve posted above shows the integration in one of my apps. It generates his entries from various pages, so posting the code will even more confuse you.
Let´s try to find a solution for your problem.
On the very first, delete all calendar related code from your template.
Now, include the appropriate css files and jquery in your head.inc.
Put the HTML code inside your calendar.php and throw the getEvens() function under the html.
After finishing this step, put the JavaScript function under the php part, within the calendar.php.
-
open your foot.inc and compare line 91 with the posted javaScript in my tutorial. (hint: it has to do with getEvents() )
-
Please read carefully trough the tut.
The JavaScript to call the Calendar has to be placed under the getEvents() function.
-
did you include the javascript in your foot.inc ?
-
Sorry Pitbull,
wrote the snippet on my Phone.
The snippet I posted has to be placed inside the getEvents() function.
So change your code to this and send me feedback if its working:
function getEvents(){ $days = wire('pages')->get("/calendar/")->children("sort=title"); foreach ($days as $day) { echo "'$day->title' : '"; echo "<span><p>"; $events = $day->children("sort=created"); foreach ($events as $event) { echo $event->title.' '; } echo "</p></span>"; echo "', \n"; } }
-
@Pitbull:
could you please try this snippet:
foreach ($days as $day) { echo "'$day->title' : '"; echo "<span><p>"; $events = $day->children("sort=created"); foreach ($events as $event) { echo $event->title' '; } echo "</p></span>"; echo "', \n"; }
-
Congrats
- 1
-
My quick answer for scaling: http://processwire.com/talk/topic/3358-managing-large-sets-of-pages/#entry33156
-
TB let you customize your package easily via checkboxes. No need of styled buttons? No deal, just drop them and so on
-
pushed a new version. Problem should be fixed
- 1
-
I love the name
- 2
-
Marty,
this could easily be done with PW API.
If you need help just hit me a line.
-
strange,
for understanding, your use case:
User is in a PW environment and clicks on a link which sets a get variable to logout=1.
After logging the user out you want to perform an redirect to the login page.
So, you set up the following:
template file with the logout button.
<? if($input->logout) logout and redirect ?>
<html><head>etc..
<a href="?logout=1">
Did I understood right?
-
Do you perform the redirect before any html markup?
Make sure that the logout handler is called before <html>
-
In which System do you want to perform the logout?
Pw or Wp?
-
Why dont you call a pw page with this get variable?
Sth. like <?= $pages->get(1)->url ?>?logout=1
-
This sounds like a good idea.
Will put your suggestion on my roadmap. But please don´t expect Version 1.1 soon. Never been busier before.I didn´t even find time to update my modules.
Strange 403 Forbidden calling the assets/files folder
in General Support
Posted
Howdie folks,
i´m setting up a multisite with global module and global template folder.
Most of the page render depends on $input->get, templates are delegated via
Template delegation happens in a controller.php named file on which this piece of code:
returns the 403 Forbidden, but only if i´m on the homepage and no other page data is called based on a get variable.
Short overview regarding the multisite setup:
Index.php in root:
index.config.php:
I started with deleting all restrictions in .htacces, but this wasnt a success.
EDIT:
Creating the url by hand will serve the file, but without the abillity to access the imageClass methods